Add a 'Script' item to the end of the collection.

NOTE: Prompt Parameters take priority over prompt entries in the 'Optional parameters As ISKeyValueList = Nothing' parameter, if they had been entered prior to calling this function.

Syntax

finCloudConnectFormHeaderInfoActions.AddScript(scriptId, caption, icon, [autoRun], [showUI], [prompt], [promptTitle], [promptIcon], [promptCaptionOk], [promptCaptionCancel], [promptMessageIsHtml], [parameters], [groupId], [contextPageId], [alwaysShowCaption])

Parameters

NameTypeOptionalByRefDescription
scriptId String The Script Id.
caption String A Caption for this Action.
icon String The name of the Icon for this Action.
autoRun Boolean Optional Indicates whether this Script should auto run. If omitted, a value of False is assumed.
showUI Boolean Optional Indicates whether the UI should be shown prior to the Script running. If omitted, a value of True is assumed.
prompt String Optional A confirmation prompt message to display prior to the Script running. Provides an opportunity for the User to be prompted before the Script is executed.
promptTitle String Optional If prompting the User, the Title of the confirmation Message Box.
promptIcon String Optional If prompting the User, the Icon to be used in the confirmation Message Box.
promptCaptionOk String Optional If prompting the User, the text of the "Ok" button. Leave blank to use the default.
promptCaptionCancel String Optional If prompting the User, the text of the "Cancel" button. Leave blank to use the default.
promptMessageIsHtml Boolean Optional If prompting the User, whether the "prompt" message is in HTML format. If omitted, a value of False is assumed.
parameters ISKeyValueList Optional Script Parameters. If omitted, a value of Nothing is assumed.
groupId String Optional A Group Id. This is used as a caption for the Actions Group.
contextPageId String Optional The Context Page Id for this Action.
alwaysShowCaption Boolean Optional Indicates whether the Caption should always be shown for this Action. If omitted, a value of False is assumed.

Return Value

finCloudConnectFormHeaderInfoAction
Member of:
finCloudConnectFormHeaderInfoActions
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0