Newer Version Available

This content describes an older version of this product. View Latest

FunctionReference (Beta)

Represents a deployed Salesforce Function associated with an org. This object is available in API version 52.0 and later.
This feature is a Beta Service. Customer may opt to try such Beta Service in its sole discretion. Any use of the Beta Service is subject to the applicable Beta Services Terms provided at Agreements and Terms.

Supported Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

Fields

Field Details
Description
Type
textarea
Properties
Create, Filter, Group, Nillable, Sort, Update
Description
The description of the Function.
FunctionName
Type
string
Properties
Create, Filter, Group, idLookup, Sort, Update
Description
The developer name of the Function. This name is case sensitive and uses the format “project name-function name”. This field is unique within your organization.
Language
Type
picklist
Properties
Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update
Description
The language code for the Function, such as “en_US”.
MasterLabel
Type
string
Properties
Create, Filter, Group, Sort, Update
Description
The master label for the Function.

Usage

Treat FunctionReference records as read-only records used to get information about a specific Function associated with your org. To invoke Functions, use the Apex functions.Function class invoke methods. To deploy and associate Functions with your org, use Salesforce CLI commands associated with Functions, as described in the Salesforce Functions developer documentation.

FunctionReference is not supported in Trialforce templates or org snapshots.