Newer Version Available

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

FunctionReference (Beta)

Represents information about a deployed Salesforce Function that can be invoked from the org. This type extends the Metadata metadata type and inherits its fullName field.
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.

File Suffix and Directory Location

FunctionReference does not support direct access and should be managed using Salesforce CLI commands associated with Functions. A FunctionReference component file has the suffix .functions and is stored in the functions directory.

Version

FunctionReference components are available in API version 52.0 and later.

Special Access Rules

FunctionReference components can’t be used directly. Always use Salesforce CLI commands associated with Functions to properly deploy Functions and associate Functions with orgs. Attempting to manipulate FunctionReference components directly without using Functions CLI commands is not supported.

Fields

Field Name Field Type Description
description string Represents the description of the Salesforce Function.
label string Represents the label for the Salesforce Function.
permissionSet string Represents a set of permissions that's used to control org resources that the Function has access to.