Understanding the Problem
When enabling the Data Library, Data Cloud objects are created, such as Object__dlm, Object_index__dlm, and Object_chunk__dlm. However, deploying these objects results in errors, indicating that vector embedding, semantic, or chunk creation types are not supported.
The root cause of the issue is that the Data Library metadata is not deployable using the Metadata API, and the documentation has not been updated to reflect the correct deployment process.
A Salesforce representative suggested using Data Kits to deploy ADL and Search Indexes from sandbox to sandbox, but the community member pointed out that the documentation does not list Data Library as a deployable component.
Deploying Data Library Using Data Kits
Despite the documentation gap, using Data Kits is the recommended approach to deploy Data Library between orgs. The process involves creating a Data Kit in the source org, adding the Data Library components, and then deploying the Data Kit to the target org.
The community member was advised to investigate this approach further, and it is essential to note that the documentation may not be up-to-date, and the deployment process may have some nuances.
Conclusion and Next Steps
In conclusion, migrating Agentforce Data Library between Salesforce orgs requires using Data Kits from sandbox to sandbox. While the process has some challenges, it is the recommended approach.
Checklist for Deploying Data Library
- Enable the Data Library in the source org
- Create a Data Kit in the source org
- Add the Data Library components to the Data Kit
- Deploy the Data Kit to the target org
- Verify the deployment and test the Data Library
- Monitor the documentation for updates on the deployment process
It is crucial to be aware of the potential issues and limitations when deploying Data Library, and to stay up-to-date with the latest documentation and best practices.
What is the recommended approach to deploy Data Library?
Using Data Kits from sandbox to sandbox
Why is the Metadata API not suitable for deploying Data Library?
The Metadata API does not support deploying Data Library metadata
What are the potential errors when deploying Data Library components?
Vector embedding, semantic, or chunk creation types are not supported
How can I stay up-to-date with the latest documentation and best practices?
Monitor the official Salesforce documentation and community forums
Need help shipping this in production?
Genetrix builds and untangles Salesforce Marketing Cloud and Agentforce setups for teams that want it done right the first time. If anything in this post sounds familiar, talk to us before it ships.