Hi there,
I would like to know if anyone has some pointers to avoid using string delimiters in the csv provider when writing a file.
Do I need to write my own provider?
Best Regards,
Kasper
Hi there,
I would like to know if anyone has some pointers to avoid using string delimiters in the csv provider when writing a file.
Do I need to write my own provider?
Best Regards,
Kasper
Hi Kasper.
Could you explain? What is the use case?
You can probably use a space, but that is also a seperator.
BR Nicolai
Thanks for fast response.
Usecase is that I would like my file to look like this:
value1|value2|value3|value4
Instead of like this:
'value1'|'value2'|'value3'|'value4'
I have a system expecting a pipe delimited file for import that can't handle additional characters.
/Kasper
Hi Kasper
Yes, apparantly you cannot set that to empty string. Editing the xml definition will just break the UI/loading of the xml.
You can try to inherit Dynamicweb.DataIntegration.Providers.CsvProvider and then give it one more attribute as a checkbox "set string delimter to empty string" and then override the DestinationQuoteCharacter property at 'the right time' - maybe when an instance is created.
BR Nicolai
I'll take a look at it. Thanks for your help.
/Kasper
You must be logged in to post in the forum