LAE

Welcome to the LAE community!  Please feel free to start a discussion in the discussion tab or join in a conversation.

Discussions

Members

Resources

Events

 View Only
  • 1.  CSV Node - FilenamOutputField

    Employee
    Posted 05-05-2015 13:28

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: jpstory

    Hi

    When 'CSV File' spits out the importing file names and appending as a new field as the end, the format becomes FilePath/FileName.

    Is there any way to suppress the slash ("/") between FilePath and FileName and use back slash ("\") ?


  • 2.  RE: CSV Node - FilenamOutputField

    Employee
    Posted 05-05-2015 13:30

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: stonysmith

    Is this causing some kind of problem? Windows 7 will allow either of the separators.

    Add a filter to the output and use this code:

    emit *
    override emit FileName=FileName.replace("/","\\")


  • 3.  RE: CSV Node - FilenamOutputField

    Employee
    Posted 05-05-2015 13:36

    Note: This was originally posted by an inactive account. Content was preserved by moving under an admin account.

    Originally posted by: jpstory

    Hi Stonysmith

    Thanks for the quick response.

    No it's not causing any problems, it's just that I need it that way for a Join query.