Ceev & Yooj yim: Tsim ib tug ntawv tais ceev tseg thiab cob ib txheej yam (Los sis, Muaj koj KPIs thiab cov noj tau thiab)

Yuav kom ua num nyob ib ncig ntawm qhov teeb meem KPI Kuv thiaj sau txog no, Kuv puas tau ib co los soj ntsuam thiab sab ntawd KPI ua hauj lwm rau cov folders uas muaj ntaub ntawv meta tib hais tias lawv ua hauj lwm cov ntaub ntawv los teev. Kuv proved nws tawm los ntawm txoj kev kom cov ib yam tshiab nyob rau hauv daim nplaub tshev cov hom thiab ntxiv ob peb teb. Kuv tsim ib co indicators, As thiab proved rau kuv tus kheej tias KPIs ua hauj lwm raws li tau leej twg. Qhov no yog xov xwm txais tos. Yog tsis zoo meej, vim cov laum-down koj tau los ntawm lub KPI tiv thaiv cov folders yog tsis raws nraim koj xav li cas. Qhov no tsis yog noj ntau dhau ib drawback hauv kuv tsev neeg vim 1) rau cov neeg siv tag tsis paub lus zoo thiab 2) laum-down mus rau ib lub tais ceev tseg. Lawv nias lub nplaub tshev Npe thiab nyob rau tom qhov khoom. Nws yog ob tug clicks txhob siv ib tug, uas tsis yog rau thaum xaus rau lub ntiaj teb no.

Qhov no ntws ntawm nicely nrog cov ua hauj lwm uas kuv tau ua. Kuv yuav tsim ib tug ntawv tais ceev tseg rau txhua daim ntawv uas tau txais uploaded. Qhov no yog ua li cas rau ntawm ib qho kev tshwm sim receiver. Yog li ntawd, Nws yog ib daim ntawm ncuav mog qab zib kom txhob muaj qhov niam txiv sis meta cov ntaub ntawv nyob rau hauv cov sync uas muaj cov ntaub ntawv meta KPI-uas tau tsav ntawv xwb vim cov kais dej yog twb nyob rau hauv qhov chaw. Qhov no tso cai rau kuv muaj kuv tus KPI thiab yuav noj tau ib yam nkaus thiab 🙂

Cov kev tshwm sim receiver ntxiv lub sis thiab ces koj muab no nplaub tshev tus tshiab cov hom los kuv kev cai KPI hauv chav ntawv kawm yam hloov kuv. Chaws no me ntsis puas tau qhov ua kom yuam kev:

 SPFolderCollection srcFolders = targetWeb.GetFolder("Cov ntaub ntawv").SubFolders;
  SPFolder addedFolder = srcFolders.Add(zog.ListItem.ID.ToString());
  SPContentTypeId kpiCT = tshiab SPContentTypeId("0x0120002A666CAA9176DC4AA8CBAA9DC6B4039F");
  addedFolder.Item["Cov hom ID"] = kpiCT;
  addedFolder.Item.Update();

Los nrhiav lub txoos cov hom ID, Accessed ntawd hom kawm ntawd ntawm qhov chaw thiab luam/Document nws los ntawm qhov URL li:

duab

</kawg>

Subscribe rau kuv blog!

Ntawv cim npe Technorati: ,

Txoj kev sai thiab yooj yim: Tau qhov SPFolder ntawm kev SPListItem nyob hauv ib lub Receiver Event

Kuv yuav lees nws ntxub, tab sis kuv struggled nrog no ib txhua hnub. Kuv caij receiver kev hloov ntawm cov niam txiv sis teb. Qhov no tshuav me me qhia tau hais tias yuav ua li cas:

lwm yam khoob lug UpdateParentFolder(SPItemEventProperties khoom)
{

SPFolder thisItemFolder = zog.ListItem.File.ParentFolder;
thisItemFolder.Item["ZZ pom zoo lawv"] = "Xov zoo, sawv daws!";
thisItemFolder.Item.Update();


} // UpdateParentFolder

Qhov no, Kuv tabtom ua hauj lwm nrog rau ib daim ntawv qiv ntawv thiab cov khoom los yog ib qho kev tshwm sim hauv ItemAdded.

Qhov ua kom yuam kev yog tias tsis tau qhov SPFolder ntawm yam khoom no ntawm yam khoom no xwb (i.e. zog.Yog thov ListItem.Folder). Xwb, mus saib daim ntawv teev khoom txoj kab ntaub ntawv thiab muab cov ntaub ntawv ceev.

</kawg>

Subscribe rau kuv blog!

Ntawv cim npe Technorati:

Tsis tau lwm yam kev tshwm sim Receiver Debug ua kom yuam kev

Kuv kom kuv kuj tsis yog thawj tug neeg tuaj txog qhov nov. Txawm li cas los, Kuv tsis pom leej twg luam tawm tsab ib ua kom yuam kev li no vim kuv pib hmoog kaw rau lub zej zog lub Xya Hli Ntuj tas los no. Li ntawd, Kuv xav tias kuv yuav tswg nws no lub taub debug txoj kev sai thiab yooj yim.

Kuv tabtom ua hauj lwm rau hauv ib qho kev tshwm sim receiver uas pib Meskas no yuam kev hauv lub 12 nas muv:

Yuam kev chaw thau khoom thiab khiav cov kev tshwm sim receiver Conchango.xyzzyEventReceiver nyob xyzzy, Version = 1.0.0.0, Culture = nruab nrab, PublicKeyToken = blahbalhbalh. Xav paub ntxiv hauv qab no yog. : Kwv siv tsis tau teem rau kev lom los ntawm ib tug kwv.

