Customer Portal

get filename - auto_filling

Comments 2

  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello,
    you have duplicated delimiter after the last field. Your metadata should look like follows:
    <Metadata id="Metadata4" previewAttachment="C:/eclipse_workspace/testinsert/data-in/data1${PROJECT}txt" previewAttachmentCharset="ISO-8859-1">
    <Record fieldDelimiter="," name="recordName5" previewAttachmentCharset="ISO-8859-1" skipFirstLine="false" type="delimited">
    <Field name="First_Name" size="50" type="string"/>
    <Field name="Last_Name" size="50" type="string"/>
    <Field delimiter="\n" name="Salary" size="10" type="number"/>
    <Field auto_filling="source_name" delimiter="\r\n" eofAsDelimiter="true" name="filename" size="100" type="string"/>
    </Record>
    </Metadata>
  • Avatar
    cloveuser
    0
    Comment actions Permalink
    Thanks for the reply.

    I got rid of the duplicate metadata. It still did not work. I get red color on the salary field and all the values go blank.
    When I moved the position of the new field (source_field, up and down in metadata editor), it started working.

    Thanks
    Nag

Please sign in to leave a comment.