Hli Archives: Tim 2008

Yooj yim thiab ceev thaum: Ua ib daim ntawv rau InfoPath nyeem xwb (InfoPath cov kev pab hauv NTXHUAB)

Yog ib qho lag luam scenario li no:

  • Neeg seem ib cov ntawv InfoPath.
  • Siv daim ntawv.
  • Ntev-running workflow txheej txheem kicks.
  • Thaum lub workflow khiav, Peb tsis xav kom leej twg los pauv cov ntsiab lus ntawm tsab ntawv.

Qhov kev piv txwv office.microsoft.com piav tau tsim ib kem "saib yuav ua li cas" thiab kos cov tseem pom li nyeem nkaus xwb. Qhov no yog ib tug workable tiam sis muaj lub drawback tias koj twb zoo tsim ob tag nrho versions tib daim ntawv thiab yuav tsum tam sim no kom nws nyob rau ntawm sync manually. Yog hais tias koj ntxiv teb rau tus saib editable, koj yuav tsum ces ntxiv nws rau cov uas tsis yog-editable saib zoo li. Thaum lub sij hawm, uas txawv developers, yuav muaj ib co divergence.

No lwm txoj tej haujlwm zoo dua ib txhia:

  • Ntxiv ib tus tshiab teb rau hauv daim ntawv uas hu ua "IsEditable".
  • Teev nws tus nqi vim rau qhov tseeb.
  • Txhawb nws thaum publishing rau NTXHUAB.
  • Nyob hauv lub workflow, teev tus nqi ntawm IsEditble mus cuav.
  • Rov qab mus rau hauv daim ntawv.
  • Ntxiv ib txoj kev cai uas "li qhib daim ntawv", koj txuag button thaum IsEditable yog cuav disable.

Cov drawback rau kauj yog tias txhua tus tswv num tseem yuav editable ntawm qhov screen. Tus neeg siv yuav tau ib tug hneev taw tsis muaj tseeb tias lawv yuav tau pauv ntaub ntawv kawm. Koj yuav mitigate uas tso rau hauv cov ntawv nyeem tias daim ntawv yog neeg xiam, tejzaum nws nyob rau hauv cov loj loj liab ntawv hla saum cov nplooj ntawv.

Nyob rau hauv ib qhov project, Kuv tsim ib "workflow mus" saib. Thaum lub workflow progressed, nws yuav hloov tej liaj teb hais raws li txoj cai uas yuav tsum tau nce los ntawm daim ntawv. Thaum twg tus neeg siv qhib daim ntawv, "qhib daim" txoj cai txiav switched mus tias saib thiab cov neeg siv tau tej tus zoo me ntsis kev mus.

</kawg>

Ntawv cim npe Technorati: ,

Subscribe rau kuv blog.

Siv Semaphores rau SharePoint Designer Workflow kom Endless Loops

Nws tseem tau los ua ib cov voj kev txom hauv ib SharePoint Designer workflow. Ib qho yuav siv txawv li no ua rau cov teeb meem:

  • Tsim ib cov workflow thiab qib qub nrog rau ib daim ntawv teev.
  • Qhia tias nws yuav tsum pib rau tsim cov khoom tshiab thiab hloov tshiab cov khoom uas twb muaj lawm.
  • Ib kauj ruam hauv lub workflow updates ib daim teb nyob rau hauv "Tam sim no yam".
  • Vim tus tam sim no yam hloov, lub workflow pib anew.

Yuav tiv thaiv tau qhov lub endless loop, kev muaj ib cov lus semaphore:

  • Ntxiv rau qhov chaw column (los yog kem rau ntawm daim ntawv teev/qiv yog raug koj tsis siv cov hom).
  • Nws nkaum ntawm cov nplooj edit (tias yog ib qhov chaw kem ntawm nws tus yam ntxwv ua yooj yim, tsis li yoojyim yog ib daim Kem).
  • Nyob hauv lub workflow, xyuas seb yog cov nqi ntawm tus semaphore kem blank.
  • Yog hais tias nws blank, nws tsim ib cov nqi non-VOJVOOS thiab npaj mus.
  • Yog yog yog tsis yog blank, tawm tam sim ntawd.