Kuv tsis paub qhov twg kuv twb nkag tau no tiam sis vim kuv tau ua ntau yam hauv ib qhov ntawm kuv qhov chaws/deploy/kuaj mus.

Kuv sim cov tshuaj no tau txais kuv cov pdb nyob rau ntawd nrog hopes ntawd SharePoint 12 nas muv yuav qhia rau cov pawg ib txoj lw, tab sis tsis muaj hmoo. Kuv tsis paub tias yog tau thiab yog hais tias ib tug neeg twg, thov qhia rau kuv paub 🙂

Kuv paub tias nws puas yuav tau mus sau ntawv rau koj tus kheej mus sib cav ntawm 12 nas muv. Frankly, Kuv xav tej yam tsawg me ntsis scary thiab kom muaj kev cuam sai.

Nws pom kuv tias kuv kawg tau ib cov lus sau ib txoj lw los tuag thiab rov ntuav generic ntxiv li no:

  ua tiag {
    UpdateEditionDate(khoom);
  }
  ntes (Kos e)
  {
    pov tshiab Kos("Dispatcher, UpdateEditionDate(): Kos: [" + e.ToString() + "].");
  }

Qhov no kuj nyob hauv lub 12 hive thusly:

Yuam kev chaw thau khoom thiab khiav cov kev tshwm sim receiver Conchango.xyzzyEventReceiver nyob xyzzy, Version = 1.0.0.0, Culture = nruab nrab, PublicKeyToken = blahblahblah. Xav paub ntxiv hauv qab no yog. : Dispatcher, UpdateEditionDate(): Kos: [System.NullReferenceException: Kwv siv tsis tau teem rau kev lom los ntawm ib tug kwv. tom Conchango.xyzzyManagementEventReceiver.UpdateEditionDate(SPItemEventProperties zog) tom Conchango.xyzzyManagementEventReceiver.Dispatcher(SPItemEventProperties zog, Txoj hlua eventDescription)].

Uas tau muab kuv nthuav dav kuv tau teev cia tias xyov qhov teeb meem thiab kuv cia siab tias yuav siv heev mus rau pem hauv ntej.

</kawg>

Subscribe rau kuv blog!

Ntawv cim npe Technorati: ,

Sunday Funny: “TSIS TAU EXPORT”

Rov qab los ncig 1998, lub tuam txhab kuv puas tau ua rau lub sij hawm tau txais tej nyiaj pab los ua qhov e-lag luam khoom tshiab. Peb muaj cov gamut daim ntawv qhia txog ntawm cov lag luam yuav tsum mus ntsib. Nws yuav tsum tau ceev, yooj yim rau cov neeg siv cov kev xaus, flashy, multi-Language, yam. Tu siab hais, Kuv ntshe tsis muaj li ib txheej nquag ua hauj lwm yuav ua kom tiav txhua hnub txij li thaum cov hnub uas koj heady.

Tos zog no tham Microsoft.NET. Dawb vanilla ASP yog tseem tshiab dog dig (yog kawg yog kawg txawv rau kuv niaj hnub). "Cib thiab tshuaj khib" doomed tuam txhab uas muag tau. Doomed! Qhov no yog hais tias nws yog pioneering ua hauj lwm. Tsis Hadron Collider pioneering ua, tab sis, peb nyob hauv peb lub neej me ntsis, Nws yog pioneering ua hauj lwm.

Peb twb vwm tibneeg hu tauj coob. Peb ua dabtsi mini POC tus yuav luag txhua txhua hnub, koj khom lub tsheb tawm npaum li cas los tuav lub xeev nyob rau hauv nruab nrab ib inherently stateless, koj khom lub tsheb tawm tej lus teeb meem, kab duas ruaj ntseg. Peb txawm tau tsim ib cov lus los txhais tau cov ntsiab lus uas yooj yim (Kuv xeev-pheej najnpawb, tiam sis vim, qhov ua tau txawv txawv "statefull" yeej muaj ib hnub).

Raws li peb tau madly inventing cov khoom no, neeg li cas thiab muag tau tias muaj ua muag rau nws. Cas, lawv muag rau peb tus npau suav phem scenario tswj. Txawm tias peb twb vim thiab siv ib cov tshuaj enterprise, peb yeej tsis xav kom cov thawj neeg siv txhua hnub peb los ua rau cov khoom hnub xoom feature. Cov neeg no yuav tsum tau tej lus, ib interface neeg radically sib txawv ntawm "txuj hauv" lawv tab sis nrog cov lag luam logic tib. Tej lus ntawd nyuaj tshaj qhov no, vim peb ib txwm teem rau lus Mev los sis Fabkis, tab sis qhov no, Nws yog suav (Nws yog ib lub cim ob-byte teev thiab yuav tsum special tuav tau lub tshuab uas peb siv).

Sai rau tom ntej ob peb lub hlis thiab kuv nyob hauv ib Northwest airlines davhlau rau Beijing. Kuv twb tau no tibneeg hu tauj coob npaj yuav mus no txawv tebchaws uas kuv yuav luag tsis muaj lub tswv yim ntawd yog dabtsi xws li mus muaj. Kuv tau nyeem ib phau ntawv ib zaug txog li cas ib tug neeg Miskas lawm hauv Tuam Tshoj ob peb lub xyoo thiab muaj kawm lus. Muaj ib hnub nws mus kev lub nroog thiab kom koj ib txhia lus qhia. Cov kev sib tham mus dab tsi qhov no:

  • Miskas: "Ua koj tau qhia kuv yuav ua li cas thiaj [XX] txoj kev?"
  • Suav: "Thov txim, Peb tsis paub lus Askiv".
  • Miskas: "Huag, zoo kuv hais Mandarin." thiab nws nug lawv dua rau suav, tab sis ntau kom meej meej (nws yuav zoo tshaj plaws li).
  • Suav: Lolus heev, "Thov txim, Peb tsis paub lus Askiv".

