Create a Visual Basic script - Manage Documents - Foundation 24.1 - Foundation 24.1 - Ready - Perceptive Content - external

Manage Documents

Platform
Perceptive Content
Product
Manage Documents
Release
Foundation 24.1
License

In Perceptive Content, you can use Microsoft Visual Basic Scripting as a tool to extend functionality. To create a Visual Basic script, complete the following steps.

  1. InApplication Plan Designer, in the Screens pane, select the appropriate screen, and then do one of the following actions:
    Situation Steps
    Create a Visual Basic script for a dictionary data element
    1. In the Dictionary pane, double-click the dictionary data element for which you want to create a Visual Basic script.
    2. In the Dictionary Field dialog box, under Processing, click Add > Script.
    3. In the Script dialog box, click Create, and then type a new name for your script.
    4. Select the script you just created and click Modify.
    Create a Visual Basic script for a map value
    1. In the right pane, click the Map tab and then double-click the value for which you want to create a Visual Basic script.
    2. In the Attributes dialog box, under Advanced, from the Scripts list, select Manage Scripts.
    3. In the Script dialog box, click Create, and then type a new name for your script.
    4. Select the script you just created and click Modify.
  2. In the Script New Script dialog box, create your Visual Basic script by typing the information in the text box under Script.
  3. Under Sample, in the Input field, enter a value that allows you to test the script you just created.
  4. Click Test, and verify Perceptive Content returns the appropriate value.
  5. To close the Script New Script dialog box, click OK.
  6. To close the Scripts dialog box, click OK.
  7. To close the Dictionary Field dialog box or Attributes dialog box, click OK.