Hli Archives: November 2007

NTXHUAB qhia rau kuv kuv sab npe hu Reserved los rau siv … Tab sis nws tsis yog

HLOOV TSHIAB 12/04/07: Saib no lub KB Microsoft (http://support.microsoft.com/kb/923589) lwm yam kev qhia.

Ua tau, nws puv tawm nws yog, tab sis npog tricksy NTXHUAB yuav tsum tau ua rau nws nyuaj.

Kuv ua neeg puas muaj tej yam kev ua hauj lwm rau ntawm nws qhov chaw NTXHUAB lub asthiv. Nws yog ib tug jumble raws li qhov nws tau ua ib me ntsis, tab sis qhov kawg no no:

  • Nws ncav mus muab ntxiv rau ib qhov chaw kem hu ua "kom muaj nuj nqis" thiab NTXHUAB replies: "Lub npe kem uas koj nkag mus lawm twb siv lossis reserved. Xaiv lwm lub npe."
  • Nws ntxiv mus rau lwm cov ib puag ncig thiab ntawd tej hauj lwm attempts. Yog li no, "Kom muaj nuj nqis" yog tsis muaj lub npe reserved.
  • Nws nws thiaj nrhiav tau tus uas twb muaj lawm ntawm kem hu ua "kom muaj nuj nqis" nyob rau hauv qhov chaw sau. Nws nrhiav tsis tau nws.

Kuv puas tau co kev tshawb, thiab txawm tias tej coding, waxed philosophical thiab thaum kawg pom tias ib kem hu ua kom muaj nuj nqis twg, qhov tseeb, nyob ua ib ke. Yog nyob rau hauv "_Hidden cov" ib pab. Li no, peb yuav tsis nrhiav tau ntawm lub SharePoint neeg interface.

Cas nws kis tau li cas muaj? kuv tsis paub, tab sis, kuv muaj ib qhov kev tshawb xav (los yog raws li kuv tus poj niam yuav hu xov tooj rau nws, "blah blah ua blah"). Qhov chaw nyob ntawm kab, ib tug xav tsis thoob plaub caug template yog ntxiv thiab ntshe tshuab txais ntawm ib qhov chaw nyob rau hauv qhov chaw sau ntawv. Nws tau ces deactivated (los yog qhov chaw raug tshem tawm). Qhov chaw sab, Txawm li cas los, tseem nyob tab sis nyob rau hauv lub "_Hidden" ib pab. Yog hais tias ib tug neeg paub zoo, thov qhia rau kuv paub ntawm email los tswg muaj nyob rau hauv cov lus.

SharePoint tau paub qhov tseeb. Nws yog kog muaj nqis taw kom paub tias cov lus ntawd tsi muaj pes tsawg li nws yuav yog. Ces yuav zoo saib ntawd diav rawg lus ntawd rau ob hom lus yav tom ntej: 1) Hais tias lub sab npe qhaib los tsis. 2) Yog hais tias nws yuav tsis qhaib, qhia tias lub site, los yog tsawg rau pawg, qhov uas cov kem npe twb siv.

</kawg>

Ntawv cim npe Technorati: , ,

Tam sim no OM ntaub ntawm ib daim ntawv teev kev cai (los sis, Tau lwm OM ntaub Displayor [zoo li YACC, sib txawv, tab sis])

Hnub no, Kuv siv ib handful teev nrhiav hauv lub hauv paus chiv keeb qab hais "lub npe kem uas koj nkag mus twb yog siv los qhaib. Xaiv lwm lub npe."

Yuav tsum tsim sab nug, deleted thiab nyob rau lwm lub chaw re-created, ces kuv paub nws tsis yog ib lub npe reserved. Txawm li cas los, Kuv cias tsis tau nrhiav sab qhov twg ntawm tus txheem SharePoint neeg siv interface ntawm kev kawm ntawv nyob rau hauv qhov chaw sau ntawv.

Kuv muab lo rau MSDN forums no thiab cov indomitable Andrew Woodward taw tes qhia kuv nyob rau hauv cov kev taw qhia txog cov lwm kwv qauv ntaub ntawv.

Kuv tau mus codeplex yuav nrhiav tau tej yam uas yuav pab tau kuv saib mus rau lwm tus OM ntawv thiab pab kuv nrhiav tau qhov teeb meem.

