Suas chun dáta: Tá sé seo le scaoileadh CodePlex anseo: http://www.codeplex.com/spdwfextensions
Suas chun dáta: Féach anseo le haghaidh nótaí scaoileadh is déanaí: http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!381.entry
Suas chun dáta: Féach anseo le haghaidh mo smaointe ar thráchtálú an tionscadal seo: http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!569.entry
This project provides a custom activity in SharePoint Designer. Use this custom activity to invoke (seolta) any C# function that you incorporated into the linked assembly.
Amhail Deireadh Fómhair go déanach, 2007, this is just an initial version of the project. I plan to expand it with a number of additional functions, lena n-áirítear bhfotheaghrán, Innéacs, ionad, invoking web services and anything that seems useful or interesting. I also plan to post this to codeplex once I have my act together on that front. This will also be deployable as a solution at some point.
Má tá aon tuairimí agat, ceisteanna nó moltaí, iad a fhágáil i tuairimí nó ríomhphost chugam le do thoil.
Séanadh:
I make absolutely no claims as to the suitability of this for any purpose. Use at your own risk.
Céimeanna a shuiteáil (a leanfar i gcás gach WFE an bhfeirm):
1. Íoslódáil an. Zip agus sliocht.
2. Install the .dll into the GAC. I usually open c:\fuinneoga tionól ag baint úsáide as fuinneoga taiscéalaí agus é a chóipeáil ann.
3. Athraigh web.config chun an tionól a chur leis na rialuithe sábháilte:
<System.Workflow.ComponentModel.WorkflowCompiler>
<authorizedTypes><authorizedType Assembly="SpdGenericInterface, Leagan 1.0.0.0 =, Cultúr = neodrach, PublicKeyToken = abe076fd8125f3c4" Namespace="Nivlag" TypeName="*" Authorized="True" />
4. Copy "SpdGenericInterface.actions" le C:\Program Files Common Files Microsoft Roinnte síntí fhreastalaí gréasáin 12 TEIMPLÉAD 1033 Sreabhadh Oibre
Tabhair faoi deara go bhfuil an suíomh thuas go sonrach le suiteálacha teanga Béarla.
5. Dún SharePoint Dearthóir (má tá sé ar oscailt cheana).
6. iisreset
7. Oscail SPD agus sreabhadh oibre nua a chruthú.
Má théann gach maith, ba chóir duit a bronntar le catagóir nua gníomhaíochta:
Nótaí:
Féach anseo (http://blogs.msdn.com/sharepointdesigner/archive/2007/03/15/adding-activities-to-spd.aspx) dhéanamh d'fhorbhreathnú iontach ar an bpróiseas a chruthú, a shuiteáil agus a chumrú le réiteach mar seo.
Tá an. Zip deartha a bhaint go díreach chun tú c:\ drive. If you do this, Is féidir leat a oscailt an tionscadal agus beidh na cosáin a bheith comhsheasmhach.
Chun seo a úsáid i amhairc stiúideo, you probably need to install "Extensions for Windows WF".
The initial upload contains just one "dispatcher function", "ToLower()". To add more functionality, é a chur leis an modh Rith mar a thaispeántar:
chosaint shárú ActivityExecutionStatus Rith(ActivityExecutionContext executionContext) { teaghrán functionToDispatch; functionToDispatch = seo.DispatchFunction.ToLower(); athrú (functionToDispatch) { cás "tolower()": { seo.OutResult1 = seo.InParam1.ToLower(); bhriseadh; } réamhshocraithe: { seo.OutResult1 = "Unknown function: [" + seo.DispatchFunction + "]."; bhriseadh; } } ar ais ActivityExecutionStatus.Dúnta; } // ActivityExecutionStatus }
Ansin,, re-build the project and copy the assembly to the GAC. I expect an iisreset would be required.