0

In Salesforce, under Setup => Release Updates, there are options to enable test runs for various features. Is there a way to determine in Apex if a specific feature has been enabled? Specifically, I'm interested in finding out if the user has enabled the test run for Enable Lightning Article Editor and Article Personalization for Knowledge (Beta).

0

1 Answer 1

1

You can make use of Tooling API and query ReleaseUpdate.

SupportsRevoke

Type boolean Properties: Defaulted on create, Filter, Group, Sort

Description: Indicates if the update has a test run(true) or not (false). Default is false.

Tooling API SOQL:

SELECT SupportsRevoke,status,ReleaseLabel FROM ReleaseUpdate where Title='Enable Lightning Article Editor and Article Personalization for Knowledge (Beta)'

See more on Tooling API usage in salesforce Apex method

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .