![]() ERP Core API Developer Reference
|
fferpcore.FeatureConsoleServiceglobal with sharing class FeatureConsoleService Retrieve and activate Feature Console features and steps. Methods
readFeaturesglobal static List<fferpcore.FeatureConsoleService.Feature> readFeatures() Reads all available features from the database and whether or not they are enabled. Return ValueThe list of all features readFeatureStepsglobal 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. Input Parameters
Return ValueThe list of all feature steps for the given features. enableglobal static fferpcore.FeatureConsoleService.ActivationResponse enable(Id recordId) Marks a given feature or feature step as enabled or completed. Input Parameters
Return ValueWhether the enable request was successful and if not any errors encountered. disableglobal static fferpcore.FeatureConsoleService.ActivationResponse disable(Id recordId) Marks a given feature or feature step as disabled or not completed. Input Parameters
Return ValueWhether the disable request was successful and if not any errors encountered. isFeatureEnabledglobal static Map<String, Boolean> isFeatureEnabled(Set<String> qualifiedFeatureNames) Determines whether a given set of features have been enabled. Input Parameters
Return ValueA map of the qualified API names of the passed in features against whether they are enabled. fferpcore.FeatureConsoleService.Featureglobal class Feature Wrapper for a Feature Console feature and whether it has been enabled. Properties
MethodsFeatureglobal Feature() getCanToggleglobal Boolean getCanToggle() Whether the option to toggle the status of this feature should be available. Return ValueTrue if you should be able toggle this feature. fferpcore.FeatureConsoleService.Stepglobal class Step Wrapper for a Feature Console feature step and whether it has been marked as completed. Properties
MethodsStepglobal Step() fferpcore.FeatureConsoleService.ActivationResponseglobal class ActivationResponse Response returned when enabling or disabling a step or feature. Properties
MethodsActivationResponseglobal ActivationResponse() |