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 CRM (Archived)

How to get XML Schema (.xsd) for a custom entity, to use with a mapper for integration with 3rd party system

(0) ShareShare
ReportReport
Posted on by

Is there an easy way to get the xml schema for a custom entity, specifically an .XSD file for that entity (which will then be used to create a map to be able to transform the fields of the entity to a 3rd-party message format)?

So have a custom entity with lots and lots of fields. Each of the fields will map to a differently named field to match the schema of the 3rd party entity. A very common situation. Looking to use a tool like the Biztalk mapper or Altova's MapForce to generate an .xslt file to transform the downloaded entity (service.Retrieve with all columns) to the new format. (Will implement a typical VETR pattern.)

*This post is locked for comments

I have the same question (0)
  • Royal King Profile Picture
    27,686 on at

    you could retrieve meta data of an entity that will give you xml format of the entity data structure.You could use this xml to implement the mapping in other system.

  • Community Member Profile Picture
    on at

    In principle, you're right. In practice this is a tedious approach requiring development. For instance, the attribute names are delivered as contents of an Attribute node inside Attributes, embedded as a value. It requires code to convert.

    It's perplexing why getting an .XSD for a custom (or built in) entity isn't just a single call to the OrganizationService. This should be straightforward and easy.

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 CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans