web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Data Exchange Definition - csv output - speech marks

(0) ShareShare
ReportReport
Posted on by 9,146

Hi

I am working to create a payment export file (simple csv format) using Data Exchange Definitions.  I have used details from this post:

https://community.dynamics.com/business/f/dynamics-365-business-central-forum/314580/how-to-export-data-to-csv-files/912977#912977

But the problem I have is the speech marks in the resulting file.  Because the file is to be imported into the bank, we don't open it using Excel - because Excel is rather smart and does things like drop leading zeros.  I have tested the output file - and without intervention, the bank rejects the file.  If I open the file in notepad and remove the speech marks, it imports into the bank perfectly.  Anyone know how to set it up so no speech marks?

Cheers

Heather

I have the same question (0)
  • Suggested answer
    MartinNL Profile Picture
    480 on at
    RE: Data Exchange Definition - csv output - speech marks

    Hi Heather,

    As mentioned by aotto this can be resolved by changing the Field Deliminator property on the XML Port that you are using as for variable text it is set to use the "" as separators. This is simple to do if you are using NAV and have access to the developer environment or via AL if using Business Central.

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/properties/devenv-fielddelimiter-property

    Hope this helps.

    Martin

  • Community Member Profile Picture
    on at
    RE: Data Exchange Definition - csv output - speech marks

    You should set  FieldDelimiter = '<None>';  in the xmlport

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 2,678 Super User 2025 Season 2

#2
Sumit Singh Profile Picture

Sumit Singh 2,635

#3
Jeffrey Bulanadi Profile Picture

Jeffrey Bulanadi 2,210

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans