Script Assemblies

In this topic: Hide

 

External .Net Assemblies can be called by internal scripts, including global or private assemblies. Which assemblies are made available to script-writers is determined by the Script Administrator.

Script Configuration

You can add .Net Assemblies using the Script Configuration dialog. To access this dialog, use the menu Document>ScriptConfig.

Add External Assembly

To add an external assembly that is in the GAC:

1.     Click Add.

a.     Type in the name of the Assembly library.

b.     Click OK.

2.     Click Save.

Add External Custom Assembly

To add an external custom assembly that is not in the GAC:

1.     Click Add.

a.     Type in the full path and file name of the custom Assembly library.

b.     Click OK.

2.     Click Save.

Use the Custom Assembly in a Script

When creating your script, add the declaration and use your custom assembly.

As a result of executing the script in the example above, the report now looks like this: