
In Part 1 we looked at Overrides, the eager model that runs checks on every node at page load. They’re great for simple, static rules and bulk actions, but heavy logic can hurt performance. Actions take the opposite, lazy-loading approach, running only when a user opens a node’s context menu. Let's explore how Actions work, when to use them, and their trade-offs.
In Part 1 of this series we explored Overrides, the eager approach where visibility logic is evaluated for every node at page load. Overrides are perfect for simple, static conditions and bulk operations — but they can quickly become a bottleneck when logic grows complex.
This is where Actions come in. Actions take a lazy-loading approach: instead of running checks upfront for all visible nodes, they execute only when a user opens a node’s context menu. This makes them ideal for scenarios where visibility depends on dynamic or resource-intensive conditions.
In this article, we’ll dive into how Actions work, when to use them, and the trade-offs to consider compared to Overrides.
Scripts placed under the Actions folder are evaluated only when the user clicks the three-dots menu (context menu) on a node. At that moment, the system decides whether the command should be visible for that specific node.
This ensures that page load performance remains unaffected, since no additional checks are executed upfront.
Actions are the right choice whenever command visibility depends on conditions that are:
Because the script runs only once per node (and only on demand), you can safely include more complex logic without degrading overall navigation performance.
Advantages
Limitations
Imagine you want a “Submit to Legal Review” command that only appears if:
Both checks involve querying workflow state and permissions — operations that are too expensive to run on every document at page load. By placing this command under Actions, the logic executes only when needed, keeping the system fast and responsive.
With Overrides and Actions, Module Suite gives you two complementary tools for controlling command visibility:
By understanding when to use each, you can design custom commands that balance performance, usability, and functionality — delivering a smoother experience for both users and administrators.
150+
Success stories
We draw on a spotless track record of hundreds of successful transformations across OpenText and Salesforce platforms, creating future-ready digital ecosystems.
"Thanks to our partners' dedication and expertise, the solution provided to the EEAS offers flexibility within the stringent confines of EU regulations we were looking for. This adaptation not only complements our mission but significantly boosts our operational capabilities, greatly helping our global diplomatic activities."