Skip to main content

Notifications

Announcements

No record found.

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

  • 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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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

#1
YUN ZHU Profile Picture

YUN ZHU 501 Super User 2025 Season 1

#2
Sagar Dangar, MCP Profile Picture

Sagar Dangar, MCP 384

#3
Mansi Soni Profile Picture

Mansi Soni 366

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans