UPDATE: Hii imekuwa iliyotolewa kwa CodePlex hapa: http://www.codeplex.com/spdwfextensions
UPDATE: Angalia hapa kwa maelezo ya karibuni kutolewa: http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!381.entry
UPDATE: Kuona hapa kwa mawazo yangu juu ya kibiashara ya mradi huu: 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 (dispatch) any C# function that you incorporated into the linked assembly.
Kama wa Oktoba mwishoni mwa, 2007, this is just an initial version of the project. I plan to expand it with a number of additional functions, ikiwa ni pamoja na substring, index, nafasi, 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.
Kama una maoni yoyote, maswali au mapendekezo, tafadhali waache katika maoni au email yangu.
Disclaimer:
I make absolutely no claims as to the suitability of this for any purpose. Use at your own risk.
Ufungaji hatua (kufuatwa kwa WFE kila aina katika shamba):
1. Download zip. Na dondoo.
2. Install the .dll into the GAC. I usually open c:\madirisha mkutano kutumia madirisha Explorer na nakala yake huko.
3. Kurekebisha web.config kuongeza mkutano na udhibiti salama:
<System.Workflow.ComponentModel.WorkflowCompiler>
<authorizedTypes>
<authorizedType Assembly="SpdGenericInterface, Version = 1.0.0.0, Utamaduni = neutral, PublicKeyToken = abe076fd8125f3c4" Namespace="Nivlag" TypeName="*" Authorized="True" />
4. Copy "SpdGenericInterface.actions" na C:\Mpango Files kawaida Files Microsoft Shared mtandao kompyuta upanuzi 12 KIOLEZO 1033 Workflow
Kumbuka kwamba mahali hapo ni maalum kwa mitambo ya lugha ya Kiingereza.
5. Karibu SharePoint Designer (ikiwa ni tayari kufungua).
6. iisreset
7. Kufungua SPD na kujenga workflow mpya.
Kama wote unaendelea vizuri, unapaswa watalipwa na jamii mpya ya hatua:
Maelezo:
Kuona hapa (http://blogs.msdn.com/sharepointdesigner/archive/2007/03/15/adding-activities-to-spd.aspx) kwa maelezo ya kali ya mchakato kwa ajili ya kujenga, kufunga na Configuring ufumbuzi kama hii.
Zip. Imeundwa ili kutoa moja kwa moja wewe c:\ drive. If you do this, unaweza kufungua mradi na njia yote itakuwa thabiti.
Kutumia hii katika studio ya Visual, you probably need to install "Extensions for Windows WF".
The initial upload contains just one "dispatcher function", "ToLower()". To add more functionality, kuongeza kwa Fanyeni njia kama inavyoonekana:
kulindwa override ActivityExecutionStatus
Kutekeleza(ActivityExecutionContext executionContext)
{
string functionToDispatch;
functionToDispatch = hii.DispatchFunction.ToLower();
kubadili (functionToDispatch)
{
kesi "tolower()":
{
hii.OutResult1 = hii.InParam1.ToLower();
kuvunja;
}
default:
{
hii.OutResult1 = "Unknown function: [" + hii.DispatchFunction + "].";
kuvunja;
}
}
kurudi ActivityExecutionStatus.Kufungwa;
} // ActivityExecutionStatus
}
Kisha, re-build the project and copy the assembly to the GAC. I expect an iisreset would be required.