2022-06-29 — ISVapp Blog

Feature Update: Analyze Apex Executions

ISVapp Feature Update Apex executions Feature Management Managed Package
Apex is the programming language that Salesforce developers love (and sometimes hate). It's specific to the Salesforce platform and at the heart of almost every package. From this month, the ISVapp feature management fully supports Apex Executions.

ISVapp Feature Management is the place where you can easily combine components from your managed package into meaningful features. Until now, you were able to pick from Custom Objects, Lightning Components as well as Lightning and Visualforce Pages. As of this month, Apex Executions join the list.

ISVApp Apex Executions

ISVapp automatically detects Apex Executions, originating from several entry points of your managed package. You may use these to further refine your features and understand precisely how the users of your product behave.

What are common use cases for Apex Executions?

Among the most obvious use cases are events that you cannot track otherwise via custom object or page operations, for example:

  • Tracking a click on a critical user interface component

  • Tracking Lightning and Visualforce controller actions

  • Tracking trigger invocations, on both custom and standard Salesforce objects

  • Tracking packaged Flow invocations

  • Tracking Apex Executions that were invoked via the Salesforce REST API

Consider the following simplified user interface example:

ISVapp Apex Executions UI Example

Both buttons trigger an Apex method in their controller. In order to understand how often your users click one of those buttons, you can now simply add clickFinishButton() and clickCancelButton() within the ISVapp feature manager.

You can use empty Apex methods for tracking

Apex methods don't need to execute any actual code in order to be tracked. In order to track certain user interactions, you may simply invoke an empty Apex method, and it will appear as an Apex Execution in ISVapp.

Where can I find the new functionality?

Apex executions can be found within the create/edit screen of the ISVapp Feature Manager under Setup > Feature Management. Simply create a new or edit an existing feature and find the Apex Executions section at the bottom of the page.

Feedback Icon As always, we appreciate any feedback or questions via [email protected].

Try ISVapp now for free

No credit card required, no obligations

Share this post