Element ID

The Element Id is a unique identifier assigned to each widget in Workmaster. This ID is automatically generated when a widget is added but can be edited by the user if needed.

Purpose

The Element Id is used to uniquely reference the widget across various parts of the application, including:

  • Rules Panel (Workflows): For setting conditions, actions, or dependencies.

  • Property Editor: To configure or link properties dynamically.

  • Scripting and Custom Logic: When referring to this widget programmatically.

Best Practices

  • Use descriptive and consistent naming to make identification easier, especially in larger projects.

  • Avoid duplicate IDs, as each widget must have a unique identifier within the workspace.

Example: If a grid widget has the Element Id Grid_1, you can reference it in a rule to define behavior when an event occurs on Grid_1.

Last updated