Skip to main content

Notifications

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

Is it Possible to Convert Json to XML in blob field in D365 Business central? How?

Posted on by 161

I am trying to integrate a third party application With Business central V21.4. I am able to send the request to application using API and also getting the response.

In response, this application provide data in JSON format. ( { Name : Content ,  Name 2 : Content ...}) I am storing that data in Blob field. I need to convert this data from JSON to XML file and need to separate that data by Comma separator and save that XML  file with the particular name. ( Note: There can be N number of responses in that XML file)

I tried to search it on google, but no luck.

I have attached SS also. can you please suggest me some example or solutions?Screenshot-_2800_392_2900_.png_2D00_640x480.png_2D00_640x480.png

  • Suggested answer
    Nitin Verma Profile Picture
    Nitin Verma 21,091 Super User 2024 Season 1 on at
    RE: Is it Possible to Convert Json to XML in blob field in D365 Business central? How?

    Hi,

    You can visit the below link, see if it help you

    andreilungu.com/.../

  • Suggested answer
    Bilal Haider Profile Picture
    Bilal Haider 45 on at
    RE: Is it Possible to Convert Json to XML in blob field in D365 Business central? How?

    Hi,

    The file looks like a payment file. You can try function from codeunit 1237. There are other helper functions available 

     pastedimage1678443466276v1.png

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,151 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 229,963 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans