FunctionReference

Represents information about a deployed Salesforce Function that can be invoked from the org.

Parent Type 

This type extends Metadata and inherits its fields.

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 

Introduced in API version 52.0.

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 

access 

  • Type: string
  • Required: No

description 

  • Type: string
  • Required: No
  • Description: Represents the description of the Salesforce Function.

imageReference 

  • Type: string
  • Required: No

label 

  • Type: string
  • Required: No
  • Description: Represents the label for the Salesforce Function.

permissionSet 

  • Type: string
  • Required: No
  • Description: Represents a set of permissions that’s used to control org resources that the Function has access to.

DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!