Qhov no kuj tov hwm nuanced, nyob rau cov lag luam yuav tsum ua li khuav, tab sis nws twb ua tau ib lub workable tu thaum kuv twb xav tias.

</kawg>

Ntawv cim npe Technorati:

Subscribe rau kuv blog.

Developers: Cas ua kuv kawm SharePoint?

HLOOV TSHIAB: 04/25/08: Twb tuag rau ib co posts uas nyuam thiab yeej nyob muaj ib qhov txuas mus no tsab xov xwm: http://www.networkworld.com/news/2008/032608-microsoft-sharepoint.html?page=1. Kuv yuav nco txog nws vim ntxiv rau kev thov, "ua kuv kawm li cas sharepoint?", muaj ib txhia nug "vim li cas thiaj yuav tsum tau kuv kawm sharepoint?". Cov tshooj ntawd tej teb tus tom qab.

Nyob li ob peb lub hlis tas los no, teb lossis ntau folks los hla lub ntiaj chaw sau muaj emailing rau kuv thiab nug cov lus nug txog kev, "Ua kuv kawm li cas SharePoint?"

Kuv yog kog ntaub ntawv pov, tab sis kuv twb muaj ib co zoo (thiab tau zoo txhua lub sijhawm) ces kuv xav tias kuv yuav teev tau kuv tus kheej txoj kev peb taug. Lwm tus yuav nrhiav tau koj.

Ua ntej kuv li ntawd, Kuv xav mus saib tias nws yog kuv cuab kev, raws li cov emails uas koj tus kheej thiab tsawg dua MSDN / SharePoint University posts paiv tib, uas yog tsim tawm lossis loj txaus siab rau qhov tau tuaj mus speed nrog WSS/NTXHUAB. Kuv xav li cas yuav ua zoo li ib lub xyoos saum no … yooj yim mus nrhiav tau zoo txuj ci SharePoint? ib yam? Yog folks ua lawv tus kheej kom lub platform thaum twg kom nrog thov rau cov kev pab zoo txaus? Cas yuav koj tseem xam ib yam dab tsi li ntawd q ib WAG?

Tus Paul Roadmap

Kuv yog tas lub sijhawm ua haujlwm ntawm lub folk zoo nyob Conchango hos kuv raws li no daim ntawv qhia kev. Qhov no txhais tau uas los ntawm tus kawm foundations, Kuv yog tshua txug tej yaam li kuv raws li cov kauj ruam nram kuv tus qauv npaj ua nram qab no.

Tej cov ntsiab lus uas yooj yim

Yuav mus rau cov tib neeg hauv ntiaj teb no, yog ob tug tseem ceeb acronyms:

  • WSS: Cov kev pab cuam SharePoint qhov rais
  • NTXHUAB: Microsoft Office SharePoint Server

WSS yuav "pub dawb" rau qhov hais tias nws twb bundled nrog cov neeg rau zaub mov qhov rais 2003 (los yog tsawg kawg yuav tsum downloaded ntawm MS). Kuv muab quotes ncig dawb vim tias koj xav tau ib kem, ib daim ntawv tso cai siv tau O/S thiab ntshe SQL (txawm muaj ib "dawb" yam SQL thiab).

NTXHUAB yog ua nyob saum WSS thiab extends nws. Yog tsis muaj NTXHUAB tsis WSS. NTXHUAB yog tsis pub dawb.

Kab tias tsis hnub ib, tab sis tsis ntev tom qab koj twb tau txais paub cov lus tej theem pib siv nrog lub platform, Nws tseem ceeb heev kom paub cov sib txawv me ntsis. Piv txwv, ib cov qhov web haib, Cov lus nug qhov Web ib sab, yog ib tug NTXHUAB feature thiab tsis muaj WSS. Tib neeg feem ntau ua rau cov tsis muaj tseeb assumption tias CQWP yog muaj nyob rau hauv WSS thiab ces mus scrambling rau ib qho kev ntsuas nres-kis thaum lawv twb yuam kev lawv paub lawm.

