Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.
FormulaFunction
Represents a function used when building a formula, including
examples and uses. This object is available in Tooling API version 39.0 and
later.
Supported SOAP Calls
describeSObjects(), query()
Supported REST HTTP Methods
GET
Special Access Rules
In API version 45.0 and later, only users with the ViewSetup and Configuration permission can access FormulaFunction or FormulaFunctionCategory.
Fields
| Field | Details |
|---|---|
| Category |
|
| CategoryId |
|
| Description |
|
| DurableId |
|
| ExampleString |
|
| IsAllowedInEntityContext |
|
| IsAllowedInFlowContext |
|
| IsAllowedInVisualforceContext |
|
| Label |
|
| Name |
|
| Types |
|
FormulaFunctionCategory
| Field Name | Details |
|---|---|
| DurableId |
|
| Functions |
|
| Label |
|
| Name |
|
Query Examples
To get all the functions in FormulaFunction using
REST:
1req.setEndpoint('http://instance.salesforce.com/services/data/v68.0/tooling/query?q=SELECT+label+FROM+FormulaFunction );
2req.setMethod('GET');To get the DurableID of a function category using
SOQL:
1SELECT DurableID FROM FormulaFunctionCategoryTo get all the categories and their functions using
SOQL:
1SELECT Name, Label, (SELECT Name, Label, Description, ExampleString FROM Functions) FROM FormulaFunctionCategory