Custom Actions

For a while now InfoNet and InfoWorks ICM has had the ability to apply an action to a button that can either float freely on set into the toolbar.

User & Shared Action Tools

User & Shared Action Tools

User & Shared Action Tools set into the Toolbar

User & Shared Action Tools set into the Toolbar

These are custom and user actions, the difference between these being that ‘User custom actions’ are actions specific to each individual user and are only available to that InfoNet Client running on the specific user machine whilst ‘Shared custom actions’ are actions available to all database users. It should be noted that Shared custom actions can only be edited by users with permission to change database-wide settings.

These Custom actions are shortcuts to run tasks that are performed regularly. Each action can be customised to emulate the effect of dropping a tree object onto the current GeoPlan Window, or dropping a workspace object onto the main window. Alternatively, an SQL or Ruby script can be associated with the action.

User Custom Action To Run an Inference

User Custom Action To Run an Inference

Shared Custom Action to Run an SQL

Shared Custom Action to Run an SQL

So how to create and apply one of these? Select Master database settings > User custom actions… or Master database settings > Shared custom actions… from the File menu. The Custom Actions Dialog will be displayed.

Custom Actions Dialog Box

Custom Actions Dialog Box

The dialog box allows for the definition of 10 custom actions via the dropdown list of 10 custom actions. An action title and action definition be given, the definition will then appear as a tooltip when the mouse hovers above the tool.

The section to select a database tree object or ruby script to be applied to the GeoPlan when the custom action is selected, (either a tree object or Ruby script may be selected; it is not possible to select both.)

It is possible to drag and drop the database tree object into this section or navigate using the explorer provided in the dialog box.

Navigate for Tree Object

Navigate for Tree Object

Once a tree object or ruby script is associated with a tool, these become activated and are not greyed out, and clicking on these will then execute the tree object or script.

Activated Tools

Activated Tools

Share this post!

    About Idris Nujjoo

    Idris is the Product Sector Leader for InfoNet and InfoMaster and has been working for Innovyze (and its earlier incarnations) since 2001 and specifically working on InfoNet and Asset Management for the past decade.

    This entry was posted in InfoNet, InfoWorks ICM and tagged , , , , , . Bookmark the permalink.