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 :
Microsoft Dynamics AX (Archived)

Generate Documents JSON...HELP

(0) ShareShare
ReportReport
Posted on by 65

How can I generate JSON files from Microsfot Dynamics AX 2012 and 2009? ... I want to do or rather the requirement of a company is a Technical Characteristics such file is generated, they no longer want XML files .... Thank you for your attention and your response

*This post is locked for comments

I have the same question (0)
  • Martin Dráb Profile Picture
    237,965 Most Valuable Professional on at

    Could you please give us more information about your requirements and problems?

    JSON files are just text files, therefore if you know how to write into text files and understand the JSON format, then you're able to generate JSON files. Or you might use object serialization in .NET to JSON, or many other approaches.

    Nevertheless it seems to me that you wanted to ask how to convert a XML files generated by AIF document services to JSON, correct? Or may you actually want a REST service instead of SOAP (it's not unusual that people talk about file formats when then actually mean different service types).

  • Lucho2202 Profile Picture
    65 on at

    Thanks for your answer .... I solved this problem then i´ll told you the problems and the requiremnt .....be carefull[quote user="Lucho2202"]

    How can I generate JSON files from Microsfot Dynamics AX 2012 and 2009? ... I want to do or rather the requirement of a company is a Technical Characteristics such file is generated, they no longer want XML files .... Thank you for your attention and your response

    [/quote]

  • Soren Andersen Profile Picture
    530 on at

    Hi -

    You can use an external .net library like json.net and interface it using x++ or you can write your own library. A starting point could be this - if the requirements is simple: sorenami.wordpress.com/.../map-with-valuekey-pairs-to-json-ax-2009-quick

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans