Monday, December 17, 2007

How to create Scripting component

How to create Scripting component

    Step 1

    To create scripting component click on Scripting component located on your right hand side.


    Step 2

    Then drag it into the right hand side of the separator. Then script component wizard will appear.

    Step 3

    We will call it SprocessPoComponent.


    Step 4

    Then click Next to continue.


    Step 5

    Choose Static and then click on Next to continue.


    Step 6

    User need to specify a window script component file. In this example we used a sample script from Microsoft called PORequestApproval.wsc to continue.


    Step 7

    Since there are 3 function in this file, check all and then click on Next to continue.


    Step 8

    Accept the default and click on Finish when done.

    User will notice that there are 3 lines connecting to your scripting component that is the name of the method defined in your script.

No comments: