GenAiPromptTemplateActv
Parent Type
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 |
|
developerName |
|
masterLabel |
|
templateDeveloperName |
|
Declarative Metadata Sample Definition
The following is an example of a GenAiPromptTemplateActv component.
<?xml version="1.0" encoding="UTF-8"?>
<GenAiPromptTemplateActv xmlns="http://soap.sforce.com/2006/04/metadata">
<MasterLabel> Activation Record for Prompt Template </MasterLabel>
<PromptTemplateDeveloperName>einstein_gpt__introductionLeadEmail
</PromptTemplateDeveloperName>
<DeveloperName>HideIntroductionLeadEmail</DeveloperName>
<Description>Status of template </Description>
<AccessLevel>BLOCKED</AccessLevel>
</GenAiPromptTemplateActv>
The following is an example package.xml that references the previous definition.
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
<types>
<name>GenAiPromptTemplateActv</name>
<members>HideIntroductionLeadEmail.genAiPromptTemplateActivation</members>
</types>
<version>60.0</version>
</Package>
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.