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

Notifications

Announcements

No record found.

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,160 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

Responsible AI policies

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

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 584 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 499 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 254 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans