ಶೇರ್ಪಾಯಿಂಟ್ ಡಿಸೈನರ್ — ಬಳಕೆದಾರರ ಸಿ # ಕಾರ್ಯಗಳನ್ನು ನಿರ್ವಹಿಸಲು ಕಸ್ಟಮ್ ಚಟುವಟಿಕೆ

ನವೀಕರಿಸಲು: ಈ ಇಲ್ಲಿ CodePlex ಬಿಡುಗಡೆ ಮಾಡಲಾಗಿದೆ: http://www.codeplex.com/spdwfextensions

ನವೀಕರಿಸಲು: ಇತ್ತೀಚಿನ ಬಿಡುಗಡೆ ಟಿಪ್ಪಣಿಗಳಿಗಾಗಿ ಇಲ್ಲಿ ನೋಡಿ: http://paulgalvin.spaces.live.com/blog/cns!1CC1EDB3DAA9B8AA!381.entry

ನವೀಕರಿಸಲು: ಈ ಯೋಜನೆಯ ವಾಣಿಜ್ಯೀಕರಿಸುವಲ್ಲಿ ನನ್ನ ಆಲೋಚನೆಗಳು ಇಲ್ಲಿ ನೋಡಿ: 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 (ರವಾನಿಸು) any C# function that you incorporated into the linked assembly.

ಅಕ್ಟೋಬರ್ ರ, 2007, this is just an initial version of the project. I plan to expand it with a number of additional functions, ಸಬ್ ಸೇರಿದಂತೆ, ಸೂಚಿ, ಬದಲಿಗೆ, 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.

ನೀವು ಯಾವುದೇ ಕಾಮೆಂಟ್ಗಳನ್ನು ಹೊಂದಿದ್ದರೆ, ಪ್ರಶ್ನೆಗಳು ಅಥವಾ ಸಲಹೆಗಳು, ಕಾಮೆಂಟ್ಗಳನ್ನು ಅವುಗಳನ್ನು ಬಿಟ್ಟು ಅಥವಾ ನನಗೆ ಇಮೇಲ್ ಮಾಡಿ.

ಹಕ್ಕುತ್ಯಾಗ:

I make absolutely no claims as to the suitability of this for any purpose. Use at your own risk.

ಅನುಸ್ಥಾಪನ ಕ್ರಮಗಳನ್ನು (ಫಾರ್ಮ್ ಪ್ರತಿ WFE ಫಾರ್ ಅನುಸರಿಸಿಕೊಂಡು):

1. . ZIP ಡೌನ್ಲೋಡ್ ಮತ್ತು ಹೊರತೆಗೆಯಲು.

2. Install the .dll into the GAC. I usually open c:\Windows ವಿಧಾನಸಭೆ ವಿಂಡೋಸ್ ಎಕ್ಸ್ ಪ್ಲೋರರ್ ಬಳಸಿಕೊಂಡು ಮತ್ತು ಅಲ್ಲಿ ನಕಲಿಸಿ.

3. ಸುರಕ್ಷಿತ ನಿಯಂತ್ರಣಗಳನ್ನು ಗೆ ವಿಧಾನಸಭೆ ಸೇರಿಸಲು web.config ಮಾರ್ಪಡಿಸಿ:

<System.Workflow.ComponentModel.WorkflowCompiler>
<authorizedTypes>

<authorizedType Assembly="SpdGenericInterface, ಆವೃತ್ತಿ = 1.0.0.0, ಸಂಸ್ಕೃತಿ = ತಟಸ್ಥ, PublicKeyToken = abe076fd8125f3c4" Namespace="Nivlag" TypeName="*" Authorized="True" />

4. Copy "SpdGenericInterface.actions" ಸಿ ಗೆ:\ಕಾರ್ಯಕ್ರಮದಲ್ಲಿ ಕಡತಗಳನ್ನು ಸಾಮಾನ್ಯ ಕಡತಗಳು ಮೈಕ್ರೋಸಾಫ್ಟ್ ಹಂಚಿಕೆ ವೆಬ್ ಸರ್ವರ್ ವಿಸ್ತರಣೆಗಳನ್ನು 12 TEMPLATE 1033 ವರ್ಕ್ಫ್ಲೋ