Cov kev sib tham mus ua li ntawd rau ntsis thiab cov American tiaj hauv siab. Raws li nws tau tawm hauv lawv nws overheard ib tug txiv neej uas hais lus rau cov, "Kuv kuj yuav muaj sworn nws twb hais qhia rau [XX] txoj kev."

Kuv tau khaws ob peb cov khoom thiab tej daim lwm yam hais txog Tuam Tshoj quasi-qhia thiab "pab tswv yim yuav pab tau":

  • Ib tug Korean puag ua haujlwm qhia rau kuv paub tias qhov kuv qhia kom ceev faj txog suav vim "lawv xav ua kom tau kuv drunk thiab noj kom zoo dua koj" nyob rau hauv lub siab tus pressuring kuv rau hauv cov kev txiav txim siab phem ua lag luam.
  • Peb yeej tsis muaj cai tsav tsheb (muaj tug tej feeb tsis meej raws li tau hais tias qhov no yog ib tug nchuav, muaj txoj cai yuav tsum tau los yog vim tus neeg ntawd txoj cai).
  • Muaj kev tshwj xeeb txoj cai rau kev mus los ntawm tej kev lis kev cai.
  • Peb twb tsis pub siv cov American nyiaj rau tej yam.
  • Koj nyob nraum tsis tsum tawm tswv yim. Nws yog insulting yog hais tias koj ua tau.

Thiab thaum kawg, Kuj yog tshiab tshiab puas tau kuv tus Tiananmen tua neeg pov tseg. Thaum kuv muaj ntawm kev kawm ntawv qib siab, Kuv nco ntsoov mus ntsib real-time Usenet postings li lub ntiaj teb saib hauv ntshai heev.

Hauv ntej, Kuv twb daws poob siab loj heev. Kuv tsis yog cia li qub-tshee nyob rau qhov kev txiav txim zoo uas kuv tau delivering kho uas yog txiav txim of magnitude nyuab tshaj txhua yam uas kuv yuav tsum tau ua ua ntej. Kuv twb tseem ntshai tsam txhaum ib txoj cai uas yuav tau kuv teeb meem ntawd.

Kuv nyob ntawm no 14 teev davhlau thiab tab sis yog nws yog kev kawm ua lag ua luam, 14 teev yog ib lub sij hawm ntev damned. No xwb thiaj li muaj ntau txoj kev uas mus lom zem koj tus kheej los ntawm kev nyeem ntawv, menyuam tsos los ua si nrog cov magnetized cutlery. Txawm tias yeej zoo phau ntawv yog ib qho nyuaj rau cov nyeem rau ob peb teev ncaj.

Nws thiaj li, Kuv pib nyeem cov khoom ntim rau hauv ib daim software uas kuv tau tes-nqa nrog kuv mus rau tus neeg, Neeg rau zaub mov web Netscape tus. Kuv nyeem ntawv yuav tsum kho vajtse/software, li cas rau cov blurbs, saib rau ntawm cov duab zoo nkauj thiab mam li nco dheev, Kuv zero ntawm tus neeg loj heev "tsis rau EXPORT" ceeb toom, tej yam hais txog 128 tom encryption. Kuv cov khoom ua si rau ntawm lub box rov los rau hauv kuv lub hnab raug, lus ceeb toom ntsej muag-down (xws li yog cov uas yuav muaj pab) thiab cia visions of tried Ib tag hmo Express tawm ntawm kuv lub taub hau.

Rov ntsia tom qab rau nws tam sim no, Kuv yuav tsum tau txhawj xeeb, yog kiag li, Thaum twg kuv nco teb chaws, tsis thaum kuv twb yuav mus Tuam Tshoj 🙂 untoward dab tsi tshwm sim thiab kuv tseem xav tias yuav tsum ua hauj lwm zoo thiab tsim nyog nco tshaj nrau kuv twb muaj lub Library uas txiav txim siab.

</kawg>

Subscribe rau kuv blog!

Ntawv cim npe Technorati: ,

Kua: SPQuery tsis nrhiav Folders

Yav tas los lub limtiam uas kuv tau siv lub tswv yim no muaj "evolving" muab rau ib tug neeg uas siv cov BDC thiab cov SPQuery thiab khiav rau tej teeb meem siv SPQuery rau ib daim ntawv uas muaj folders. Ntxaib: cob "recursive" mus saib attribute rau cov lus nug.

Kuv scenario:

  • Hnub Monday, Upload ib daim ntawv thiab muab tej ntaub ntawv no meta.
  • Lub lim tiam li nram no, Kuv upload ib daim ntawv tshiab. Ntau yam ntawm cov ntaub ntawv meta no daim ntawv tus tshiab raws li daim ntawv kuv busy uploaded (uas peb hu tus "npaj ntaub ntawv").
  • Peb thiaj tau tsim lub Web site pab façade uas muab hauv BDC interface rau daim ntawv kom cov neeg siv tau yooj yim nrhiav ntawd hnub ib daim ntawv ntawm lub npe nrhiav.
  • Ib tug ncej tag BDC tej ntaub ntawv qhia tus neeg siv tus phooj ywg interface. (Qhov no yog ib feem ntawm kuv los kom siv BDC rau sab Lookup ntau tus phooj ywg).

