We are using EDI template to convert the record list to a flat file. One of the fields in record should have leading spaces. When I use getTemplate service and conertToString, leading spaces disappear and variable is left justified.
This variable is defined in template as:
Is there a way to retain the leading spaces while converting record list to flat file using getTemplate.
Any help is much appreciated.