HLOOV TSHIAB: Qhov no muaj lawm tso rau CodePlex no: http://www.codeplex.com/spdwfextensions
HLOOV TSHIAB: Ntawm no saib tseeb sau ntawv tso lus muab tawm rau cov: http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!381.entry
HLOOV TSHIAB: Saib ntawm no kuv xav nyob commercializing qhov project no: http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!569.entry
No yog ib qhov kev ib yam kev cai rau hauv SharePoint Designer. Siv txoj kev kev cai no yuav ua tau rau tus (dispatch) tej C# ua haujlwm uas koj ua tus los ua ke linked incorporated.
As of pib lub kaum hli ntuj, 2007, qhov no yog ib qho pib version ntawm qhov kev tsim. Kuv yuav nthuav nws muaj ntau zog ntxiv, xws li substring, Performance Index, hloov, invoking web kev pab thiab tej yam uas rau nkawd pab tau los nthuav. Kuv tseem npaj rau rooj vag qhov no rau codeplex thaum kuv muaj kuv cov cai ua ke rau hauv ntej ntawd. Qhov no kuj yuav deployable ua tus muab ntawm tej taw tes.
Yog hais tias koj muaj tej lus, yog muaj lus nug lossis tswv yim, thov koj cia rau hauv cov lus los yog email rau kuv.
Disclaimer:
Kuv yuav tsis thov kiag li raws li kev ntsuam no rau txhua lub hom phiaj. Siv koj tus kheej ntxim.
Installation ua ruam (yuav tau ua rau txhua tus WFE hauv lub teb):
1. Download tau lub .zip thiab extract.
2. Nruab ib lub .dll rau lub GAC. Kuv mas qhib c:\windowsassembly siv qhov rais explorer thiab daim ntawv nws muaj.
3. Hloov web.config ntxiv rau los ua ke los ntawm lwm yam uas zoo:
<System.Workflow.ComponentModel.WorkflowCompiler>
<authorizedTypes>
<authorizedType los ua ke = "SpdGenericInterface, Version = 1.0.0.0, Culture = nruab nrab, PublicKeyToken = abe076fd8125f3c4" Namespace = "Nivlag" TypeName = "*" Tso cai = "tseeb" />
4. Daim ntawv "SpdGenericInterface.actions" mus C:\Qhov kev pab cuam FilesCommon FilesMicrosoft Sharedweb neeg rau zaub mov extensions12TEMPLATE1033Workflow
Nco ntsoov tias ntawm qhov chaw nyob saum toj no yog hais rau cov kawm lus Askiv cov lus sib.
5. Kaw SharePoint Designer (Yog hais tias nws twb qhib).
6. iisreset
7. Qhib cov SPD thiab tsim tau ib cov workflow tshiab.
Yog hais tias txhua yam mus zoo, koj yuav tsum tau rewarded rau ib qeb kev tshiab:
Sau ntawv:
Saib ntawm no (http://blogs.msdn.com/sharepointdesigner/archive/2007/03/15/adding-activities-to-spd.aspx) rau ib tug paub cov txheej txheem kev tsim zoo kawg li, txhim kho thiab configuring tov nyiam qhov no.
Tus .zip yog tsim extract ncaj qha tuaj rau koj c:\ tsav. Yog koj ua li no, koj tuaj yeem yuav qhib tau lub qhov project thiab tag nrho cov paths yuav zoo ib yam.
Qhov no siv rau studio nrig txog kev pom, tej zaum koj yuav nruab "Extensions rau qhov rais WF".
Tus upload thawj zaug muaj ib tug "dispatcher muaj nuj nqi", "ToLower()". Ntxiv dua functionality, ntxiv ntawd mus nug Execute li:
kev tiv thaiv override ActivityExecutionStatus
Txim tuag(ActivityExecutionContext executionContext)
{
hlua functionToDispatch;
functionToDispatch = qhov no.DispatchFunction.ToLower();
hloov (functionToDispatch)
{
rooj plaub no "tolower()":
{
qhov no.OutResult1 = qhov no.InParam1.ToLower();
tawg;
}
neej ntawd:
{
qhov no.OutResult1 = "Tsis paub hais tias muaj nuj nqi: [" + qhov no.DispatchFunction + "].";
tawg;
}
}
rov qab los ActivityExecutionStatus.Kaw;
} // ActivityExecutionStatus
}
Ces, rov ua peb tes num thiab luam cov los ua ke rau lub GAC. Kuv cia siab tias tus iisreset yuav tsum.