Create Custom Code Snippet
To create a custom code snippet:
1. Create a new Code Snippet record in the object (SVMXC__Code_Snippet__c object).
2. Enter the Snippet Name and Snippet ID.
3. Select the Type of script. For example, JavaScript.
4. Choose the Snippet Version as 1.0. The Snippet Version for the upgraded record is empty by default. You have to manually select the version as 1.0.
5. Enter the code in the Data field.