ERP Core API Developer's Reference
global with sharing class FeatureConsoleService
Retrieve and activate Feature Console features and steps.
global static List<fferpcore.FeatureConsoleService.Feature> readFeatures()
Reads all available features from the database and whether or not they are enabled.
The list of all features
global static List<fferpcore.FeatureConsoleService.Step> readFeatureSteps(Set<String> qualifiedFeatureNames)
Reads all feature steps from the database for a given set of features and whether or not they have been marked as completed.
The list of all feature steps for the given features.
global static fferpcore.FeatureConsoleService.ActivationResponse enable(Id recordId)
Marks a given feature or feature step as enabled or completed.
Whether the enable request was successful and if not any errors encountered.
global static fferpcore.FeatureConsoleService.ActivationResponse disable(Id recordId)
Marks a given feature or feature step as disabled or not completed.
Whether the disable request was successful and if not any errors encountered.
global static Map<String, Boolean> isFeatureEnabled(Set<String> qualifiedFeatureNames)
Determines whether a given set of features have been enabled.
A map of the qualified API names of the passed in features against whether they are enabled.
global class Feature
Wrapper for a Feature Console feature and whether it has been enabled.
global class Step
Wrapper for a Feature Console feature step and whether it has been marked as completed.
global class ActivationResponse
Response returned when enabling or disabling a step or feature.