NEW2.03.00 · Released 9 July 2015
NEWfinPOWER Connect
Released in
2.03.00
9 July 2015
- Opened12 May
- Closed12 May
- Released9 Jul
Article 12881
Job J015445
Better handling of FormAction Application Shortcuts from Scripts
A new helper method has been added to assist with the creation of a different kind of FormAction type Application Shortcut:
- finBL.CreateApplicationShortcutFormAction(form, action, actionData, open, activate)
The actionData parameter is always a String which is useful for creating certain types of FormAction, e.g., the Task Manager form has a "WorkflowRefresh" action that expects an "actionData" parameter to be an XML Key/ Value List (e.g., with a Boolean parameter Added=True).
The following Script sample does just this:
Public Function Main(parameters As ISKeyValueList) As BooleanDim ApplicationShortcut As ISApplicationShortcutDim Params As ISKeyValueList' Assume SuccessMain = TrueParams = finBL.CreateKeyValueList()Params.SetBoolean("Added", True)ApplicationShortcut = finBL.CreateApplicationShortcutFormAction("TaskManager", "WorkflowRefresh", Params.ToXmlString(), False, True)Main = finBL.ExecuteApplicationShortcut(ApplicationShortcut)End Function
The Form Details reports has also been updated with a new "Notification Actions" section.