How to use the split function in the PDF template

Scenario:

We have to display the sales order document number in the Ivoce PDF template from the created from Firld by avoiding the Text SALES ORDER

Solution

 <#assign customFieldValues = record.createdfrom?split("Sales Order ")> <#list customFieldValues as customFieldValue> ${customFieldValue} </#list>

Leave a comment

Your email address will not be published. Required fields are marked *