Customer Portal

Data Reader with Comma at EOL

Comments 4

  • Avatar
    teebag
    0
    Comment actions Permalink
    You need to add a 10 field to your metadata, type integer, delimiter \r\n

    Name Type Delimiter
    Field1 Integer ,
    ...
    Field8 String ,
    Field9 String ,
    Field10 integer \r\n
  • Avatar
    gtateco
    0
    Comment actions Permalink
    Thanks for the idea, that worked great. Of course I had two issues which was compounding the issue.

    The other issue is I'm having trouble reading the file directly from the customer. It is coming from a Linux box, probably output from some sort of scripting language. The format is UTF-8 and although it reads fine in the preview the Java engine has issues with it, ex. you can't see the field preview when editing the metadata. If I open on my windows computer in VIM and copy and paste it to a new file it works great. That workaround is OK for now, but this is a daily process that needs to be automated.

    Once again, any ideas appreciated!

    Glenn
  • Avatar
    jurban
    0
    Comment actions Permalink
    Hi Glenn,

    could you please describe your problem in more details please? Do I understand it correctly that on the same computer the preview works OK (when creating metadata) but it doesn't work when editing metadata? Do you see some error message?

    On first thought I would expect some problems with line delimiters - can you try just \n or just \n?

    Best regards,
    Jaro
  • Avatar
    avackova
    0
    Comment actions Permalink
    Hello Glenn,
    the problem is probably with line breaks. To make your graph working with both, linux and windows ends of line, you can use alternative delimiter \n\\|\r\n (for full information see Changing and Defining Delimiters)

Please sign in to leave a comment.