Kuv sim ntau yam thiab lawv tau txias heev thiab nthuav, tiam sis thaum kawg, tsis zoo txaus rau kuv qhov kev povhwm poob haujlwm. Kuv yuav tsis criticizing lawv los ntawm kev txhais tau tias, tiam sis hais meej makers tuam tsis muaj qhov teeb meem kuv nco thaum lawv tsim lawv kev povhwm poob haujlwm :). Neeg feem coob zoo li muaj pes tsawg lub sij hawm thiab dag zog rau txoj kev workstation kom ncaj ncees investing / nyob hauv kev pab daim ntaub ntawv uas muab ntoo views, right-click menus ntsiab lus teb ces yees. Cov no yog cov zoo thiab tag nrho, tab sis, nws yog ib txoj kev ua hauj lwm los tsim tau ib cov neeg siv saum-of-the-kab kev uas yog tau saj zawg zog heev heev.

Kuv yeej yuav tsum tau teb kom tau qhov teeb meem no. Nws tshwm sim rau kuv ntawd yog hais tias kuv yuav tau tag nrho cov kev kawm txhua rau hauv qhov chaw sau los ua ib daim ntawv teev kev cai, Kuv yuav lim, txheeb thiab tsim kev uas yuav pab tau kuv nrhiav tau ncej tag yuav supposedly uas twb muaj lawm no views (uas nws tau ua, BTW). Kuv mus tom ntej thiab ua ntawd thiab teev los yog ob tom qab, tas txhua yam kuv kawm ntawv txhua loaded rau hauv ib daim ntawv teev kev cai nrog grouping, sorting thiab li ntawd. Kuv nrhiav tau kuv teb 5 feeb tom qab.

Yog thiab thaum twg kuv ntse yuav tsum hla lub ntiaj teb no, Kuv xav tias kuv yuav decree tias txhua SharePoint cuab yeej cov neeg zov menyuam yuav tsum tiag xav txog surfacing lawv kwv qauv ntawv nyob rau hauv ib daim ntawv teev kev cai. Ua li ntawd mas, Kuv muaj lub zog mus nrhiav tej kev kuv xav (constrained, tau mas, los ntawm standard sharepoint nta).

SharePoint Designer Workflow kev cai txiav txim — Soj txog <FieldBind Designer yam =”StringBuilder” … />

Nyuam qhuav muaj ceev soj tias yog ib qho tseem ceeb sib txawv ntawm cov kev txhais ob:

<FieldBind teb = "InParam1" DesignerType = "StringBuilder" ID = "2" Phau ntawv = "Tswv yim parameter #1" />

tiv tiag:

<FieldBind teb = "InParam1" ID = "2" Phau ntawv = "Tswv yim parameter #1" />

Thawj qhia li no nyob rau hauv SPD:

duab

Thaum cov shows tom kawg li no:

duab

I’m not sure how helpful these screen shots are but I put in the effort to make them so you have to view them 🙂