Qhov kawg BDC façade kev siv ib cov lus nug li no ua rau lookup:

 // Siv U2U tuam mus pab generating qhov lus nug no CAML.
      oQuery.Query =
        "<Nyob qhov twg>";

      Yog hais tias (titleFilter.Length > 0)
        oQuery.Query  =
          "  <Thiab>";

      oQuery.Query  =
        "    <Thiab>" +
        "      <Geq>" +
        "        <FieldRef Name = yog muaj "DocumentId" />" +
        "        <Value yam = yog muaj "Text">" + minId + "</Tus nqi>" +
        "      </Geq>" +
        "      <Leq>" +
        "        <FieldRef Name = yog muaj "DocumentId" />" +
        "        <Value yam = yog muaj "Text">" + maxId + "</Tus nqi>" +
        "      </Leq>" +
        "    </Thiab>";

      Yog hais tias (titleFilter.Length > 0)
        oQuery.Query  =
          "    <Muaj>" +
          "      <FieldRef Name = yog muaj "Title" />" +
          "      <Value yam = yog muaj "Text">" + titleFilter + "</Tus nqi>" +
          "    </Muaj>" +
          "  </Thiab>";
      oQuery.Query  =
        "</Nyob qhov twg>";

Thaum pib txog theem ntawm kev loj hlob, qhov no ua haujlwm great. Txawm li cas los, peb nkag tau folders rau hauv cov directory yuav kom daws tau tej teeb meem no thiab mam li nco dheev, Kuv tus BDC picker tsis rov qab muaj ntsiab. Kuv tracked no mus ua tus Disease fact tias tus SPQuery yeej tsis rov muaj ntsiab. Peb siv folders los pub ntau yam ntaub ntawv uas muaj lub npe qub los yuav uploaded tab sis meta tej ntaub ntawv uas muaj neeg. Thaum cov ntaub ntawv yog uploaded, peb yuav tsim ib tug ntawv tais ceev tseg raws li daim ntawv teev khoom tus ID thiab mam li tsiv ntawv muaj (Kuv thiaj sau txog ntawd ntawm no; peb twb muaj mixed ntsuam cov kauj, tiam sis ntawm tus kheej, nws zoo zoo). Tus neeg siv tsis care txog folders thiab tiag, tsis tshua to taub tias muaj ntau yam folders. Peb muaj configured tag nrho cov kev views rau lub tsev qiv ntawv los qhia cov khoom s. folders.

Kuv ntaus cov teeb meem no ob zaug raws li cov kev siv evolved thiab solved nws txawv txhua sij hawm. Thawj thawj zaug, Kuv tsis yog siv tus neeg teb xov tooj CONTAINS rau cov lus nug. Tsis muaj ib tug neeg tsav tsheb CONTAINS, Kuv txawm yuav kom daws tau qhov teeb meem los ntawm specifying cov pom hauv lub SPQuery contructor. Tsis txhob siv lub neej ntawd constructor:

Splist.Update() oList = Web site.Teev["Cov ntaub ntawv"];

SPQuery oQuery = tshiab SPQuery();

Kuv txhais xwb ib constructor uas teev ib saib:

Splist.Update() oList = Web site.Teev["Cov ntaub ntawv"];

SPQuery oQuery = tshiab SPQuery(oList.Views["Cov ntawv"]);

Solved qhov teeb meem ntawd thiab yog tau txais kuv tau.

Ces kuv ntxiv hom kab mob tus neeg teb xov tooj CONTAINS ua tus ntse thiab raug dua. Nws puv tawm uas tus neeg teb xov tooj CONTAINS, thiaj li yuav paub kuv, tsis ua hauj lwm nrog rau cov saib tau ib yam nkaus li rau ib cov zauv GEQ / Tswv LEQ. Kuv tau ua ib co searching thiab kawm tias ViewAttributes cov lus nug yuav tsum muab teev cia rau cov "Recursive", raws li nyob rau hauv:

oQuery.ViewAttributes = "Tau = yog muaj"Recursive"";

Uas solved qhov teeb meem rau CONTAINS. qhov tseeb, qhov no kuj solved kuv yuavtsum nrhiav teebmeem thiab yog hais tias kuv yuav tsum teev cov recursive attribute thawj zaug, Kuv yuav tsis tau khiav mus rau hauv lub qhov teeb meem dua.

Tus fact SPQuery Saib kuas rau qee tus tswv xwb (GEQ/LEQ) thiab tsis yog lwm leej lwm tus (MUAJ), coupled nrog cov fact KPIs tsis zoo li mus ua hauj lwm txhua nrog rau nplaub tshev uas muaj ntaub ntawv qiv leads kuv ntseeg hais tias SPQuery muaj tej qhov teeb meem txog orthogonality.

Tsaug tshwj xeeb:

  • Tus zoo folks tom U2U thiab lawv cov lus nug cuab tam.
  • Michael Hoffer tus poj "kev kawm tau los ua" Blog ncej, lus thiab cov lus teb.

</kawg>

Subscribe rau kuv blog!

NTXHUAB KPI kab laum? Daim ntawv teev qhia tau rau daim ntawv qiv nrog Folders Tied

HLOOV TSHIAB 02/29/08: Kuv solved qhov teeb meem no los ntawm kev tsim ib tug ntawv tais ceev tseg thiab mam li muab ib yam txheej rau tus ceev uas muaj cov ntaub ntawv meta kuv yuav tsum tau rau cov KPIs. Kuv piav ntawd nyob me ntsis ntxiv nthuav dav ntawm no.

Peb DVR muaj kev tov uas cov neeg siv upload ntaub ntawv rau ib daim ntawv qiv. Ib qho kev tshwm sim receiver tsim ib directory thiab lawm cov ntaub ntawv ntawd directory (siv ib tug txheej txheem xws li yuav ua li cas kuv thiaj sau txog ntawm no). Peb twb ntse navigated ib ncig ntawm tej teeb meem los ntawm receivers kev tshwm sim uas rename uploaded ntaub ntawv (mas vim cov neeg siv yeej pib cov ntaub ntawv los ntawm txhaj rau "New" tab sis, tsim tus docs Senior xwb thiab mam li upload nws).

Cov ntaub ntawv meta rau cov ntaub ntawv muaj xws li ib tug yog/tsis muaj kev kawm ntawv Kem no hu ua "Urgent" thiab lwm qhov chaw sab hu ua "Txoj cai". Peb yuav tsum mus ntsib ib lub lag luam yuav tsum tau uas muaj qhov feem pua ntawm "Urgent" cov ntaub ntawv cov txheej xwm uas nws tsis tau "Tiav".

Qhov no yog qhov yooj yim mas yuav tau ua thiab kuv yuav piav ib yam dab tsi heev npaum li no nyob rau SharePoint Beagle Cov vijtsam txhaj tshuaj yog hais tias koj xav ntau ntau.

Nyob rau hauv ib lub nutshell, Kuv puas tau qab:

  • Ua kom muaj tus saib ntawm daim ntawv hu ua "Tseem tos seb" doc.
  • Configure tus saib yuav las mees nplaub tshev qauv.
  • Tsim ib daim ntawv teev KPI.
  • Tsim ib qhov kev taw qhia rau hauv daim ntawv teev cov ntsiab lus los ntawm doc lib thiab uas "tseem tos seb" saib.

Qhov no tsuas tsis ua hauj lwm. Tus KPI yuav qhia kuv cov phiaj (e.g. 5 cov ntaub ntawv ceev) tab sis nco ntsoov qhia tseeb pes tsawg tus ceev cov ntaub ntawv li xoom. Paradoxically, Yog hais tias koj mus ua kom paub meej tho, Nws pom tias cov ntaub ntawv ceev tsib nyob rau hauv daim ntawv. Kuv tsim ib scenario yooj yim heev uas muaj ntaub ntawv ob, ib lub sis thiab ib tug tsis. Ntawm no yog qho screen txhaj:

duab

Txhaj tshuaj ntsuam saum toj no kom meej meej pom tias muaj cov ntaub ntawv uas nyob hauv qhov pom tab sis "tus nqi ob" yog ib tug. "CamlSchema cov" nrog rau cov ntaub ntawv dawb paug Id hauv lub hauv paus ceev thiab tsis sib hauv ib nplaub tshev npe hu ua "84".

Nws zoo nkaus li rau kuv tias txawm koj hais ib tug saib kom meej, tus KPI no tsis tsim cov "qhia tag nrho cov khoom tsis muaj folders" qhov chaw kawm thiab xwb, nws tus kheej mus rau lub hauvpaus ceev confines.

Yog kuv tsis ncaj ncees lawm, thov xa kuv ib tug kab los yog cia ib tug saib.

</kawg>

Subscribe rau kuv blog!

Ntawv cim npe Technorati:

SPD Workflow “Sau cov ntaub ntawv los ntawm ib tug neeg”: Hloov daim ntawv ua hauj lwm Generated

Kuv yuav ua hauj lwm rau ib tug yog ib qhov uas siv tsib txawv SharePoint Designer haujlwm tsev tswj tau tej ntaub ntawv approvals. SPD muaj cov "collect ntaub ntawv los ntawm ib tug neeg" ua kom peb tau kiag rau cov khoom sib txawv ntawm cov lus qhia tus neeg siv, xws li seb lawv pom nws, ib co lus thiab tej zaum hais li cas lawv twb noj hmo qhov tsaus ntuj.

Muab cov ntaub ntawv yog haumxeeb txig. Nws yog tied rau ib daim ntawv teev neeg ua hauj lwm raws li ib yam txheej. Lawv yuav 100% lawv-generated. Qhov no yog lawv lub zog thiab tsis muaj zog. Yog peb tau nyob lub neej ntawd daim, ces peb txawj mus. Txawm li cas los, Peb tsis muaj ntau tswj li cas SPD tsim daim. Yog peb tsis nyiam tus cwj pwm vim, Peb xav tau no los ntau tricks mus ncig (Piv txwv, qhov muaj feem thib rau kev ua hauj lwm ib).

Kuv yuav tsum tau muab ib qhov txuas rau cov ntawv ua hauj lwm uas qhib mus rau tus saib zog (dispform.asxp) ntawm qhov "lwm yam khoom" nyob rau hauv lub qhov rais tshiab. Daim ntawv thiab muab ib-nias siv cov ntaub ntawv rau meta yam rau lwm yam khoom. Qhov no yog kuv txhais li cas:

duab

Thankfully, peb yuav ua tau thiab yeej tsis nyuaj heev. Benefit hais lus, hluav taws tuaj SPD, next rau cov directory vaj tse cov ntaub ntawv workflow thiab qhib cov ntaub ntawv ASPX koj xav kom hloov tau txoj kev. Cov no yog ib qho uas nyuam qhuav classic XSL transform qhia thiab yog hais tias koj twb mucked rau itemstyle.xsl, mus nrhiav haujlwm los yog lwm lub scenarios XSL, qhov no thiaj li yooj yim rau koj. qhov tseeb, Kuv pom tias nws yuav yooj yim dua feem ntau vim yog daim generated dog dig yooj yim raws li as compared to muaj ib tug nrhiav tub ntxhais tau Web site qhov (los yog cov nightmarish CWQP).

