Skip to main content

Notifications

Customer Service forum

XML data- Record in dynamics 365

Posted on by 240

Hi all,

I want to create records in dynamics crm using the XML document I am getting from third party. Can anyone help me on how to proceed further.

Categories:
  • Verified answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: XML data- Record in dynamics 365

    Hi,

    you can read the the xml like below

    stackoverflow.com/.../how-to-read-values-from-xml-string-from-web-service

  • NK Bhairi Profile Picture
    NK Bhairi 240 on at
    RE: XML data- Record in dynamics 365

    Customer has given us the  Api which returns XML format of the record.

  • Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: XML data- Record in dynamics 365

    Hi,

    would be good if you can describe how is your design looks like. Eg.

    1. how your customer send you the XML document?

    2. Where you store the XML document?

  • NK Bhairi Profile Picture
    NK Bhairi 240 on at
    RE: XML data- Record in dynamics 365

    Whatever the XML file I get from client that needs to be created as Web resource? If that is the case how to automate this. Because I am getting Xml document from customer everyday. And my plugin needs to run on everyday.

  • Suggested answer
    Alex Fun Wei Jie Profile Picture
    Alex Fun Wei Jie 33,626 on at
    RE: XML data- Record in dynamics 365

    Hi,

    If you are using C# , you can refer below article, the article is based on CRM 2011, but the concept is there.

    How to read xml file

    [View:https://arunpotti.wordpress.com/2014/12/11/read-xml-web-resource-using-c-sdk-in-crm/:750:50]

    How to Create record

    [View:https://docs.microsoft.com/en-us/dynamics365/customer-engagement/developer/org-service/sample-create-retrieve-update-delete-late-bound:750:50]

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans