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:
Thaum cov shows tom kawg li no:
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 />
Tsim kev cai workflow ua yog ib qho yooj yim heev, sim no,
http://sarangasl.blogspot.com/2009/11/sharepoint-workflow-actions-for.html