A Common Place to Store all the Visual Scripts.

Hi,

 

I was just going through the best practices which we should adopt in Metastorm while making a project. So, for that I wanted to place all my Visual Scripts at a single place and then referencing them through the Form Events.

 

 

So, can anyone tell me whether it is possible or not to do it in Metastorm to seperate the visual scripts at a single place. I personally think there must be a  way to perform this else It becomes very hard to search out the visual scripts for any events on the form.

Find more posts tagged with

Comments

Sort by:
1 - 2 of 21

    Every event is in itself a visual script.  These are not re-usable and are only in the scope of the particular event "On Form Load".  You can create re-usable named visual scripts.  These can either be of project level or library level scope.  By using the promotion attributes you can make this Visual Script appear within the toolbox of other Visual Scripts, and can control the name, group, and event the icon used (see below).

    Promoted VS.jpg

     

    Becomes

     

    Promoted VS2.jpg

     

    There is one caveat about this.  Currently, re-usable visual scripts do not have a data context of their own (i.e. you can't use Business Objects) other than the default ProcessContext.  Also, you cannot pass data into it from a caling process/form.  This is somethig we will address in a future reelase.  In the mean time,you can work around these issues by using the FolderID to lookup any data you need via direct SQL statements.

    Thanks Rob !!

     

    Your solution given is really very helpful to me.

     

    Thanks again!!!!!

     

     

     

    Regards!!

     

    Amitabh.