cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Frequent Member
Frequent Member

handling Linebreaks

Jump to solution

Hi, 

Using MAX. 

Is there a way to convert a carrige return in the txt/ max file or script to make FFCORE undestand it?

 

Here my example:

Sundbyberg ;Linda Norrbom;2015-05-29;2015-06-05;Lasse Haak, Stefan Holmertz;Lars Fredriksson, Enkelsidigt;55 x 90 mm;300;10% rabatt vid 3 samtidiga beställningar per produkt. 20% rabatt vid 5 el. fler samtidiga beställningar per produkt.;Success;
Obs! Ang. korrkort. Varje block är limmat med 50 exemplar i varje. ;;Failed;Malformed order line (too few or too many items).

 

There is a linebreak before the "Success" in incoming txt file.

 

BR

 

0 Kudos
3 Replies
Highlighted
Account Deactivated

Re: handling Linebreaks

Jump to solution

Yes - this is covered in the Workflow Process Variables section of the Help.

Specifically:

 

Newline control characters (\n and \r\n) are replaced by carriage returns.

 

One thing to consider in the above - you must use the variable in a field that supports multiple lines (e.g. the text field in Watermarks or the text content field when using a 2d symbology in Barcode).

0 Kudos
Highlighted
Frequent Member
Frequent Member

Re: handling Linebreaks

Jump to solution

Hi, 

Thank you for the reply. 

 

My problem is that there is no \n command in the max-file, there is only the carriage return. The hotfolder seems to ignore the new line. However I got the programmer to change it to a single line without linebreaks.

 

This is used i a watermark textfield, I assume that they all support multipel lines.

 

BR 

0 Kudos
Highlighted
Account Deactivated

Re: handling Linebreaks

Jump to solution

You are correct - manifest wil parse one row per job. We cannot parse multiple rows for one job or multiple jobs for one row.

I thought you wanted to have a column of data that included a carriage return which is what I described in my previous post.

0 Kudos