mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-07-30 19:50:42 +08:00
24 lines
801 B
XML
24 lines
801 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
AUTHORING BUNDLE METADATA FILE
|
|
==============================
|
|
|
|
CRITICAL NAMING CONVENTION:
|
|
- File MUST be named: AgentName.bundle-meta.xml
|
|
- NOT: AgentName.aiAuthoringBundle-meta.xml
|
|
|
|
DIRECTORY STRUCTURE:
|
|
force-app/main/default/aiAuthoringBundles/
|
|
└── MyAgent/
|
|
├── MyAgent.agent <- Agent Script file
|
|
└── MyAgent.bundle-meta.xml <- This file (rename to match agent)
|
|
|
|
DEPLOYMENT COMMAND:
|
|
sf agent publish authoring-bundle --api-name MyAgent --target-org TARGET_ORG
|
|
|
|
DO NOT USE: sf project deploy start (will fail with "Required fields are missing: [BundleType]")
|
|
-->
|
|
<AiAuthoringBundle xmlns="http://soap.sforce.com/2006/04/metadata">
|
|
<bundleType>AGENT</bundleType>
|
|
</AiAuthoringBundle>
|