GenAiPromptTemplateActv

Represents the activation status of a Salesforce-provided prompt template.

Where possible, we changed noninclusive terms to align with our company value of Equality. We maintained certain terms to avoid any effect on customer implementations.

Important

Parent Type

This type extends the Metadata metadata type and inherits its fullName field.

File Suffix and Directory Location

GenAiPromptTemplateActv components have the suffix .genAiPromptTemplateActivation and are stored in the genAiPromptTemplateActivations folder.

Version

GenAiPromptTemplateActv components are available in API version 60.0 and later.

Special Access Rules

GenAiPromptTemplate is available only if Prompt Builder is enabled in your org and you have the Prompt Template Manager permission.

Fields

Field Name Description
accessLevel
Field Type
GenAiPromptTemplateActvAccessLevel (enumeration of type string)
Description
Indicates which users can access the Salesforce-provided prompt template. Valid values are:
  • Allowed—Users with access to Prompt Builder can see the prompt template.
  • Blocked—Only admin users with access to Prompt Builder can see the prompt template.
developerName
Field Type
string
Description
Name of the activation record. This name can contain only underscores and alphanumeric characters. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores.
masterLabel
Field Type
string
Description
A user-friendly name for GenAiPromptTemplateActv, which is defined when the GenAiPromptTemplateActv is created.
templateDeveloperName
Field Type
string
Description
Name of the Salesforce-provided prompt template that the activation record is associated with.

Wildcard Support in the Manifest File

This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.