Ntaus cov phau ntawv

Kuv pib ua hauj lwm nrog WSS/NTXHUAB rau txog 01/02/2007. Kuv muaj me ntsis ua ntej swm nrog SPS 2003 tab sis mas kuj. Tau kuv tus kheej pib, Kuv mus muas cov ob phau ntawv nyob ntawm no (http://paulgalvin.spaces.live.com/lists/cns!1CC1EDB3DAA9B8AA!203/).

Kuv pib cov phau ntawv loj loj coj xiav. Lawm, Nws yog siv coj. Tib lub sij hawm, Nws muab ib daim ntawv ntsuam xyuas ntawm tag nrho cov nta NTXHUAB (thiab WSS nta kom zoo).

Rau kuv, yog tsis li ntawd, tseem ceeb yuav tau nco tag nrho cov ntau yam lus (txog thaum nws yog lub sij hawm kom tau ntawv pov thawj) tiam sis nws tseem zoo paub qhov ib thaj tsam. (Kuv ua raws nraim li kauj tib yam rau 1 tug neeg shooters kuv ua si rau lub xbox los lub PC — Kuv sau ib chav tsev thiab yuav ua ib cov voj counter-clockwise mus txog rau thaum kuv tau rov qab kuv pib qhov twg. Kuv cia siab me ntsis kev paub txog cov khoom ntawm lub thawv rau kuv.)

Tom qab koj nyeem ntau phau, Kuv xav nyeem tag nrho hauv WSS phau ntawv. Nws dives tsaug rau tej teeb meem ntawd developers zov tshaj txog.

Tsim lub Virtual

Yuav kom tsis muaj txoj kev loj hlob los yog siv qhov chaw kom zoo, koj xav tau ib daim ntawv qhia txog qhov rais blown neeg rau zaub mov operating system nrog SharePoint Designer, Nrig txog kev pom Studio 2005 (2008 ua haujlwm, tab sis, muaj qee cov cuab yeej pab tsis tau ported as of sau ntawv rau ntawm qhov tsab xov xwm no), InfoPath 2007 thiab ib co khoom. Muaj ntau ntau yam zoo blog nkag txog txoj kev no. Kuv yuav tau saib ob tug no:

tsis tas li ntawd, Andrew Connell muab nws yaam puab paub rau VMWare no:

Siv koj txoj kev nrhiav cav mus ntsib lwm tus ua li cas. Nws yog ib ce muaj zog pab kev kawm rau ntawm nws tus kheej.

Siv ob peb feeb angrily denouncing tus Disease fact tias koj xav tau ib tug neeg rau zaub mov nyob uas ua kev. Tab sis npog … txhob thab blogging txog nws los yog nws xo mus MSDN forums. It’s already been done 🙂. Xwb, puag nws thiab khab. Koj yuav tsum zoo dua tuaj rau nws.

Tau txais ntawv pov thawj

Kuv ntseeg tias kev muab ntawv pov thawj MS SharePoint, uas muaj plaub piab, yog exhaustive. Kuv hais tias koj ua raws li lawv kev qhia nyob rau hauv lub cev thiab to taub txhua yam ntawm thaj chaw uas txoj kev kuaj no tiag.

KUV tsis txhob hais tias koj coj tub ntxhais mus kis tau xwb. KUV tsis txhob hais tias koj siv ib pob rau "paj hlwb tseg" style koob thib 3 tog "caj" rau dua tej kev tshuaj ntsuam MS. Yog hais tias koj yuav siv qhov kev kuaj ntawd, pass nws raws li thaum lawv tseem ntawm koj tus kheej qhia kawm thiab cov kev hands-on, koj mam li muab tus neeg sib ib zog tsim tawm thiab cov hauj lwm tw rau nws.

Muaj cov plaub qhov kev ntsuam xyuas nyob hauv ob "lem":

Tsim tawm:

Admin:

Kuv xav tias developers kawm rau tag nrho cov piab. Koj mam li yuav muaj zog rau lawv, tab sis yog kuv kaj lias raug hla yog koj lawm cov admin piab, koj puas tau txais los ntawm.

Kuv pom muaj nyob WSS version yuav considerably ntau nyuaj tshaj versions NTXHUAB coj, npaum li cas rau kuv surprise. Kuv nyob hauv ib chav kawm ntawv nyuam qhuav thiab ntau lwm tus ua ib yam kis.

Thaum kuv kawm nyob rau lub 70-542 soj ntsuam (NTXHUAB txoj kev loj hlob) Kuv tracked kuv kawm III.. Cov no tej zaum yuav pab tau koj thiab: http://paulgalvin.spaces.live.com/Blog/cns!1CC1EDB3DAA9B8AA!192.entry

Koj tus kheej ntsaws rau hauv koj lub zej zog

SharePoint zej zog yog vibrant, muaj zog thiab loj hlob loj dua txhua lub sijhawm.

Koj xav saib no yuav pib:

  • Blogs
  • Forums
  • Codeplex
  • Twitter

Blogs

Yog hais tias koj tsis to taub RSS, tsis txhob puas tsav puas yam thiab paub nws. Nws yuav siv sij hawm 10 feeb rau nws kawm, tej zaum lwm 10 this mus nrhiav ib lub web nyob RSS nyeem ntawv (Kuv nyiam nyeem ntawv hauv google tus, www.google.com/ nyeem ntawv).

Start by adding this blog to your RSS reader 🙂

Tom ntej, ntxiv www.sharepointblogs.com rau koj nyeem ntawv. Lawv aggregate blogs ntau rau ib tug hluas pub.

Thaum lub sij hawm, koj yuav nrhiav tau blogs uas tsis aggregated li ntawd mas. Cia li sau ntxiv ib lub zuj zus.

Kuv yuav sau npe yuav mus ob peb dozen blogs uas kuv noog twb hla dhau xyoo. yog koj xav, Kuv yuav export kuv sau thiab email nws.

Nws thiaj li, koj yuav xav pib koj tus kheej blog. Kuv tej xav tias hauv blog nkag piav tias ib "newbie tus" npaj kev kawm WSS/NTXHUAB yuav kev nthuav series. Kuv xav tias kuv tau ua li ntawd kuv tus kheej.

Forums

Kuv nrog koom rau hauv lub rooj sab laj ob pawg: MSDN thiab SharePoint University.

Forums yog qhov chaw zoo kawm. Cov neeg hais lus nug xws li los ntawm cov heev yooj yim ("Cas ua kuv tsim ib qhov chaw kem") rau cov panicked ("Kuv ua neeg rau zaub mov lawm os!") rau cov lus nug ntau hypothetical tsim.

Ces koj yuav tau ib lub tsw nyob, venture tawm thiab pib replying. Q mus ncaj interacting nrog ib tug neeg, yog tsis muaj dab tsi zoo tshaj qhov no rau txhais tes rau ntawm kev.

Codeplex

mus tom www.codeplex.com.

Xyuas kom paub nws thiab nrhiav SharePoint txug tej yaam.

Sau npe yuav ua rau lub sij hawm txoj kev Codeplex pub rau koj nyeem ntawv uas feed.

Ntxiv rau tej lub txug tej yaam SharePoint tshiab rau koj nyeem ntawv uas feed.

Nws thiaj li, tom qab nyeem daim forums thiab txojkev cia koj tus dab sib txawv WSS/NTXHUAB, muab sau ua ke rau koj tus kheej qhov project codeplex.

Twitter

Raws li kuv sau no tus nkag teb chaws blog, SharePoint folk muaj pib siv ntau heev Twitter.

Nws yog ib qho nyuaj rau tuab Twitter. Koj yuav cia li tau mus xyuas koj tus kheej.

Xaus

Uas wraps li kuv roadmap thiab ua kuv tam sim no. Kuv tab tom siv Twitter ob lis piam dhau los.

WSS/NTXHUAB yog lub platform txias kawg thiab zog loj txhua lub sijhawm. Siv cov chaw muab kev pab hauv zej zos los ua kom koj cov kev txawj thiab kev txaus siab rau cov lus!

</kawg>

Subscribe rau kuv blog.

Ntawv cim npe Technorati: ,

Cov ntaub ntawv tus thawj tswj kev pab tiv thaiv: Nkawd zoo li yawm SharePoint thaub qab/Restore tov

Thaum lub New Jersey SharePoint neeg siv kev pab pawg rooj nag hmo, Microsoft Sr. yam khoom tus kws DuWayne Harrison hais Microsoft ntaub thaiv Manager 2007. DuWayne tau zoo kawg thiab (thiab nws tau txaus siab los ntawm cov lug txhawb cov ib los yog ob tug miv los tuaj uas lawv cov npe uas kuv tsis nco qab). Koj yuav tau txais daim ntawv no los kev nthuav qhia li no.

Up until nag hmo, Kuv twb tau yeej tsis hnov txog DPM.

Kuv kuj tsis yog ib qhov system admin hom neeg, li ntawd, kuv thiaj sau ntawv no los ntawm tus SharePoint neeg foundations thiab kuj tau txais ib co ntawm cov lus ua tsis ncaj ncees lawm. rau kuv, DPM yog thaub qab/restore tov rau Microsoft "khoom":

  • Ntaub ntawv
  • SQL
  • O/S
  • Virtual cov cav tov (nyob ntawm qhov VM thaub qab, Txawm tias qhov VM xwb khiav khiav Unix).
  • Rov qab mus khaws hlau (i.e. Yog koj tsis tswj kho vajtse).

Tshaj ntawd cov khoom, uas kuv xav xav kom tsawg heev raws li "ntawm txhua yam" thaub qab/restore khoom, DPM muaj built-in txoj kev ntse rau SharePoint. Nws nkag siab txog cov neeg rau zaub mov liaj teb thiab cia koj restore:

  • Databases tag nrho (e.g. ntsiab lus, config, yam).
  • Qhov chaw collections
  • Ib tug neeg qhov chaw
  • Ib tug neeg khoom (e.g. cov ntaub ntawv).

Txheej txheem restore sij yuav extracting rau hom ntaub ntawv los ntawm tus thaub qab thiab txuag cia rau hauv lub "restore teb" thiab luag los yeej muaj, tsiv mus nyob ntau lawm (los sis wherever koj xav los). Kuv xav tias qhov no yog seamless, tiam sis muaj ntau heev ntawm cov rau qhov kev "restore daim teb". Restore thaj tsis xav kom me zog-LAIV ntau lawm nyob rau hauv txhua tug (nyob topology lub cev mas) tab sis xav kom phim muaj templates ntawd tej, versions, yam.

Kuv tsis pom demo xaus rau thaum xaus tas nrho, tiam sis DuWayne puas tau qhia tshuaj ntsuam txhaj tshuaj thiab ib co nyob demos. Nws yuav tsis zoo li thaum nws yuav tsum ua kom nkawd, yam tsawg kawg rau ib moderate tsuas ib puag ncig.

Kuv yog tshwj laim los ntawm cov pricing. Obviously, tsis txhob puag kuv rau qhov no, tab sis kuv ntseeg hais tias lub kim tshaj plaws pricing yog roughly raws li nram no (hauv USD):

  • $600 rau cov DPM xwb.
  • Radon rau ib tug neeg rau zaub mov hauv DPM (thiab khoom txuam rau tawm thiab cov uas).
  • $450 rau txhua tus neeg uas muaj rau zaub mov koj yuav tau rov qab ("enterprise" daim ntawv tso cai).

Ib tug neeg rau zaub mov rau tsib ua liaj ua teb yuav nqi them tsawg tshaj plaws:

  • $600 kev DPM
  • $450 x 5 servers = $2,250

Tas nrho cov nqi ntawm cov lais xees: $2,850

Nyob hauv kev xyaum, nws yuav muaj tsawg. Koj tsis tas yuav muaj DPM ntsia rau txhua lub qab kawg, Piv txwv. Koj tsis tas yuav enterprise lais xees yog.

Tus neeg siv interface yog nkawd yooj yim heev tej zaum yuav tsis tau kev tshwj xeeb kev kawm kom tau tuaj mus speed. Kuv puas tau hais txog qhov uas hais thiab yog thaj ib 1.5 hnub kawm muaj, txawm nws yuav tsis cuab kev kuv leej twg los yeej yuav tsum coj nws.

Tag nrho rau hauv tag nrho, Kuv xav tias nws yog yeej muaj nqis investigating yog hais tias koj hais muaj nrhiav cov ntaub ntawv tiv thaiv tov rau SharePoint.

</kawg>

Subscribe rau kuv blog.

Ntawv cim npe Technorati:

Twitter: http://twitter.com/pagalvin

Walk-through: Txhim kho ua hauj lwm kev kawm Template Unregister rooj zaum ua yuav muaj kab laum

Muaj coob tus neeg paub, cov neeg ua hauj lwm kev kawm template yog muab los ntawm Microsoft ntawm no muaj ib tug kab uas peb tau me nyuam raws li cov kauj ruam:

  • Tsim ib hoob uas me me ntawm max 10 kawm ntawv.
  • Rau npe –> Tag nrho muaj Malaria nws kom zoo decrements los ntawm ib tug. Ntog: 9 muaj rooj zaum.
  • Unregister: –> Kab laum. Tag nrho cov nyiaj muaj noj yuav tsum increment los ntawm ib tug. Nws ua li tsis. Ntog: 9 muaj rooj zaum as per SharePoint, tab sis tiag, muaj cov 10 muaj rooj zaum.

Kua: Siv SharePoint Designer mus kho cov workflow.

Ua ntej, qhib tau lub. Daim ntawv tais ceev tseg rau kuv zoo li no:

duab

Yog tias peb muaj ib lub "Attendee npe saib" workflow, peb pom tias yog ib kauj ruam uas hais tias "Tswj txoj cai zaum". Nws zoo li no:

duab

Kauj ruam no nyob hauv lub workflow siab qhov khoom los ntawm incrementing lub "lawm ua tus sau nco" metadata qhia kiag rau hauv lub chav. Yog peb rub uas rau kev nthuav dav ntxiv, peb mus saib qhov no:

duab

Yog tag nrho cov ntaub ntawv peb yuav tau txhim kho txoj kev workflow unregistration.

Yog tias peb ntxeev mus rau ntawm unregistration workflow, yog tsis muaj cov kauj ruam workflow zoo. Raws li hais hauv qab no ntxiv:

1: Nthuav "Attendee unregistration" thiab qhib tau lub XOML (saib Thawj qho screen tshuaj tiv thaiv yog tias koj muaj swb).

2: Ntxiv kuj sib txawv ib tug tshiab workflow thiab, "Tshiab Filled nco" yam "zauv".

3: Cob muaj nqis rau "tshiab lawm ua tus sau nco" li:

duab

4: Decrement lub rooj zaum Filled los 1:

duab

5: Hloov ua lwm yam khoom:

duab

6: Xyuas kom txhua yam nyob hauv tus zoo ib theem zuj zus. Rau kuv, nws zoo li no:

duab

7: Suaj kaum rau lub workflow no rov tsim nws.

8: Xeem.

</kawg>

Subscribe rau kuv blog.

Ntawv cim npe Technorati: ,

Random sawv ntxov hnub Saturday soj

Kuv mus kawm cov no yav tas los ob lis piam thiab ib cov khoom uas ntaus kuv yog hais tias muaj ntau txoj kev txawj xav heev, ntse tus neeg ua haujlwm hauv SharePoint (pheejyig npaum licas los nws cov neeg ua hauj lwm) leej twg tsis tau blog, twitter, zoo li ras txog pej xeem tej lus cam xws li lub rooj sab laj los ntawm MSDN los yog SharePoint University, tswj Facebook los LinkedIn profiles, yam. Lawv yuav tau txais kev pab cov ntaub ntawv ntshiab. tsis phem, interesting xwb.

</kawg>

Ntawv cim npe Technorati:

Subscribe rau kuv blog.

Codeplex & RSS

Realizes paub tsis meej tias txhua leej txhua tus, tab sis, muaj ib tug zoo codeplex txhua hnub siab RSS noj tias kuv nrhiav kawg tswv.
tsis tas li ntawd, tag nrho cov txug tej yaam codeplex tau lawv tus kheej txau.
txhua hnub, Luam theej duab hnub los ntawm nws thiab ntxiv tej sharepoint hais txog tej yaam num’ txau rau kuv gmail kev nyeem ntawv.
</kawg>

Cov lus nug qhov Web Tshooj: Hais lus nyob New York SharePoint cov neeg siv kev pab pawg

Kuv yuav tsum tau hais rau kuv colleague, Natalya Voskresenskaya, thaum lub New York SharePoint cov neeg siv kev pab pawg lub rooj sab laj Wednesday May 7.

Thanks rau Bob hma liab rau ntuav rau peb cov npe rau hauv lub kaus mom thiab pab peb tau no sawv daws!

Peb cov npe tag nrho yog cov lus nug qhov Web thiab peb vam tias yuav muab tej ntaub ntawv uas pab tau kom cov audiences ob:

  • Cov neeg siv kev ua lag ua luam (non-developers): Ua li cas CQWP yuav tsum configured yuav kom daws tau tej yam tshwm sim ua lag ua luam meem tsis muaj coding.
  • Developers: Ua li cas CQWP tau muab txuas mus ua tej yam uas zoo nkauj nthuav kom ib tus neeg ua hauj lwm tsis nquag hnov zoo heev ua rau lawv tus kheej. Qhov ntawm qhov kev nthuav qhia no yuav pab ua hauj lwm cov neeg nkag siab seb puas yuav tau siv cov Web site qhov no kom lawv muab tau zoo dua thiab muaj ntau tiag yuav tsum kom lawv nrog ib tug neeg tsim tawm.

Nov yog tsab ntawv ceeb toom NYSPUG xa tawm lawm no lub limtiam:

"Siv cov qhov Web site cov lus nug yuav kom daws tau cov teeb meem ua lag luam".

NTXHUAB 2007 cov lus nug cov Web site qhov (CQWP) enables cov neeg siv los ua kev cai views ntawm queried los ntawm ntau yam ntaub ntawv, thiab ntaub ntawv uas nyob rau hauv ib qho chaw. Dua li ntawm cov lus nug uas haib & cov kev xaiv qha ca, CQWP feem ntau yog ib tug underrated thiab overlooked feature. CQWP yog ob lub "data extraction cav" (nrhiav cov ntaub ntawv los sis daim ntawv teev cov khoom nyob qhov twg hauv ib qhov chaw sau ntawv) thiab tau ib lub cuab tam first-class kev nthuav qhia tias enables cov neeg siv kom tswj tau npaum li cas cov ntsiab lus muaj nyob ntawm wrapping HTML thiab yeej format zaub yuav luag txhua li koj xav.

Qhov kev qhib demo heavy, lawv yuav qhia seb yuav ua li cas rau koj siv cov CQWP laij lag luam muaj teeb meem los ntawm qhov uas qhia tawm cov ntxhais nta.

  • siv default CWQP nta, xws li cov neeg tuaj saib targeting

  • siv cov CWQP ua cuab tam rau ib qhov chaw sau los ntawm kev lim kev xws li cov ntaub ntawv "cov uas niaj hnub tsim" reporting.

  • hloov tau zoo & xav tias cov lus nug tau mus highlight ua lag ua luam ntaub ntawv, qhia tias txhua yam lus, tso saib cov lus qhia nyob rau hauv ib daim phiaj hom, thiab lwm tus.

  • ua li cas cov CQWP yuav pab rau cov hom coj (i.e. nrhiav tau tag nrho cov ntaub ntawv ntawm ib tug txheej yam sij to taub tej feem ntawm hloov ib i txhais).

  • piav txog tej cov kev txwv ntawm CQWP

  • muab ib daim ntawv teev kev pab rau tus siab heev rua kev CQWP, xws li blogs, Qhov project ECQWP Codeplex & Lwm cov ntaub ntawv MSDN.

</kawg>

Subscribe rau kuv blog.

Ntawv cim npe Technorati:

SharePoint ceev kev koom ua ke: Coj ib cov lus nug yooj yooj yim

Qhov no nws yog ib tug continuation hauv kuv vas NTHIV coding mini-series rau SharePoint folk. Cov cai hauv qab no me ntsis executes nrhiav ib lub sij hawm "sim" nyob rau hauv lub vas NTHIV ntawm ib daim ntawv thov Console. Obviously, Nws yog ib plhaw, hla thiab dhia mus qhwv no logic hauv ib cov qhov Web site los yog daim ntawv phab:

siv Tsim;
siv System.Collections.Generic;
siv System.Linq;
siv System.Text;
siv System.Collections.Specialized;
siv Com.FastSearch.Esp.Search;
siv Com.FastSearch.Esp.Search.Http;
siv Com.FastSearch.Esp.Search.Navigation;
siv Com.FastSearch.Esp.Search.Query;
siv Com.FastSearch.Esp.Search.Result;
siv Com.FastSearch.Esp.Search.View;
siv System.Collections;

namespace Conchango
{
    hoob InvokeSimpleFASTQuery
    {
        zoo li qub khoob lug Main(hlua[] args)
        {

            #thaj av Initialize peb kev sib txuas lus nrog rau vas NTHIV
            ISearchFactory searchFactory;

            NameValueCollection nameValueCollection = tshiab NameValueCollection();

            nameValueCollection.Add("fastsearchengine", "Com.FastSearch.Esp.Search.Http.HttpSearchFactory");
            nameValueCollection.Add("Com.FastSearch.Esp.Search.Http.QRServers", "fastdemoback:15100");
            nameValueCollection.Add("Com.FastSearch.Esp.Search.Http.RequestMethod", "TAU");

            searchFactory = SearchFactory.NewInstance(nameValueCollection);

            #endregion #region Tso ib cov lus nug

            hlua queryString = "sim";

            Lus nug lus nug = tshiab Lus nug(queryString);

            lus nug. SetParameter(BaseParameter.CLUSTERING, tsis tseeb);
            lus nug. SetParameter(BaseParameter.NAVIGATION, tseeb);
            lus nug. SetParameter(BaseParameter.NAVIGATION_DEEPHITS, 100);

            ISearchView searchView;
            searchView = searchFactory.GetSearchView("sharepointconn");

            IQueryResult ntog = searchView.Search(lus nug);

            Console.WriteLine("Tag nrho ntawm nrhiav: [" + ntog. DocCount + "].");

            rau cov menyuam docCounter = 0;

            thaum lub (docCounter < ntog. DocCount)
            {

                docCounter   ;

                IDocumentSummary thisDocSummary = ntog. GetDocument(docCounter);

                Console.WriteLine("[" + docCounter + "]: " + thisDocSummary.GetSummaryField("url").StringValue);

            } // thaum lub

            Console.ReadLine();
            #endregion

        }
    }
}

Nws generates cov nram qab no tshwm sim:

duab

</kawg>

Subscribe rau kuv blog.

Ntawv cim npe Technorati: ,