Cov soj no puas yog: StringBuilder tso cai rau koj los ua ib txoj hlua (obviously) yog nws ua ke hlua literals thiab cov ntaub ntawv no workflow (ntawm tus "ntxiv Lookup" khawm hauv xa ces kaum sab). Thaum twg koj siv lub txhab Lookup khawm, nws inserts ib token nyob rau hauv daim ntawv"[%token %]". Thaum SharePoint invokes koj ua kev cai, (C# code hauv kuv tsev neeg), SharePoint kis tau token nws tus kheej, cov nqi tsis txog cov token. Yog koj siv lub neej ntawd designer hom (qhov thib ob hom), SharePoint lub token thiab kis tau cov nqi ntawm cov token rau koj kawg ua.

StringBuilder = phem, default designer yam = zoo.

tau mas, yog tsis txhais li cas kuv yeej. Xwb tsis txhob sim thiab kis tau ib tug parameter kom koj ua kev cai hais tias daim designer ntaus ntawv = StringBuilder. Siv lub neej ntawd yam designer thiab saw ib StringBuilder kom nws mus txog rau pem ntej yog hais tias koj xav tau kom lawv muaj cov txoj hlua rau koj workflow (nws incidentally yog raws nraim li cas ib tug yuav tsim ib tug ntawv uas muaj lub email dynamic, tiam sis yog ib tug kawm rau lwm nkag teb chaws blog, har har).

<kawg />

Ntxov ntxov Workflow ua kom — Ib cov tshuaj uas tsis yog kev kho mob

HLOOV TSHIAB: Pom tau qhov sib tham no MSDN, tus nkag teb chaws kawg tshwj xeeb: http://forums.microsoft.com/MSDN/showpost.aspx?postid=2631057&siteid=1. Nws piav ib yam mob uas tej zaum short circuit no tseem tshaj plaws. Hauv ntej, nws yuav yooj yim sai li ua yam tsawg los ib teb Individual.

Kuv muaj ib daim ntawv qiv uas tuav cov hom yim.

Kuv muaj ib tug workflow SharePoint Designer xav mus rau xam thiab cob lub "ceeb toom hnub" los cias subtracting 30 hnub ntawm ib sab, "hnub so". Qhov no yuav tsuas tshwm sim rau ib hom kawm ntawd, "Pov hwm". Lub hom phiaj ua hauj lwm yog tsim kom tau ib cov KPI uas muaj ob hom ntaub ntawv tuav pov hwm uas: "txog rau expire" thiab "tso cai?." (Koj yuav nyeem ntxiv txog yam no ntawm KPI thiab ntau ntau yam pauv loj laum-down ntawm no).

Kuv muaj configured lub workflow los txo thaum tsim ib yam tshiab thiab thaum twg ib yam hloov. Tsab cai idea yog tias thaum muaj ntawv tuav pov hwm yog uploaded, Peb xam lub "ceeb toom hnub" raws li hnub tas kas nuv. Ib nkawm views ua hauj lwm muaj feem rau ib daim ntawv teev KPI los highlight cov mob no thaum neeg siv cov ntaus lawv qhov home page.

Qhov uas zoo tsis ua hauj lwm thaum kuv upload ib qho ntaub ntawv.

Daim ntawv upload kuv thiab kuv nyob nrog lub meta tej ntaub ntawv nkag teb chaws npo. Thaum no tus taw tes, Kuv twb nyob rau teeb meem. SharePoint twb twb, ntawm kuv foundations prematurely, raug rho tawm haujlwm lub workflow. Kuv tsis muaj sij hawm rau tej yuav cob ib hnub tsis de cov seb puas muaj tseeb. Tib lub sij hawm, cov workflow nrho tsis tau thaum kuv ntaus submit khawm zaum no. Muaj ib co built-in logic uas "ntseeg hais tias" uas xub xa yog ib feem ntawm qhov "tsim" hem. Li ntawd … Kuv workflow raug rho tawm haujlwm lawm thiab thaum nws tseg, nws kis tau vim meta cov ntaub ntawv qhov tseem ceeb.

Tus zoo ua haujlwm-ncig kuv paub tias yuav mus tau ntxig "mas mus txog" yam nyob hauv lub workflow. Kuv xav mas workflow rau 1 feeb. Txawm nws yog pausing, Cov hom yog xaiv kuv, sau cov ntaub ntawv meta, thiab muab. Cov mas tub num tsoom sau thiab qhov workflow proceeds ntxiv. (Nco ntsoov tias nyob rau hauv kuv ib puag ncig, timer workflow si los SPD tsis ua hauj lwm hauv lub thawv. Tej zaum koj yuav raug qhov teeb meem qub. Saib ntawm no rau ntxiv).

Kuv tsis nyiam "magic qeeb" ua-ib ncig. Ua li cas yog hais tias tus neeg siv uploads ib qho ntaub ntawv thiab cov xov tooj rings thiab qhov sib tham ensuing outlasts tus mas? Kuv yuav ua tus mas ntev, tab sis kuv tseem tsis nyiam nws.

Kuv thiaj sau hais txog qhov no rau hauv forums no los MSDN li no: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2430725&SiteID=1

SharePoint Security Fundamentals Primer / Tsis txhob muaj cov Pitfalls khaub

HLOOV TSHIAB 12/18/07: Saib Paul Liebrand tshooj rau ib co kev zoo kev tshem tawm los yog modifying lub neej ntawd pab pawg npe (koj saib nws saib cov hauv qab no kom zoo).

Txheej txheem cej luam:

SharePoint ruaj ntseg yuav yooj yim rau configure thiab hwj. Txawm li cas los, nws muaj proven tsis yooj yim rau ib co sij hawm ua ntej thawj xibfwb qhwv tes puag ncig ntawd yeej. Tsis tas li ntawd, Kuv pom muaj ib co thawj xibfwb tuaj nkag siab rau hnub Zwj Hli xwb los tau ploj ntawm Friday vim lawv tsis tau ua lus configuration nyob rau lub sij hawm intervening zoo meej. (Kuv yuav coj tau qhov teeb meem no muaj kuv tus kheej lees). No nkag teb chaws blog hopefully qhia ib pab SharePoint ruaj ntseg primer thiab cov ntsiab lus ntawm ib co ruaj ntseg configuration qha.

Lus tseem ceeb:

Cov hauj lwm no yog xyuas los ntawm mus rau ntawm lub box SharePoint ruaj ntseg. Kuv tus kheej kev yog oriented NTXHUAB thaj tsam li no tej zaum yuav muaj ib co NTXHUAB tej khoom no, tab sis kuv ntseeg tias nws yuav yog rau WSS. Kuv cia siab tias leej twg pom cov lus kom raug los omissions yuav taw tes uas hauv cov lus los yog email rau kuv. Kuv mam li ua corrections rooj vag mus ceev.

Fundamentals:

Rau cov hom phiaj ntawm qhov txheej txheem cej luam, muaj plaub siv kev kom ruaj: cov neeg los ib pawg, securable khoom, tso cai ntxiv thiab tej ncaus.

Cov neeg thiab ib pawg cia rau:

  • Cov neeg uas ib tug neeg: Rho tawm dhia daim keeb kwm los created hauv SharePoint.
  • Tej pawg: Mapped ntawm lub directory los yog tsim nyob rau hauv SharePoint. Pawg no tus sau los ntawm cov neeg. Yog ntiaj teb no nyob rau hauv ib qhov chaw sau tej pawg. Lawv yeej ib txwm tsis "tied" muaj kev tawm tsam securable.

Securable khoom khis cia kom tsawg:

  • Chaw
  • Daim ntawv qiv
  • Yam khoom ntawd npe thiab daim ntawv qiv
  • Folders
  • Ntau cov chaw BDC.

Muaj lwm yam khoom uas securable, tab sis, koj yuav tau daim duab.

Tso cai ntau ntau: Ib lub nras uas ntau / tej txoj cai uas tsis muaj kawm ntawv uas muaj tej yam li ua/nyeem/rho tawm nkag hauv lub npe.

Ncaus: Los ntawm cov chaw vim inherit cov chaw ruaj ntseg ntawm cov twj paj nruas uas muaj. Ncua lub chaw inherit txoj kev tsocai los ntawm nws niam nws txiv. Daim ntawv qiv ntawm lawv qhov chaw inherit. Hais txog thiab li ntawd.

Cov neeg siv thiab pawg txheeb securable khoom ntawm tso cai ntxiv thiab tej ncaus.

Cov tseem ceeb tshaj plaws Security cai To taub, Ever 🙂 :

  1. Pawg no cias collections ntawm cov neeg.
  2. Yog ntiaj teb no nyob rau hauv ib qhov chaw sau tej pawg (i.e. yog tsis muaj zoo li no uas yog ib cov lus sau tseg rau hauv ib qhov chaw tiaj).
  3. Pab pawg neeg lub npe tsis withstanding, pawg tsis, nyob rau hauv thiab ntawm lawv tus kheej, muaj tej tug theem ntawm kev ruaj ntseg.
  4. Pawg muaj kev ruaj ntseg hauv lub ntsiab lus teb ib securable hais kwv.
  5. Koj yuav cob cov qib sib txawv tso cai mus rau cov pab pawg neeg tib yam rau txhua txhua tus kwv securable.
  6. Web daim ntawv cai trump nov tag nrho (saib hauv qab).

Ruaj ntseg thawj xibfwb poob rau hauv lub hiav txwv los ntawm kev faib pab pawg neeg thiab cov neeg siv yeej ib txwm khi cov axioms los tswj thiab to taub txog cov kev ruaj ntseg configuration.

Hom Pitfalls:

  • Pab pawg neeg cov npe yees tsi tso cai: Mus rau ntawm lub box, SharePoint nyiaj thiab lub sij txheej pawg uas lawv cov npe teev ib theem ntawm kev ruaj ntseg xam qhovkev. Xav txog rau pawg "Contributor". Ib qho txawv uas ruaj ntseg SharePoint yuav zoo saib ntawd lub npe thiab tias tias pawg neeg yuav "pab txhawb kev pov plob" mus rau lwm qhov chaw/sau/tsev qiv ntawv hauv lub portal. Uas tej zaum yuav muaj tseeb tiam sis tsis tau vim tias cov pab pawg neeg lub npe zoo li yuav tau "contributor". Qhov no tsuas mus rau ntawm lub box muaj tseeb vim hais tias cov pab pawg neeg tau muab daim ntawv tso cai npaum li uas lawv mus ntxiv/hloov/rho tawm kawm ntawm lub hauv paus kawm ntawv enables. Los ntawm ncaus, "contributors cov" pab pawg neeg kuj yuav ntxiv/hloov/rho tawm ntsiab lus ntawm txhua qhov chaw ncua. Ib tug yuav "tawg" qhov ncaus saw thiab pauv kev tso cai lawm ib ncua ntawm tej tus neeg ntawm qhov sib "Contributor" pab tsis tau pab txhawb txhua, tab sis, tsuas nyeem (Piv txwv). Qhov no yuav tsis muaj ib lub tswv yim zoo, obviously, vim nws yuav ruam heev tag.
  • Pawg no tsis txhais ntawm ib qhov chaw tiaj. Nws yog ib qho yooj yim uas totaub los ntawm cov neeg interface. Microsoft muaj ib qhov txuas yooj yim rau cov neeg siv/pab pawg neeg tswj ntawm txhua qhov chaw tus "neeg thiab ib pawg" txuas. Nws yog ib qho yooj yim uas ntseeg tias thaum kuv tab tom kawm ntawv "xyzzy" thiab kuv tsim tau ib pab los ntawm xyzzy tus neeg thiab ib pawg txuas uas kuv twb nyuam qhuav yuav tsim cov ib pawg uas tsuas tshwm sim nyob xyzzy. Uas yog tsis tau hais. Kuv twb tau tsim ib pawg rau cov tseem kawm ntawv sau.
  • Pawg koom tsis txawv ntawm qhov chaw (i.e. Nws yog ib yam qhov txhia chaw siv rau pawg): Xav txog cov pab pawg neeg "tswv" thiab ob qhov chaw, "HR" thiab "Logistics". Ces yuav tsis xav tias ob dua lwm cov neeg uas yuav muaj cov chaw — tus HR cov tswv tsev thiab tus tswv tsev Logistics. Tus neeg siv interface ua kom yooj yim rau ib tug neeg khiav dej num ruaj ntseg rau mishandle no scenario. Yog hais tias kuv tsis paub zoo, Kuv yuav nkag tau rau neeg thiab ib pawg txog ntawm tus HR chaw, xaiv "tswv lub" pab pawg neeg thiab ntxiv kuv HR tswv rau ntawd. Ib hlis tom qab, Logistics los ntawm kab. Kuv saib cov neeg thiab cov neeg nyob ua ke ntawm lub Logistics site, ntxiv rub tau "tswv lub" ib pab. Kuv pom tus HR tswv muaj thiab tshem nws, xav tias kuv yuav hle nws los ntawm tus tswv tsev rau lub Logistics site. qhov tseeb, Kuv yuav hle nws los ntawm tus tswv neeg ntiaj teb no. Hilarity ensues.
  • Failing rau npe pawg raws li ib tug: "Approvers cov" ib pab neeg yog ib tug piv txwv zoo meej. Neeg no pab approve yuav zoo li cas? Lawv yuav pom tau tias qhov twg? Kuv yeej xav tsi neeg Logistics koom tau pom zoo HR cov ntaub ntawv? Tau kawg tsis. Yuav tsum rau npe pawg raws li lawv lub luag hauj lwm nyob rau hauv lub koom haum. Qhov no yuav pab txo kom tias cov kev pab yog muab ib theem tej kev tso cai rau ib qho securable kwv. Lub npe pawg raws cov luag hauj lwm intended. Nyob rau hauv tus HR/Logistics scenario dhau los, Kuv yuav tsum tau tsim ib pawg ob tug tshiab: "HR cov tswv" thiab "Logistics tswv" thiab cob cov paub tab paub xav tso cai ntau ntau rau neb thiab nyiaj yam tsawg kawg nkaus uas rau cov neeg siv cov ua lawv txoj hauj lwm.

Lwm yam chiv keeb uas pab tau:

Yog hais tias koj twb ua nws qhov no kom deb deb:

Thov qhia rau kuv paub tias koj kev xav mentsis ntawm cov lus los sis email rau kuv. Yog koj paub lwm yam chiv keeb zoo, thov koj ua zoo li qub!

Ntawv cim npe Technorati:

Txoj kev sai thiab yooj yim: Tsim ib cov ntaub ntawv saib Web feem (DVWP)

Muaj ib tug wealth yawm hais txog ntawm tus WSS 3.0 Tej ntaub ntawv saib Web site qhov (DVWP) nyob rau web los ntawm ntau qhov chaw. Txawm li cas los, Kuv pom tias nws yuav tsis yooj yim kuj ceeb tias yuav nrhiav tau cov lus qhia ntawm no thawj kauj ruam yooj yim heev. Ntawm no yog ib tsab xov xwm nyob rau hauv "txoj kev sai thiab yooj yim" Series nyob rau nws.

Ua raws li cov kauj ruam yuav tsim ib tug ntawv saib Web site qhov (DVWP). Lawv yog raws "Tshajtawm ib" cov qhov Web site, tab sis, feem ntau cov npe rau koj.

  1. Tsim kev tshajtawm web Tshooj thiab ntxiv mus rau ib qhov chaw.
  2. Qhib lub site los rau SharePoint Designer.
  3. Qhib lub site default.aspx.
  4. Xaiv ib sab Tshajtawm web thiab right-click.
  5. Ntawm lub ntsiab lus teb ntawv qhia ua zaub mov, xaiv "sau tug ntawv hloov ua lwm yam kom xLT tej ntaub ntawv saib".

SharePoint Designer ceeb rau koj hais tias qhov Web site no yog tam sim no Mekas los ntawm nws qhov chaw txhais. Uas yog tsis tas tsis zoo, tiam sis yog ib qho tseem ceeb uas siv (kev kawm, txawj tej yam ntxiv, lwm tus) uas muaj tshaj li qhov uas cov no me ntsis "ceev thiab yoojyim" nkag. Kom paub ntau ntxiv txog cov ntawv no, Kuv xav ob phau ntawv ntawm no as Well as koj tsis mus nrhiav hauv Internet nyiam.

Tshawb kom paub tseeb tias koj ua nws thwj:

  1. Kaw thiab rov qhib cov qhov web browser (yuav tsum tsis txhob ntawd rov ntaus tej ncauj lus tus thawj "ntxiv cov qhov web tshiab").
  2. Xaiv cov Web site qhov tus xub nco-down thiab xaiv "hloov koom Web site qhov" los ntawm cov ntawv qhia zaub mov.
  3. Tus tuam vaj huam sib luag rau txoj cai opens.
  4. Lub vaj huam sib luag tau hloov los ntawm nws cov teeb li ib txwm xaiv tau qhov no:
duab

“Tsis tau daim ntawv teev khoom schema qhia kiag los rau ntawm daim ntawv SharePoint” — hauj lwm/ua hauj lwm-arounds

Lub lim tiam no, peb thaum kawg tswv cuab txog ib qho teeb meem uas tau raug tus mob no los ntawm ib tug neeg siv tej thaj chaw deb: Thaum twg nws sim export tus txheem ntawm ib daim ntawv teev kom mus zoo, tej yam uas yuav zoo li rov ua haujlwm, tab sis, ces cov Excel xav pop txog ib qho kev ua yuam kev: "Tsis tau daim ntawv teev khoom schema qhia kiag los ntawm daim ntawv SharePoint". Nws twb khiav chaw ua hauj lwm 2003, XP qhov rais thiab txuas rau NTXHUAB.

Nrhiav cov Internets thiab pom cov speculation tab sis tsis muaj dab tsi 100% kuj. Li no, no ncej.

Qhov teeb meem: Exporting ib tug saib kom mus zoo uas muaj ib hnub (hnub tim = tus ntawv hom sab).

Dab tsi ua hauj lwm rau peb: Siv lub hnub los ib tug "hluas kab hauv phau ntawv". Ces, hloov rov qab mus rau ib hnub.

Solved uas. Yog pom tias tus conversion ua hauj lwm zoo, ua tau. Yog tias converting yam li no yuav tsis tshee heev, tiam sis nws tsis.

Ces muab pov cov kab no muaj tseg ib tug duab ntxoo loj loj nyob rau hnub ntawv seb nyob rau hauv tus neeg lub siab, li ntawd, peb mus nrhiav kom paub cov lus teb los ntawm Microsoft kuj thiab hopefully kuv mam tswg hloov ntawm no nyob rau tom ntej tsis muaj sijhawm ntau nrog lawv zaj lus teb thiab hotfix lus.

Lwm yam chiv keeb:

http://www.kevincornwell.com/blog/index.php/cannot-get-the-list-schema-column-property-from-the-sharepoint-list/

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2383611&SiteID=1

<kawg>

Subscribe rau kuv blog.

Ntawv cim npe Technorati: ,

Yooj yim thiab ceev thaum: Xa tus email nrog embedded hyperlink ntawm SharePoint Designer workflow

Hli ib zaug los yog ob zaug, ib tug neeg posts ib lo lus nug hauv rooj sab laj: "Cas ua kuv li hyperlinks rau URL ntawv uas yog los ntawm ib cov SharePoint Designer email clickable?"

Hais tsis tau ntxiv saib: (zoo, yeej yog saib ntxiv tom qab daim duab):

duab

Becky Isserman raws nrog ib tus pab piav embed ib qhov txuas rau ib yam khoom rau tus email no yuav ua li cas: http://www.sharepointblogs.com/mosslover/archive/2007/11/20/addition-to-paul-galvin-s-post-about-sending-an-e-mail-with-hyperlinks-in-spd.aspx

Ntawv cim npe Technorati: , ,

Tshiab tawm: SharePoint Designer Workflow Extensions (txoj hlua manipulation zog)

HLOOV TSHIAB: Saib ntawm no kuv xav nyob commercializing qhov project no: http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!569.entry

Kuv twb tau tibneeg hu tauj coob khiav hauj lwm rau kuv qhov project Codeplex uas yog presently kws tsom rua kev muab txoj hlua manipulation extensions mus workflows tsim ntawm SharePoint Designer.

Ntawm no saib kom paub meej:

Lub tsev qhov project: http://www.codeplex.com/spdwfextensions

Tso tawm: https://www.codeplex.com/Release/ProjectReleases.aspx?ProjectName=spdwfextensions&ReleaseId=8280

Version 1.0 muaj cov yam ntxwv tshiab li nram no:

Muaj nuj nqi Hauj lwm lawm (Yog hais tias tsis tib yam li muaj nuj nqi .net)
Num nkag() Tus nab npawb "nkag rov qab los" nyob rau hauv ib txoj hlua as per ib daim kev cai tswjhwm delimiter.

Piv txwv: Num-nkag rau hauv ib txoj hlua "ib,b,c" nrog delimiter"," = 3.

Nkag() Cov nth token rov rau hauv ib txoj hlua as per ib daim kev cai tswjhwm delimiter.
Ntev String.Length
Hloov() String.Replace()
Muaj() String.Contains()
Rov lo lus "tseeb" los sis lo lus "tsis tseeb".
Substring(pib) String.Substring(pib)
Substring(pib,ntev) String.Substring(pib,ntev)
ToUpper() String.ToUpper()
ToLower() String.ToLower()
StartsWith() String.StartsWith()
Rov lo lus "tseeb" los sis lo lus "tsis tseeb".
EndsWith() String.EndsWith()
Rov lo lus "tseeb" los sis lo lus "tsis tseeb".

Yuam ib tug BDC runtime kev piav

Kuv los yuam ib tug BDC kev no lub limtiam uas manifested nws tus kheej rau cov neeg siv interface thiab ua tus 12 nas muv cav Thaum runtime.

Ua ntej, qhov no nyob hauv cov neeg interface:

Kuj tsis paub liaj teb mus tau ntxig yaam tseem ceeb txhua lub Identifier nuav los yog txim tuag SpecificFinder MethodInstance nrog lub npe … Xyuas input tsis tau nrog txhua Identifier uas sau tseg rau qhov chaw no TypeDescriptors.

Ntawm no yog ib qho screen txhaj:

clip_image001

Kuv tseem ua txoj xov tshwm nyob rau lub 12 nas muv ca thaum yuav (siv kuv patented high-tech-don't-try-this-at-home uas "mysterious tsis" txujci):

11/14/2007 09:24:41.27 w3wp.exe (0x080C) 0x0B8C SharePoint Portal neeg rau zaub mov ua lag ua luam cov ntaub ntawv 6q4x High kos hauv BusinessDataWebPart.OnPreRender: System.InvalidOperationException: Cov nqi no Identifier ”, yam ”, yog invalid. Xav pom Identifier tus nqi rau cov hom 'System.String'. tom Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Entity.FindSpecific(Nruas[] subIdentifierValues, LobSystemInstance lobSystemInstance) tom Microsoft.SharePoint.Portal.WebControls.BdcClientUtil.FindEntity(Qhov chaw qhov chaw, Nruas[] userValues, LobSystemInstance lobSystemInstance) tom Microsoft.SharePoint.Portal.WebControls.BusinessDataItemBuilder.GetEntityInstance(Saib desiredView) tom Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsWebPart.GetEntityInstance() tom Microsoft.SharePoint.Portal.WebControls.BusinessDataDetailsWebPart.SetDataSourceProperties()

Kuv nrhiav ib ncig thiab nrhiav tau tej yam ua nyob rau hauv lub Rooj sab laj MSDN, tab sis lawv tsis txaus kuv nkag siab kuv yog ua dab tsis ncaj ncees lawm. Kuv saib ib webcast los Ted Pattison uas kuv niaj hnub muaj squirreled mus rau ib tug neeg rau zaub mov thiab tuaj kom paub kuv qhov teeb meem.

Nyob rau hauv kuv ADF, Kuv yuav siv rau ib SQL database li:

            <Khoom Lub npe="RdbCommandText" Hom="System.String">
              <![CDATA[
                XAIV SETID, CARRIER_ID, EFFDT, DESCR, EFF_STATUS, TAXPAYER_ID, NETWORK_ID, FRT_FORWARD_FLG, ALT_NAME1, ALT_NAME2, LANGUAGE_CD,
                      LUB TEB CHAWS, ADDRESS1, ADDRESS2, ADDRESS3, ADDRESS4, LUB ZOS, NUM1, NUM2, HOUSE_TYPE, ADDR_FIELD1, ADDR_FIELD2, ADDR_FIELD3,
                      CHEEB NROOG, LUB XEEV, KOJ, GEO_CODE, IN_CITY_LIMIT, COUNTRY_CODE, XOV TOOJ, EXTENSION, FAX MUS, LAST_EXP_CHK_DTTM, FREIGHT_VENDOR,
                      INTERLINK_DLL, TMS_EXCLUDE_FLG los dbo.PS_CARRIER_ID_VW nrog (nolock)
                QHOV TWG
                  (SETID <> 'FEEM') thiab
                  (qis(CARRIER_ID) >= sab(@MinId)) thiab
                  (qis(CARRIER_ID) <= sab(@MaxId)) thiab
                  (qis(DESCR) NYIAM sab(@InputDescr))
                ]]>
            </Khoom>

Kuv tau muab qhov SQL los ntawm ib tug neeg DBA thiab kuv muab kuv mus nkag siab hais tias nws yog ib tug tshwj xeeb saib lawv tsim cia rau kuv. Cov yuam sij nws yog CARRIER_ID.

Ntawm no yog cov yoov nkag tau kuv:

      <Identifiers>
        <Identifier Lub npe="CARRIER_ID" TypeName="System.String" />
        <Identifier Lub npe="DESCR" TypeName="System.String" /> 
</Identifiers>

Qhov chaw nyob ntawm kab, Kuv tswj tau rau kuv tus kheej lawm lub ntsiab ntawm yam <Identifiers> thiab ntxiv DESCR txawm tias tsis tau ib identifier. Kuv muab DESCR lub teeb identifiers thiab presto! Nws cov ua haujlwm.

I hope this saves someone some grief 🙂

Ntawv cim npe Technorati: , , ,