tau mas, yog ib qho loj pitfall. SPD lub workflow editor expects tas nrho tswj tej ntaub ntawv ntawd. Yog hais tias koj hloov nws, SPD yuav kaj siab lug overwrite koj muab txoj cai tso yam hloov. Kuv puas tau ob ceev kev phem li no yuav tau. Nkawd ob leeg presuppose crafted tias koj yeej muaj siv tau SPD workflow uas siv cov "collect ntaub ntawv los ntawm ib tug neeg" kauj ruam.

Xeem 1:

  • Qhov ua ntaub ntawv thov ASPX hloov ntawm tes.
  • Kuaj nws (paub tseeb tias koj yuav hloov tau zoo rua thiab tsis txhua yam tu).
  • Qhib tau lub workflow thiab ntxiv cov ncaj luag (xws li "cav yav dhau los").
  • Txuag lub workflow.

Ntog: Qhov no, SPD cas tsis rov tsim daim ntawv.

Xeem 2:

  • Ua tib yam li #1 tsuas yog ncaj qha mus hloov qhov "collect ntawv los ntawm ib tug neeg" nkaus.

Ntog: Qhov no rov tsim daim ntawm kos, sau koj hloov lawm ntau tshaj.

Kawg sau ntawv:

  • Yam tsawg kawg yog ob tug SPD es tsim ntaub ntawv zoo li no: "Sau ntaub ntawv los ntawm ib tug neeg" thiab "Cob ua yam". Ob yam no’ cov ntaub ntawv yuav muab manually hloov.
  • Kuv yog Meskas kuv txuas rau dispform.aspx vim, qhov no, relate yam khoom no yuav tsum muaj cov ID kos rau qhov tus muaj feem xyuam khoom URL. Kuv twb tau extract nws thiab ces lawv muaj ib <ib tug href> raws li nws muab cov nias ib meta ntaub ntawv feature. Yog nws tsis pom hais tias koj qhov URL raws li txoj cai no. Tej zaum yuav muaj lwm txoj kev kom tus ID rau lwm yam khoom no tab sis kuv tsis tau hla tus choj, thiaj li tsis paub tias yog tuaj sab tod los rau lub chasm.
  • Kuv ho tsis soj ntsuam, tab sis kuv yuav tsis yog tag yog tias muaj tej hom template ntaub ntawv rau lub 12 nas muv uas kuv yuav hloov mus li cas SPD generates lub neej ntawd tuaj rau (npaum li peb yuav hloov tau ceeb toom templates).

</kawg>

Subscribe rau kuv blog!

Ntawv cim npe Technorati: ,

Yog “Tsis paub yuam kev” Lus zoo tiag tiag li ib pawg tej qhov cim tseg?

Kuv tau nyeem Madhur txoj blog ncej yuav ua li cas pab pawg ib txoj lw lus thiab tam sim no kuv tabtom wondering: vim li cas ho tsis peb ib txwm qhia ib pawg tej qhov cim tseg?

Leej twg tuaj nrog tus cai thiab peb yuav ua nws cov ntawv vim li cas?

Kawg cov neeg siv yuav paub tej yam tsis yog nyob rau hauv rooj plaub yog lawm. Tsawg nrog ib pawg tej qhov cim tseg, lawv yuav nias tswj-printscreen, daim ntawv/muab tshuaj rau ib tug thiab tuaj xyuas nws. Uas yuav qhia meej txo lub sij hawm thiab dag zog yuav tsum tau yuav kom daws tau qhov teebmeem.

</kawg>

Ntawv cim npe Technorati:

Hnub xya (Embarrassing) Funny: “Kuv npe hu ua Paul Galvin”

Ib Rev xyoo dhau los, kuv thawj kom kuv qhia ib cov neeg siv ntawm ib yam khoom uas hu ua tau. Tau yog ib tug neeg qhia txog cov tuam kawg. Nws yog analogous roughly SQL neeg rau zaub mov qhia txog qhov kev pab los sis siv lead ua. Thaum lub sij hawm, Nws yog tsim los khiav rau ntawm cov hlab ntsuab (e.g. Wyse 50 terminal) txuas nrog rau ib lub thawv Unix ntawm telnet.

Kuv lub neej ntawd teb lo lus nug uas pib ntawm "tau koj … " yog "muaj" yog qhov chaw uas txhua qhov teeb meem pib.

Tus neeg ntawd ib tshuaj lag tawm nyob rau yav qab teb California thiab xwb li tus qhwv tau ib qho loj ERP siv raws li tau muaj Lub QAD MFG/PRO. Lub hom phiaj yuav siv tam sim no hu ua rau qhov xyaum hwj huam kawg cov neeg siv ntawm lub ntsiab yam khoom.

Kuv tsis yog ib tug neeg ntawm no uas loj thiab muaj cuab kav tsis kawm leej twg los ua ntej. Txawm li cas los, Nrhiav tau tus nab npawb ntawm lwm cov hoob kawm thiab tau ceev rau kuv txhais ko taw, li ntawd, kuv twb tsis txhawj xeeb thiab. Dennis, cov qhabnias txij real full-time, yuav tsum muab kuv nws txoj kev kawm ntaub ntawv. Rov ntsia tom qab rau nws tam sim no, Nws yog absurd heev heev. Kuv tsis paub tias cov khoom zoo, tau tsis tau thawm xyoo kawm rau nws thiab muaj yeej ib txwm tsis qhia nws. Yam lag luam twg kuv muaj leej twg los ntawm nws kawm?

