Newer Version Available
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
query()
Supported REST HTTP Methods
GET
Fields
| Field | Details |
|---|---|
| Category |
|
| CategoryId |
|
| Description |
|
| DurableId |
|
| ExampleString |
|
| IsAllowedInEntityContext |
|
| IsAllowedInFlowContext |
|
| IsAllowedInVisualforceContext |
|
| Label |
|
| Name |
|
FormulaFunctionCategory Metadata
| 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/v45.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