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.
mo Dearthóir con é a fheiceáil ach nuair mé cliceáil ar sé rud ar bith le feiceáil… cabhrú le do thoil… tnx.
Cinnte fuaimeanna cosúil le smaoineamh maith. Ba bhreá liom a bheith páirteach sa úsáid agus tástáil na feidhmeanna. Tá sé fíor go bhfuil na feidhmeanna teaghrán teoranta i SPD, but the "Dynamic String Builder" Tá go leor cumhachtach.
<a href ="http://dataformwebpart.com">-Monjo </a>
I’m using this custom activity to Replace() fheidhm. The farm is SharePoint 2007, with load-balanced web front-ends. I am getting intermittent failure to start errors, but the workflows usually restart in 5 – 15 min. I believe the timer jobs Workflow and Workflow Failover are restarting the workflows. I reviewed the SharePoint logs, and finally caught this error.
RunWorkflow: Microsoft.SharePoint.SPException:
at Microsoft.SharePoint.Workflow.SPNoCodeXomlCompiler.LoadXomlAssembly(String assmNameIn, SPWeb gréasáin)
at Microsoft.SharePoint.Workflow.SPWinOeHostServices.CreateInstance(Guid trackingId, SPWorkflow workflow)
at Microsoft.SharePoint.Workflow.SPWinOeEngine.RunWorkflow(Guid trackingId, SPWorkflowHostService host, SPWorkflow workflow, Collection`1 events, TimeSpan timeOut)
at Microsoft.SharePoint.Workflow.SPWorkflowManager.RunWorkflowElev(SPWorkflow originalWorkflow, SPWorkflow workflow, Collection`1 events, SPRunWorkflowOptions runOptions)
I found a reference to this error on another blog, http://www.kentd.com/index.php/all-blog/218-nivlag-and-spdgenericinterface. The author indicated he was using the custom actitivity Replace(), chomh maith. Have you seen this error? Do you have any suggestions on how to resolve it?
Sorry I never responded. At thi’s point, it’s probably moot. I hope you were able to resolve it.