Rau cov nyom yam logistically, Kuv twb hais kom koj tos nyob Chicago raws li ib feem ntawm ib muag tos khu raws li. Lub tswv yim yog ya tawm hauv New Jersey, mus rau Chicago, raws li ib teev uas muaj prospect thiab ces mus rau California.

Qhov tshij, Kuv tau mus Chicago thiab rau txiv leej tub muag rau kuv pab tau ua tej yam yuam kev thiab tsis paub tseeb hais tias lub rooj sab laj. Li ntawd, Kuv kuj thiab lub prospect tsis muaj. Txaus. Kuv av. lawm thiab tseem hnov CA. Qhov chaw nyob txoj kev no, Kuv paub tias tus neeg muaj kev kawm tsawg tshaj 24 sij hawm ua ntej kuv tuaj txog ntawd "Paul Galvin" yog qhia rau cov hoob kawm, Dennis tsis. Tus neeg hlub Dennis. Lawv xav paub "uas yog tus neeg no Paul Galvin?" "Vim li cas thiaj yuav tsum tau peb ntseeg nws?" "Vim li cas thiaj yuav tsum tau peb them rau nws?" Dennis obviously tsis sau npe yuav rau kuv "muab cov xov xwm phem thaum ntxov" philosophy. Txaus.

Kuv txog ntawm lub tshav dav hlau thiab incredibly ruam vim, Kuv yuav tsum ntsuam xyuas kuv nra. Kuv muab nws rau LAX tab sis kuv lub nra ua tsis. Rau kuv, poob nra zoo heev li mus cov 7 theem ntawm kev tu siab. Nws thiaj li kuv ua rau lub tsev so, muaj tsis muaj lub nra, nkees, tshaib plab thiab wearing kuv (lawm los, crumpled heev) ce ua lag ua luam. Nws yuav siv sij hawm ntev mus taug kev los ntawm Newark — mus O'Hare — rau ib tug neeg — rov qab mus O'Hare — thiab thaum kawg yuav LAX.

Kuv thaum kawg nrhiav kuv zaum hauv lub tsev so chav, munching rau ntawm ib lub bar snickers, sab lim thiab nyiam rau nruag pem lub zog mus luam theej duab los ntawm cov kev cob qhia khoom tawg yooj yim dua kom kuv txhob saib lub nroog Yeiuxalees kiag pem lub taub hau rau cov chav kawm ntawv. Qhov no yog taw tes rau kuv uas tsis muaj me ntsis lub sij hawm.

Kuv sawv tau ib hnub tom ntej, cas kuv tiag kom du tawm kuv ce kom kuv saib tsis nyiam Willy Loman ib hnub phem thiab taws rau lawm rau tus neeg. Li no, feem ntau yog hais, nyob hauv ib tug neeg nws tau zoo, paub cai thiab qab ntxiag heev. Qhov no sawv ua zoo ib stark kom nws npau taws heev emails/voicemails ntawm lub hnub dhau los. Nws ua kuv txog 3 mais mus tsev tom qab lub tsev kom txwv ib sectioned so cheeb tsam hauv lub giant tshuaj warehouse uas peb yuav muaj cai hoob kawm tau peb hnub tom ntej. Tus 15 los sis 20 cov menyuam maj mam dhos, feem ntau lawv tseem expecting Dennis.

Kuv ib txwm pib kuv lub hoob kawm los ntawm kuv tus kheej plaug, muab tej keeb kwm yav dhau los thiab sau ntawv rau kuv cuag ntawm lub Rooj Tswjhwm Saib cov dawb. Thaum kuv hais tias, "Good ntxov, kuv npe yog Paul Galvin", Kuv sau kuv npe, email thiab xov tooj tuaj rau ntawm lub Rooj Tswjhwm Saib dawb rau cov tsiaj ntawv loj loj li ntawd sawv daws yuav pom meej. Kuv chaw nyob Disease fact tias kuv yuav hloov Dennis thiab kuv paub tseeb tias lawv hais tias kuv yog ib tug qha, yam. Kuv tau sawv daws luv luv qhia kuv yog vim lawv lub npe thiab lawv nyiam li cas after tawm hauv cov chav kawm ntawv uas kuv tau kws txiav ris tsho yam rau lawv cov kev cai thaum kuv cog qoob loo. Cov khoom li ib txwm.

Peb muab qhwv uas thiab hluav taws tuaj rau projector. Kuv mus lwv kuv pab ntxiv yog cuag thiab … Kuv twb sau nws mem. Kuv tau txaj muag ces. Hauv kuv lub qhov muag tus siab, nws zoo li no: Yog qhov no "Paul Galvin" ib tug neeg, kev hloov xeem feeb rau peb nkawv Dennis. Nws looj yog rau ib tug crumpled tuaj ua lag ua luam ce thiab unshaven. Nws twb cia li sau ntawv nws lub npe loj loj ntawv ntawm peb pawg dawb hauv mem. Tus twg pom!

Nws cov twb kaj siab lug, Txawm li cas los. Qhov no yog ib lub tshuaj, thaum kawg no. A grizzled veteran ho rho ib yam dab tsi tawm ntawm txee thiab, tej zaum yog ua txhaum txog EPA kev cai, cleared lub log. Kuv yuav tsum tswj 1/2 nruab hnub ntej cov chav kawm ntawv thoob plaws hauv lub chav thiab lawv tau muab kuv xyuas zoo kawg. Kuv "pinch hitter cemented no" lub koob npe nrov ntawm kuv lub tuam txhab. Kuv lub nra los txog thawj hnub, li ntawd, kuv muaj presentable ntau npaum li cas hnub ob thiab peb.

