Skip to main content

Leading zeros dropped when mapping to excel schema

Comments

1 comment

  • David Paras

    Leading zeroes can be handled inside the data mapping as the XML generated from the mapping will contain the leading zero whereas when the same input is passed to excel then it will automatically remove those leading zeros and the Excel File generated would not contain those leading zeros.

    As a workaround you can select the Field type of that field as string instead of the number while creating the Excel Schema and the leading zeroes will be retained in the target excel file with a single quote.

    0

Post is closed for comments.