Can I export line breaks and carriage returns into the file?
Q: Can I export line breaks and carriage returns into the file?
A: This capability was recently added.
You can use the tokesn &cr; and &lf; in your templates. In the exported file these will be replaced with a carriage-return and linefeed, respectively.
Whether or not you'll need both &cr; and &lf; at the end of a line depends on the operating system used to open the text file.
Here's an example of how to use them. The first 8 lines of a sample format file:
OID:55768W
OED:01/15/2003
OET:20:03:00
CFN:Gerri
CLN:Buchnee
CAD:P.O. Box 4181
CCI:Nashua
To achieve this, you would modify the "Template for Order row" to have (obviously this portion is just for the first 8 fields and therefore only a portion of what you'll have in that template):
OID:%orderid%&cr;&lf;
OED:%orderdate%&cr;&lf;
OET:%ordertime%&cr;&lf;
CFN:%ship_fname%&cr;&lf;
CLN:%shp_lname%&cr;&lf;
CAD:%ship_addr%&cr;&lf;
CCI:%ship_city%&cr;&lf;
In my test store with my test editor (using Windows XP Pro) I needed only &cr; or &lf; to get the line break.
Last update: 2006-02-13 21:04
Author: Support
Revision: 1.0
You cannot comment on this entry
Most Recent FAQ Entries: 
- I have the UPS Custom Integration configured so that ... (2008-07-11 10:21)
- I would like to conditionally display something for a ... (2008-07-03 17:37)
- Is there any way to configure specific global headers ... (2008-06-02 18:28)
- I pay my affiliates with gift certificates from your ... (2008-05-29 10:42)
- Is there any way to add a negative number ... (2008-05-22 13:51)
Top 10 
- 2521 views:
Adding Tokens to Evaluate Expressions - 2510 views:
Why won't you call me for technical support? I ... - 2489 views:
Is there a way to "Limit" the number of ... - 2402 views:
Are license keys valid for more than one store? ... - 2308 views:
I'm trying to enter a license key and get ... - 2270 views:
How do I install a module? - 2133 views:
How do I check for a module upgrade? - 2132 views:
How can display and change the parameters of an ... - 1960 views:
The total on my checkout pages are not correct. ... - 1843 views:
I have select and radio type attributes in my ...
















