You are here:
Approve and Set Up Validation
Complete the template setup by approving it and adding tags for better searchability. Optionally, implement custom validation logic to display location- and subscriber-based eligibility warnings.
This feature is part of the Communications Cloud managed package.
| REQUIRED EDITIONS |
|---|
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions |
-
Basic Approval
After creating a template, follow these steps to approve it and make it available to users:
- Locate the Sales Config Template record using the Template ID.
- Change the status from Draft to Approved.
-
Add Tags to the template. Tags are optional but recommended, as they improve
searchability and help locate similar templates. Tags are also helpful for building
AI-driven use cases with the templating APIs.Note Make sure that the templates are in Approved status before they appear in the Enterprise Sales Management UI.
-
Advanced Setup: Location-Based Template Validation
To display eligibility warnings for templates based on specific locations or subscribers, admins can optionally implement custom validation logic:
-
Create a custom post-hook for the CPQ SearchSalesConfigTemplate
API.
This hook should contain the logic to filter templates based on location or subscriber criteria.
- Register your implementation class in Interface Implementation for CPQ under the CPQAppHandlerHook.
When implemented, templates that are ineligible for the selected locations display a warning icon in the template list, helping users identify incompatible templates before applying them.Note This setup is optional. Without the custom hook, template validation still occurs when products are added to the working cart. -
Create a custom post-hook for the CPQ SearchSalesConfigTemplate
API.

