NEW3.01.00 · Released 23 February 2018
NEWfinPOWER Connect
Released in
3.01.00
23 February 2018
  1. Opened9 Oct 2017
  2. Closed9 Oct 2017
  3. Released23 Feb
Article 14977 Job J019777

User Interface script; enhancements made for "AccountsFormActionsUpdate" event

The Global Settings, User Interface script has been enhanced to support disabling an existing Action by using the Available and PermissionKey properties.

To implement, add a Script of Type="Object Events" and Object="User Interface". Paste the template code and edit code under the "AccountsFormActionsUpdate" event. Then link the script under Global Settings, General page, User Interface script.

Note, don't forget to unremark the "eventHandled = True" line.

You can already remove an existing item as shown below:

CustomMenu.MenuItems.RemoveById("Export")

In addition you can now disable an existing action item as follows:

' Using the Available flag
CustomMenu.MenuItems("Export").Available=False

' Using a Permission Key
CustomMenu.MenuItems("Export").PermissionKey="UserDefined.TheKey"