Skip to main content

Notifications

Announcements

No record found.

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?

(0) ShareShare
ReportReport
Posted on by 165

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 47 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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans