Understanding VBScript and Meridian Power
Not all VBScript functions are available to Meridian Power since it runs on the Meridian web server, not on the client computer.
Following are the major functions that are not available, with corresponding recommended workarounds.
Function | Workaround |
---|---|
Global variables |
Use object arguments instead as described in Understanding object arguments. |
Not supported |
|
Wizard page at the beginning of a batch process |
|
FailCurrent method or PrintDetails method (if batch object is available) Wizard page at the beginning of a batch process |
|
ProjectWorkflowEvent_InitializeExpandItem and ProjectWorkflowEvent_BeforeExpandItem events |
Not supported |
Not yet available | |
|
|
Not yet available |
|
About the Briefcase object | Import packages |
DocGenericEvent_PrepareCommand event | Not yet available |
DocGenericEvent_OnProperties event when creating new folders | Not yet available |
Not yet available |
|
AS_PROP_CMD constants AS_PS_CMD_VIEW , AS_PS_CMD_APPLY, and AS_PS_CMD_CANCEL in the DocGenericEvent_OnProperties event |
Assign property validation conditions. |
- The values of check boxes and radio buttons on Meridian Power pages are sent to the web server only if they are selected (True). Meridian Enterprise Boolean properties that have not been explicitly set to either True or False contain no value. For these reasons, we recommend that you always test the values of Boolean properties for True and never for False whether the script is for Meridian Power or not.
- A script that is not compatible with Meridian Power will not generate an error message. Thoroughly test all VBScript configuration expressions and event procedures that might be invoked by Meridian Power.