Qeb Archives: Kev tshawb SharePoint

Yuav tau qhia kom meej rau cov neeg ua tus nrhiav tau li cas / Cov qhov uas siv cov SharePoint 2013 SO API

Kuv twb tias koj tsis mus ua hauj lwm nrog cov SharePoint 2013 Nrhiav API ntawm so li thawj zaug. Kuv xav mus nrhiav neeg, tsis tau muaj ntaub ntawv. Lub ntsiab kev kawm ntawm no yog tias koj thov qhia cov kev pab ntawm nws cov GUID (los yog tsawg kawg yog qhov no). Cov nram qab no jQuery snippet qhia li cas:

    loadExpertsAsync: muaj nuj nqi() {

        jQuery.support.cors = tseeb;

        $.ajax({
            url: qhov no.CreateFullApiUrl() +
                "?querytext = 'portals'&sourceid = 'b09a7990-05ea-4af9-81ef-edfab16c4e31'" +
                "&selectproperties ='LinkedInProfileUrl,GoogleCirclesProfileUrl,BALargeProfilePictureUrls,BAGridPictures,WorkEmail,Kev txawj ntse,AboutMe,Nyiam,JobTitle,PastProjects,PictureURL,PreferredName,TwitterHandle,LinkedInProfileUrl,PreferredName,GoogleCirclesProfileUrl'" +
                "&rowlimit = 99",
            txujci: "TXAIS",
            headers: { "Txais": "daim ntawv thov/json; odata = verbose" },
            cache: tsis tseeb,
            zoo: muaj nuj nqi (ntog) {

Hauv kuv tsev neeg, Kuv tab tom khiav API tiv thaiv SharePoint hauv internet. Tau lub GUID, Kuv raws li cov kauj ruam:

  1. Mus saib hauv qhov chaw SharePoint admin
  2. Xaiv "nrhiav" los ntawm lub sab laug tes navigation
  3. Xaiv "Hwj tshwm sim los"
  4. Xaiv "Cov neeg hauv zos tau"
  5. Saib qhov URL.

Kuv qhov URL ntsia ib yam dab tsi zoo li:

https://xyzzy-admin.sharepoint.com/_layouts/15/searchadmin/EditResultSource.aspx?level=tenant&sourceid=b09a7990%2D05ea%2D4af9%2D81ef%2Dedfab16c4e31&view=1

Lub sourceid parameter yog dab tsi ua haujlwm rau kuv.

(Kuv to taub hais tias cov sourceid tej zaum yeej yuav ib tug tsi tshaj plaws lawm nrog SP, but I’ll always check anyway 🙂 ).

</kawg>

undefinedSubscribe rau kuv blog.

Raws li kuv nyob Twitter tom http://www.twitter.com/pagalvin

Ib tug ua rau "tus creator ntawm qhov kev txhaum ho tsis qhia ib vim li cas.”

Kuv twb tau ua hauj lwm SharePoint nrhiav lately thiab lawv cov KeywordQuery kawm ntau, khoom thiab txoj kev.

Yog hais tias koj xav tau tus raug tso rov qab tau above and beyond lub suspects li ib txwm (saib ntawm no), koj ntxiv nws lub SelectedProperties sau, raws li nyob rau hauv:

myKeywordQuery.SelectProperties.Add("xyzzy");

Tsaug ntau thiab ib lub kaus mom rau taub Corey Roth thiab no cov ncej tswv enormously blog (http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/02/19/how-to-use-the-moss-enterprise-search-keywordquery-class.aspx)

Hauv kuv tsev neeg, "xyzzy" tsis yog ib tug muaj managed long-term ua tau.  Thaum twg kuv ntxiv nws rau SelectedProperties lawm, SharePoint txawb kuv favorite ib puas runtime ntxiv:

"Tus creator ntawm qhov kev txhaum ho tsis qhia tias koj thiab."

Kuv pheej nyiam lub peev "R" nyob rau hauv vim li cas.  Qhov no kuv suab zoo li .NET sib npaug ntawm"Kuv muaj tsis muaj qhov ncauj, thiab kuv yuav tsum tau scream.”

</kawg>

Subscribe rau kuv blog.

Raws li kuv nyob Twitter tom http://www.twitter.com/pagalvin

Tej kev siv ncaj: Pheej tawm ntawm kev tshawb KeywordQuery

Ua tau rau thaum koj tus tus Execute() txujci nyob ib KeywordQuery, koj muaj peev xwm tsim ib ResultTable le ResultType.RelevantResults.  No lub snippet code illustrates kuv txhais li cas:

ResultTableCollection resultsTableCollection = myKeywordQuery.Execute();

ResultTable searchResultsTable = resultsTableCollection[ResultType.RelevantResults];

Lub rooj resulting yuav muaj rau txhua cov lus nram qab no: 

WorkId
Plaws
Npe
Sau
Loj
Kab
Hauj lwm lawm
Sau ntawv
SiteName
CollapsingStatus
HitHighlightedSummary
HitHighlightedProperties
ContentClass
IsDocument
PictureThumbnailURL
ServerRedirectedURL

Kuv derived daim ntawv los ntawm ib cov SharePoint 2010 ib puag ncig, ib tsab Enterprise.  Hopefully nws yuav ua ke rau ib tug neeg yav.

</kawg>

Subscribe rau kuv blog.

Raws li kuv nyob Twitter tom http://www.twitter.com/pagalvin

SharePoint 2010 KeywordQuery thiab ntiag HiddenConstraints

Kuv twb tau ua me ntsis hauj lwm nrog cov KeywordQuery kwv nyob SharePoint 2010 making ua tus HiddenConstraints khoom.

Kuv tsis nrhiav yam tam sim ntawd xov tooj rau qhov uas cuab yeej, ces kuv xav tias kuv yuav ceev nrooj jot cia li kuv twb tau siv nws.

Raws li kuv tau qhia, qhov no yog ib qho tsis zoo no feem constraint ntxiv rau cov lus nug kom thiaj txheeb ntawm cov chaw ua si ntawd muaj thiab tsis txhawj txog nws.  Zoj, Nws yog ib lo lus tseem ceeb rau lwm xwb (los yog txheej keywords) thiab modifiers uas koj tau ntaus nyob rau daim UI thaum koj ua ib lo lus tseem ceeb nrhiav.  Ntawm no yog ib qho piv txwv:

keywordQuery.HiddenConstraints = "tau:\"Industry" ";

Koj ntxiv tau kev xyuas ntxiv nrog rau ib qhov chaw delimiter.

keywordQuery.HiddenConstraints = "tau:\"Industry" kws muaj txuj ci";

Cov saum no yog hais rau hauv Hmong, "khiav ib lus nug lo lus tseem ceeb rau cov kws muaj txuj"ci"thiab tas, siv qhov "Kev lag luam" tau.

Ntawm no yog ib txoj kev saib nws:

image

Kuv twb tau siv ntawd los muab lub ntsiab lus teb-his tuaj tau rau ib lub qhov Web site rau kev cai.  Thaum cov neeg clicks nyob rau ib lub tab thiab clicks tus nrhiav khawm, tus tab dictates ib tug mus nrhiav tau.  Nws yuav ua zoo li ntawd, nyob deb.

</kawg>

Subscribe rau kuv blog.

Raws li kuv nyob Twitter tom http://www.twitter.com/pagalvin

Vim li cas ib tug rau "ib los sis ntau tshaj teb yam yeej tsis ntsia zoo zoo”

Kuv twb ua ib tus tweak me nag hmo rau ib qho Web site uas yog ib cov lus nug CAML tiv thaiv tsis tau ib daim ntawv teev.  Kuv tau muab hloov dua tshiab, deployed nws thiab tau mus ntaus nrog rau ib qho kev ua yuam kev:

Kev npaj txhij txog qhov kev ua yuam kev muaj tshwm sim nyob rau hauv 3 hnub Outlook huab cua Forecast WebPart. Thov hu rau tus neeg khiav dej num hauv qhov system. Ib los yog ntau tshaj tus teb yam yeej tsis ntsia zoo zoo. Mus rau ntawm daim ntawv teev nqis nplooj yuav rho tawm tej liaj teb.

Kuv yog txojkev lwm oddball meem lawm ces kuv tsis tam sim ntawd xa kuv cov lus nug CAML mus rau qhov yuam kev ntawm SharePoint twb qhia rau kuv.  Kuv puas nrhiav bing ceev thiab thiab nyob no cov ncej tswv blog by Sandeep Nahta  (http://snahta.blogspot.com/2009/01/one-or-more-field-types-are-not.html).

Ntawm no yog cov lus nug uas phem:

lus nug.Query ="<Nyob qhov twg><Thiab><Neq><FieldRef Name = 'Abbr' /><Value yam = 'Ntawv'>SFNY</Tus nqi><FieldRef Name = 'Abbr' /><Value yam = 'Ntawv'>SFIS</Tus nqi></Neq></Thiab></Nyob qhov twg>";

Ntawm no nws yog tsau:

lus nug.Query ="<Nyob qhov twg><Thiab><Neq><FieldRef Name = 'Abbr' /><Value yam = 'Ntawv'>SFNY</Tus nqi></Neq><Neq><FieldRef Name = 'Abbr' /><Value yam = 'Ntawv'>SFIS</Tus nqi></Neq></Thiab></Nyob qhov twg>";

Li ntawd, yog tus moral txog zaj dabneeg: xyuas kom tseeb tias koj cov CAML yog tseeb los koj kuj yuav tau txais ib qho kev ua yuam kev oddball.

Subscribe rau kuv blog.

Raws li kuv nyob Twitter tom http://www.twitter.com/pagalvin

</kawg>

Announcing Microsoft Enterprise nrhiav neeg pab

Kuv pog ncha moo uas Natalya Voskresenskaya, Kuv SharePoint MVP thiab tus hlub uas koj txog haujlwm (deb tsis pab kuv tshaj nws deserved) yog ib tug tshiab neeg pawg devoted rau enterprise tshawb fawb los ntawm Microsoft lub tshuab launching. Thaum muaj teeb meem xwb, qhov no boils mus SP 2010 tshawb fawb thiab tham txog lub vas NTHIV ntau, tshwj xeeb tshaj yog nyob hauv peb thawj sib kho. Natalya thiab kuv tau sau heev txog sai dua xyoo tas los no rau peb blogs (Natalya muaj khoom ntau tshaj thiab zoo dua kuv!).

Peb mus ntsib yog los txog hauv lub lim piam ib txhia nyob New York thaum Microsoft lub chaw tshiab khiv renovated rau 6 nruab nrab pob zeb. Yog hais tias koj nyob New York rau 12/9, tsis muaj kev keb kom ua kom muaj zog tsis muaj koj. Zoo li no rau koj cov neeg tsho. Connecticut neeg yuav tau nyob hauv tsev (tso dag xwb!).

NY/NJ/i tib neeg yuav tsum hla cov pawg lus no. Peb kuj npaj los teev cov kev sib kho thiab khiav lub web nyob sib kho ntawd yog koj nyob nraum zoov lub tri-lub xeev qhov chaw, koj yuav tsum tau qhib.

Kuv mam tus blog hais txog qhov no ib txhia tshaj li hnub no los tseem auspicious txuas, tiam sis mus sau npe tam sim no. Tom qab koj mus sau npe, pib lub tos ntev. Lub sij hawm ntawd, tshem koj lub sij hawm, zom cov xov xwm no rau koj tsev neeg thiab cov ceeb toom tshaj tawm vim koj tsis xav mus tsis tau Nate Treloar launch our group to the moon and beyond 🙂

Xav paub ntxiv los ntawm peb cov nom ntawm: http://www.sharepointgroups.org/enterprisesearch/default.aspx.

</kawg>

Subscribe rau kuv blog.

Raws li kuv nyob Twitter tom http://www.twitter.com/pagalvin

Tej kev coj thiab kev nrhiav SharePoint – Yeej tsis lig dhau heev yuav pib

KUV sau tau ib tsab xov xwm (http://searchwinit.techtarget.com/tip/0,289483,sid1_gci1345231_mem1,00.html#) rau SearchWinIT.com rau tej kev coj li nws lawv mus nrhiav SharePoint. Nws yuav tsis nyob hauv kuv li ib txwm "lub suab" but that’s editing for you 🙂

Ntawm no yog nws pib li cas:

Txawm tias yuav luag txhua nam ntawm SharePoint yuav pab tau los ntawm ib lub tswv yim muaj zog tej kev coj, NTXHUAB 2007 enterprise nrhiav functionality kev pab feem ntau rau txhua yam.

Zoo li txhua yam hauv SharePoint, yog muaj xov zoo thiab phem xov xwm txog tej kev coj. Rau cov koom haum, cov xov xwm phem yog tias nws yog ib yam nyuaj heev los teeb ib lub hom phiaj txog kev tu ncua qhov twg All existed.

Tab sis, cov ntawm no yog lub moo zoo: Koj yuav ceev ceev configure thiab zoo rau kev nrhiav enterprise yuav luag txhua lub sij hawm. Thiab thaum koj siv txoj kev npaj tej kev coj enterprise nrhiav, koj yuav saib tau tam sim.

Yog ib qhov teeb meem uas muaj SharePoint thiab tej kev coj yog tias tuam txhab uas muag ntau tau hauv caug deep rau SharePoint uas tsis muaj tej cov hom phiaj thiab ua li ntawd los, yog tsis muaj kev yooj yim nraim mus daws tau. Thiaj li tsis nrog nrhiav. Nyeem tsab xov xwm tau kuv kev xav rau ntawd kawm.

</kawg>

Subscribe rau kuv blog.

Raws li kuv nyob Twitter tom http://www.twitter.com/pagalvin

Ntawv cim npe Technorati: ,

Kev pab rau cov neeg rau zaub mov puas tsis daim ntawv teev kev nrhiav — Ua li cas?

Ntaub thiab sib kuv tau tham niaj hnub nrog Agnes Molnar (tus tib neeg kuv paub tias kuv paub nyob hauv Hungary) txog ib qho teeb meem nrhiav coj txawv txawv configuration. Namely, nrhiav tau uas ploj lawm ntawm cov kev "pab rau cov neeg rau zaub mov" zaub (ntawm Central Admin-> Haujlwm-> Kev pab rau cov neeg rau zaub mov).

Kuv muaj ib cov haumxeeb VM saib rau ntawm kuv lub tshuab thiab ua ke, peb pom hais tias tshawb fawb tias yog tsis ntsia rau ntawm tus neeg rau zaub mov. Muaj ntau zaum ob peb txoj kev ua li no, tab sis peb ua nws tau lees tias uas "Office SharePoint neeg rau zaub mov nrhiav" yog tus uas los ntawm cov kev pab ntawm pib - daim ntawv ploj lawm> Kev caj-> Kev pab.

Oddly, tus kab .exe * yog * ntawm cov neeg rau zaub mov ("C:\Kev FilesMicrosoft Office Servers12.0Binmssearch.exe").

Puas muaj kev ceev nrhiav thiab nrhiav tau no nkag teb chaws hauv blog: http://msmvps.com/blogs/obts/archive/2006/10/19/189466.aspx

Tus ntawd yog tus email saw nrog hauv taw tes no tseem ceeb:

"Kuv solved qhov teeb meem no. Nws yog kuv yuam kev. Kuv xaiv "Web pem hauv paus kawg" txhob siv "tiav" thaum lub caij install."

Qhov no yog qhov pheej, tab sis peb tsis paub tseeb tias cov installer muaj tau khaws WFE tsis tag thaum txhim kho NTXHUAB.

Peb mus rau tus thawj (ntxov tshaj plaws) Version of PSCDiagnostics * ntawv nyob rau hauv lub 12 nas muv cav daim keeb kwm thiab yeej muaj, peb pom tias cov installer no muaj, qhov tseeb, configured no neeg rau zaub mov ua ib lub qab kawg. Xaus zaj dabneeg thiab nws muaj lub siab xaus.

(Qhov chaw nyob ntawm kab, Bob hma liab tau muab kev koom tes, tiam sis txhua yam kuv nco nws nrog rau cov kev sib tham tau ib tug saib txog Fable 2).

Hloov tshiab: Agnes blogs txog no kawm ntawm no: http://dotneteers.net/blogs/aghy/archive/2008/11/06/wfe-vs-complete-installation.aspx

</kawg>

Subscribe rau kuv blog.

Raws li kuv nyob Twitter tom http://www.twitter.com/pagalvin

Ntawv cim npe Technorati:

Nreeb taub: Siv “IsDocument:1” los luas nrhiav tau

Hloov tshiab 11/03/08: Koj txog haujlwm MVP Mike Walsh thwj points kom paub tias qhov no yog ib tug WSS 3.0 / NTXHUAB feature. Nws tsis ua hauj lwm hauv WSS 2.0 los ua ntej lawm.

Updatte 11/03/08: (Thib ob nyob hauv ib hnub hloov tshiab!): Nco ntsoov nyeem cov saib yav tom ntej los ntawm "nowise" xav pab ntxiv yog thiab lwm yam zoo xref txuas.

Ob nqe lus nug tuaj ceev succession lub lim tiam no nyob rau MSDN forums nug ib tug variation no:

"Thaum kuv nrhiav ib lo lus tseem ceeb, folders los kuv qiv ntawv nrog tias lo lus tseem ceeb nyob rau hauv lawv cov kev yuav tawm tuaj tso rau hauv kuv tus nrhiav tau. Kuv tsis xav tias yuav tshwm sim. Cov ntaub ntawv nrog lo lus tseem ceeb ntawd yog tseem ceeb rau kuv. Kuv tsis xav pom folders hlo."

Qhov no yuav ua tau kuj yooj yim kom tawm ntawm lub thawv. Cias ntxiv "IsDocument ib:1" nrhiav cov lus nug thiab SharePoint nrhiav (WSS thiab NTXHUAB) yuav caiv xwb rau qhov uas qhia cov ntaub ntawv.

</kawg>

Subscribe rau kuv blog.

Raws li kuv nyob Twitter tom http://www.twitter.com/pagalvin

Ntawv cim npe Technorati:

Koj lub Committee nrhiav tau ntsib lub hlis no?

Nws yog lub hli pib thiab tam sim no yog zoo li ib lub sij hawm ua tej yam rau koj lub tuam txhab nrhiav ib pawg neeg kom tau ua ke thiab tsom xam zoo Bets, zoo thiab yuav tsis kom vam meej luag tshawb, yam.

Koj tsis muaj ib tug nrhiav pawg? Then form one 🙂

WSS thiab NTXHUAB pheej mus nrhiav kev pab los ntawm ib co tib neeg kev. Investing rau ob peb teev ib hlis ib hlis zoo ib yam puav yog tsis zoo xwb kev lom zem ntau dua ib chim ntawm liab, nws yuav:

  • Muab kev pom rau txog kev tu ncua ntawm cov enterprise. Yog hais tias tus neeg yog searching sab laug thiab muaj cai rau npe "xyzzy," koj paub tias yog ib qho tseem ceeb npe rau lub enterprise.
  • Paub cov neeg kawm ntawv yuav tsum. Yog hais tias tus neeg yog searching rau npe "xyzzy" tab sis yuav tsum yeej yuav searching for "abcd" ces koj tau siv ntawd los muab kev kawm folks nyob rau qhov twg thiab ua licas thiaj yuav nrhiav tau cov lus qhia.
  • Pab kom koj lub koom haum cais puab cov lus architecture.
  • Paub txuj lug txhim khu cov thesaurus.
  • Lwm yam txuj yuav tsis doubt nthuav lawv tus kheej.

Leej twg yuav tsum tau nrhiav pawg neeg? Koj puas paub koj tus neeg zoo, tiam sis xav txog:

  • Yam tsawg kawg ib tug (thiab tej zaum tsuas muaj ib) NWS ib tug neeg uas to taub (los yog kawm tau) rau tweak mus nrhiav ntau txoj hau kev, xws li bets zoo tshaj, thesaurus, Managed long-term zog, yam.
  • Ob peb nwg ua hauj lwm uas tau nyeem daim ntawv hais txog txoj kev nrhiav, ingest nws thiab tham tej yam ua lag luam-txawj xav thiab ntse rau nws kom nws thawb cov nyees khawm, rub cov levers thiab qhib/kaw li qub raws li tsim nyog rau hauv pawg neeg tswv yim.
  • Ib los sis ntau tshaj ntawv architects uas tau validate, ib txoj kev los sis lwm, saib cov lus qhia architecture yog nrhiav tus phooj ywg thiab seb nws ua hauj lwm kom paub zoo txog cov enterprise.
  • Ib tog ntawm lub rooj yam. Nyob rau ib los yog ob tug neeg tsis nquag mus koom rau tej yam kev coj. Lawv coj tau txawv thiab zoo insights lub rooj.

Nyob zoo cais!

</kawg>

Subscribe rau kuv blog.

Ntawv cim npe Technorati: