Modifying the vault script
The Meridian Portal integration setup files include numerous pre-defined script functions that must be imported into the vault configuration. These are defined in the files that you installed as described in Installing the files.
To modify the vault script:
- Open the setup file Configuration\M360 Script.vbs in any text editor.
- Copy the text within the M360 Include section to the clipboard. The text should look similar to the example below.
- In Configurator, open the Meridian Enterprise Script Editor and paste the clipboard contents at the top of the script. These lines will load the Meridian Portal script code when the vault opens.
- Click OK to save your changes.
Sub IncludeFile(Path) ExecuteGlobal CreateObject("Scripting.FileSystemObject").openTextFile(Path).readAll() End Sub IncludeFile "\\" & Vault.ServerName & "\AMM3EXT$\$$M360\Utilities.vbs" IncludeFile "\\" & Vault.ServerName & "\AMM3EXT$\$$M360\M360.vbs"