Raws li kuv tau soj ntsuam qhov muag liab liab qab hauv tsev, Kuv twb ntsia "tshooj lus kawm". Muaj ib contemplate kom txaus. Kev sib txuas lus yog qhov tseem ceeb. Qhia cov neeg tau txog cov kev hloov hauv txoj kev npaj. Tsis txhob puas saib koj lub nra rau lub tshav dav hlau yog tias tejzaum nws zam tau. Nqa spare "khoom" Thaum koj nrhiav tau koj lub nra thiab nws tsis ua. Kuv xav tias cov zaj lus qhia tseem ceeb tshaj plaws kuv kawm, Txawm li cas los, yog qhov no: yuav ntsuam xyuas tus marker hauv sab xa kaum ntawm ib pawg tswj hwm dawb ua ntej sau ntawv, nyob rau hauv cov tsiaj ntawv loj loj, "Paul Galvin".

</kawg>

Ntawv cim npe Technorati: ,

Kev xaav: SharePoint vs. tus loj Hadron Collider

Vim ib co oddball United Airlines flights kuv muab rau lub mid 90's, Kuv cas twb nrog rau ib qho kev txia "tsis siv mais" ua li lub teb dawb magazine subscriptions. Ntawd yog li cas kuv twb tuaj subscribing rau Scientific American magazine.

Li software / noj yug haus rau cov neeg, peb raug cov lag luam yuav tsum muaj ntau nyob hauv peb hauj lwm. Tus ntau tshaj, peb hlub ntsib cov kev cai thiab qhov tseeb, Nws yog tej zaum vim peb xav tias cov hauj lwm no yog qhov zoo tshaj plaws nyob hauv lub ntiaj teb. Kuv puav xav yog vim dab tsi nyob hauv lub ntiaj teb yuav kuv tau nrog kuv tus kheej yog hais tias kuv yuav tsum tau yug ntawm lwm lub sij hawm nyob hauv keeb kwm. Txaus ntshai li cas nws yuav mus tsis tau tawm on yam hauj lwm uas kuv tau ua tam sim no, Thaum no lub sij hawm thiab qhov chaw nyob hauv ntiaj teb no yav dhau los? kuv xav li: zoo nkauj heev tas zog.

Xyoo, tej yam uas yuav tsum tau muag kuv tau yooj yim heev rau yus. Txoj SharePoint khoom, lub tsev cov qhov web xyuas txog kev coj raws li cov qhov web-hauv tshuab, txoj BizTalk orchestrations thiab cov zoo li. Peb tau txhua yam (hopefully) saib tau hais khov kho rov rau peb tej hauj lwm thiab hais, "muaj, uas yog ib tug nyuaj los daws kom tau, tab sis thaum kawg kuv pwned ntawd sumbitch!" Tsis tau zoo, nyaav heev tshaj nthuav thiab fun await.

Kuv tej xav tias kuv xav tau kev, hauv no hwm, Yog nqus zoo nkauj thiab kuv zoo siab zoo nkauj uas nws (tab sis yog kuv paub kuv tus poj niam yuav tsis nkag siab 1/20th ntawm nws). Tab sis lub lim tiam no, Kuv tau nyeem ib tsab xov xwm txog cov Loj Hadron Collider nyob hauv kuv Scientific American magazine thiab muaj ib yam ntawm cov humbling tsawg moments pom tau qhov chaw uas kuv hais tias txawm loj kuv "heev" raws li txoj cai hauv cov voj los sis deep cas kuv xav tias kuv cov dej uas, muaj cov giants tiag nyob rau lub txawv kiag li worlds.

Cov neeg nyob hauv lub LHC pab neeg muaj tej teeb meem thorny heev uas tswj. Saib lub hli. Kuv tsis tshua xav txog lub hli (tab sis yog kuv mus txawv heev txog nws vim kuv kawm nws yuav npleem tau lub ntiaj teb txoj kev sib hloov, uas tsis tau muaj ib tug zoo tshaj plaws rau peb tib neeg nyob rau lub sij hawm ntev). Tab sis npog, LHC pab neeg no puas muaj kev txhawj. LHC tus xab li muaj li tias lawv yog cuam tshuam dab tsi rau lub hli (Earth-rotation-slowing-and-eventually-killing-All-Life) lub ntiajteb txawj nqus. Uas yog ib tug heck ntawm ib tug yuav tsum tau mus ntsib — tsim tseeb ntsuam dua li lub hli cuam.

Kuv yog pondering tau qhov teeb meem thaum kuv nyeem cov kab lus no: "Thawj qib yuav tau txais thiab tsom xam cov ntaub ntawv los ntawm ib tug subset xwb ntawm tag nrho cov ntes cov cheebtsam, ntawm nws yuav rho uas tawm txheej xwm pheej raws raug rho tawm yam xws li puas tus nquag muon yog spotted ya tawm ntawm ib lub loj loj los ntawm cov nqaj axis." Tiag tiag … ? Tsis txhob ua si rau qhov hais tias yam uas sandbox thiab tsis yuav.

Lwm zaus kuv yuav tawm nrog ib co phooj ywg, Kuv yuav tsa ib tug ci rau tus zoo neeg khiav hauj lwm rau lub LHC, vam tias lawv tsis ntse luv rau Higgs boson particle thiab foom phem rau lub hli. Kuv hais koj tsis zoo li qub. Nws yuav ua tau heev qhov ci 🙂

</kawg>

Ntawv cim npe Technorati: