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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How to create and define type of .CSV file in x++

(0) ShareShare
ReportReport
Posted on by 1,094

Hi,

We already got how to create/export some data's into .csv file.

but we already know there's 4 types of .CSV.

1. CSV UTF-8

2. CSV MS-DOS

3. CSV (comma delimited)

4. CSV Macintosh

and how to define each them in x++?

thank you for your help 

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    I think you're mixing two things: file contents and file encoding.

    CSV simply means that the file contains comma separated values.

    Whether you save that file using UTF-8 or some other encoding is another thing.

    I recommend using Data Import Export Framework for exporting data to CSV - this way you don't need to do any development.

    Or, perhaps use Excel add in to export form grid contents to Excel, then save it as CSV.

    About your original question about these 4 different files, I think you need to start by describind in detail what you exactly mean with them. Then decide what kind of data you want to output from AX. 

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 635 Super User 2026 Season 1

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 635 Super User 2026 Season 1

#3
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 547

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans