Hi,
Somebody knows how can I set a different separator token in CSV file when I export a list using the content-type="csv/text"? TIA -- ----- Jonatan Soto |
what method are you using to export?
========================= BJ Freeman Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Jonatan Soto sent the following on 9/20/2010 1:32 AM: > Hi, > > Somebody knows how can I set a different separator token in CSV file when I > export a list using the content-type="csv/text"? > > TIA |
I understand that you are referring on how I do the export. I just added a
new request mapping in the controller.xml file with a view mapping defining the content-type as text/csv. BTW, I found the place where the token is defined: csvFormMacroLibrary.ftl line 23 for regular fields and line 53 for the title. I've also removed the quotes for every field, it is located in line 20. I suggest to get this from a properties file. When I'll have time I can provide a patch with this if it is the interest of someone. On Mon, Sep 20, 2010 at 4:32 PM, BJ Freeman <[hidden email]> wrote: > what method are you using to export? > > ========================= > BJ Freeman > Strategic Power Office with Supplier Automation < > http://www.businessesnetwork.com/automation/viewforum.php?f=52> > Specialtymarket.com <http://www.specialtymarket.com/> > Systems Integrator-- Glad to Assist > > Chat Y! messenger: bjfr33man > > > Jonatan Soto sent the following on 9/20/2010 1:32 AM: > > Hi, >> >> Somebody knows how can I set a different separator token in CSV file when >> I >> export a list using the content-type="csv/text"? >> >> TIA >> > > -- ----- Jonatan Soto |
in the future hope to have all such property files in the properties
entity. the reason is under multitenant each db will have its own set of properties. looking forward to you patch. ========================= BJ Freeman Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man Jonatan Soto sent the following on 9/20/2010 8:26 AM: > I understand that you are referring on how I do the export. I just added a > new request mapping in the controller.xml file with a view mapping defining > the content-type as text/csv. > > BTW, I found the place where the token is defined: > > csvFormMacroLibrary.ftl line 23 for regular fields and line 53 for the > title. I've also removed the quotes for every field, it is located in line > 20. > > I suggest to get this from a properties file. When I'll have time I can > provide a patch with this if it is the interest of someone. > > > > > On Mon, Sep 20, 2010 at 4:32 PM, BJ Freeman<[hidden email]> wrote: > >> what method are you using to export? >> >> ========================= >> BJ Freeman >> Strategic Power Office with Supplier Automation< >> http://www.businessesnetwork.com/automation/viewforum.php?f=52> >> Specialtymarket.com<http://www.specialtymarket.com/> >> Systems Integrator-- Glad to Assist >> >> Chat Y! messenger: bjfr33man >> >> >> Jonatan Soto sent the following on 9/20/2010 1:32 AM: >> >> Hi, >>> >>> Somebody knows how can I set a different separator token in CSV file when >>> I >>> export a list using the content-type="csv/text"? >>> >>> TIA >>> >> >> > > |
Did this ever get completed? I don't really want all my exports to use the same format.
For the EDI I am doing they want to use Pipes for delimiter, with no quotes.
Joel Fradkin
|
Have a look at this issue:
https://issues.apache.org/jira/browse/OFBIZ-5410 Adrian Crum Sandglass Software www.sandglass-software.com On 8/25/2014 10:07 PM, [hidden email] wrote: > Did this ever get completed? I don't really want all my exports to use the > same format. > For the EDI I am doing they want to use Pipes for delimiter, with no quotes. > > > > ----- > Joel Fradkin > -- > View this message in context: http://ofbiz.135035.n4.nabble.com/CSV-separator-token-tp2546657p4654239.html > Sent from the OFBiz - User mailing list archive at Nabble.com. > |
Free forum by Nabble | Edit this page |