ಮೇಲೆ ಸ್ಥಳ ಇಂಗ್ಲೀಷ್ ಭಾಷೆಯ ಅಳವಡಿಕೆಗಳನ್ನು ನಿರ್ದಿಷ್ಟ ಎಂಬುದನ್ನು ಗಮನಿಸಿ.

5. ಮುಚ್ಚಿ ಶೇರ್ಪಾಯಿಂಟ್ ಡಿಸೈನರ್ (ಇದು ಈಗಾಗಲೇ ಓಪನ್ನ ವೇಳೆ).

6. iisreset

7. ಎಸ್ಪಿಡಿ ತೆರೆಯಿರಿ ಮತ್ತು ಹೊಸ ಕೆಲಸದೊತ್ತಡದ ರಚಿಸಿ.

ಎಲ್ಲಾ ಚೆನ್ನಾಗಿ ಹೋದರೆ, ನೀವು ಕ್ರಿಯೆಯನ್ನು ಒಂದು ಹೊಸ ವರ್ಗದಲ್ಲಿ ಪ್ರತಿಫಲವಾಗಿ ಮಾಡಬೇಕು:

ಚಿತ್ರ

ಟಿಪ್ಪಣಿಗಳು:

ನೋಡು ಇಲ್ಲಿ (http://blogs.msdn.com/sharepointdesigner/archive/2007/03/15/adding-activities-to-spd.aspx) ಸೃಷ್ಟಿಸುವ ಪ್ರಕ್ರಿಯೆಯ ಒಂದು ಸೊಗಸಾದ ಅವಲೋಕನಕ್ಕಾಗಿ, ಈ ರೀತಿಯ ಪರಿಹಾರ ಅನುಸ್ಥಾಪಿಸಲು ಹಾಗು ಸಂರಚಿಸುವ.

. ZIP ನೀವು ಸಿ ನೇರವಾಗಿ ಹೊರತೆಗೆಯಲು ವಿನ್ಯಾಸಗೊಳಿಸಲಾಗಿದೆ:\ drive. If you do this, ನೀವು ಯೋಜನೆ ತೆರೆಯುತ್ತದೆ ಮತ್ತು ಎಲ್ಲಾ ದಾರಿಯನ್ನು ಸ್ಥಿರ ಇರುತ್ತದೆ.

ವಿಷುಯಲ್ ಸ್ಟುಡಿಯೋ ಈ ಬಳಸಲು, you probably need to install "Extensions for Windows WF".

The initial upload contains just one "dispatcher function", "ToLower()". To add more functionality, ತೋರಿಸಿರುವಂತೆ ವಿಧಾನ ಕಾರ್ಯಗತಗೊಳಿಸಲು ಸೇರಿಸಿ:

 ರಕ್ಷಣೆ ಸ್ವಯಂಚಾಲನೆಯ ಸ್ತಂಭನ ActivityExecutionStatus
          ಕಾಯಿದೆ(ActivityExecutionContext executionContext)
        {

            ದಾರ functionToDispatch;
            = functionToDispatch .DispatchFunction.ToLower();

            ಸ್ವಿಚ್ಚು (functionToDispatch)
            {
                ಪ್ರಕರಣ "tolower()":
                    {
                        .OutResult1 = .InParam1.ToLower();
                        ಬಿರುಕು;
                    }

                ಡೀಫಾಲ್ಟ್:
                    {
                        .OutResult1 = "Unknown function: [" + .DispatchFunction + "].";
                        ಬಿರುಕು;
                    }
            }

            ಮರಳಿ ActivityExecutionStatus.ಮುಚ್ಚಲಾಗಿದೆ;
        } // ActivityExecutionStatus

    }

