You are here:
4. Pick Templates step
The Vlocity Omnistudio Data Mapper displays all the extracted templates in the selectable template. The Selectable step is associated with the Templates.html template. See the HTML and JSON code in Script Configuration in the "Custom HTML Templates" and "Custom JavaScript" sections.
The HTML captures the selected template and calls "onSelectItem(control, p, $index, this)." The onSelectItem method is defined in MP angular Library and you can override it in the Custom JavaScript section.
The onSelectItem function captures the following information from the template:
"DocumentTemplate": [{
"Name": "New Template",
"Id": "a211C000002j62eQAA",
"VersionNumber": 1,
"TemplateType": "Vlocity Web Template",
"$$hashKey": "object:114",
"vlcSelected": true
}]