ನಂತರ, re-build the project and copy the assembly to the GAC. I expect an iisreset would be required.

9 ಮೇಲೆ "ಆಲೋಚನೆಗಳುಶೇರ್ಪಾಯಿಂಟ್ ಡಿಸೈನರ್ — ಬಳಕೆದಾರರ ಸಿ # ಕಾರ್ಯಗಳನ್ನು ನಿರ್ವಹಿಸಲು ಕಸ್ಟಮ್ ಚಟುವಟಿಕೆ

  1. ಗೆರ್ರಿ ವ್ಹಿಟ್ವರ್ತ್
    I followed his directions and everything seemed to work until I choose the action in SP Designer. The designer did not paste the code in the workflow. I sent this guy an email and I guess he is too busy to respond.
    ನಾನು ಸಮಸ್ಯೆಯನ್ನು ನನ್ನ ಪರಿಹಾರ.
    Past the actions from "SpdGenericInterface.actions" into the "WSS.actions" file and it everything worked. I hope this helps others.
  2. Marco mancinelli
    ಎಲ್ಲಾ ಹೈ,
    ಯಾರಾದರೂ ನಾನು ಮಾರ್ಪಡಿಸಲು ಹೊಂದಿರುವ web.config ಫೈಲ್ ವಿವರಿಸಬಲ್ಲೆ? ಶೀಘ್ರದಲ್ಲೇ ಉತ್ತರಿಸಲು ದಯವಿಟ್ಟು.
  3. Marco mancinelli
    ಇದು ಉತ್ತಮ ಎಂಬುದು, ಆದರೆ ನಾನು ವಿಸ್ತರಣೆಯನ್ನು ಅನುಸ್ಥಾಪಿಸಲು ಸಾಧ್ಯವಿಲ್ಲ =(
    ನನ್ನ ಡಿಸೈನರ್ ಕಾನ್ ಇದು ನೋಡಿ ಆದರೆ ನಾನು ಅದನ್ನು ಕ್ಲಿಕ್ ಮಾಡಿದಾಗ ಯಾವುದೇ ಕಾಣಿಸಿಕೊಳ್ಳುತ್ತವೆ… ಸಹಾಯ ಮಾಡಿ… tnx.
  4. ಮೈಕ್ Mongeau

    ಖಂಡಿತವಾಗಿ ಒಳ್ಳೆಯದು ರೀತಿಯಲ್ಲಿ ಧ್ವನಿಸುತ್ತದೆ. ನಾನು ಕ್ರಿಯೆಗಳನ್ನು ಬಳಕೆ ಮತ್ತು ಪರೀಕ್ಷೆಯಲ್ಲಿನ ತೊಡಗಿಸಿಕೊಳ್ಳಿ ನಾವು ಇಷ್ಟಪಡುತ್ತೇವೆ. ಇದು ಸ್ಟ್ರಿಂಗ್ ಕಾರ್ಯಗಳನ್ನು ಎಸ್ಪಿಡಿ ಸೀಮಿತವಾಗಿದೆ ಎಂದು ನಿಜವಾದ ಇಲ್ಲಿದೆ, but the "Dynamic String Builder" ಸಾಕಷ್ಟು ಬಲಶಾಲಿ.

    <ಒಂದು href ="http://dataformwebpart.com">-Monjo </ಒಂದು>

  5. Bernard Lambeth

    I’m using this custom activity to Replace() ಕ್ರಿಯೆ. 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 ವೆಬ್)
    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(), as well. Have you seen this error? Do you have any suggestions on how to resolve it?

ಒಂದು ಉತ್ತರಿಸಿ ಬಿಡಿ Marco mancinelli ಉತ್ತರ ರದ್ದು

ನಿಮ್ಮ ಈಮೇಲ್ ವಿಳಾಸ ರ ಆಗುವುದಿಲ್ಲ. ಅಗತ್ಯವಿರುವ ಜಾಗ ಗುರುತಿಸಲಾಗಿದೆ *