XDM Modeling best practices | Community
Skip to main content
Level 2
November 1, 2021
Solved

XDM Modeling best practices

  • November 1, 2021
  • 2 replies
  • 1571 views

Hi Team,

 

I am looking for best practices tom construct the XDM for Individual profile with many custom classes which will have additional details about the individual profile. I am trying to understand which approach will be better and on which aspect:

  1. Defining custom classes and refer those classes from the Individual profile as shown in Define a Relationship Between Two Schemas Using the Schema Editor | Adobe Experience Platform
  2. Embed the custom classes as field groups (as we have homeAddress under Person) within the individual profile 

What aspects should we consider to decide when to choose which option? For example: If I go with a model following Option 1, then can I create a segment rule based on the attributes which belongs to the reference entity? Is there any restriction(s) on these 2 options? 

 

Thanks in advance.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by dwright-adobe

@bitunsen , in general, Platform schemas are highly denormalized. There are some limitations with the use of lookups aka schema relationships aka dimension entities which relate to your Option 1. These are documented here: https://experienceleague.adobe.com/docs/experience-platform/profile/guardrails.html

 

Would your custom classes be populated with data from multiple sources? One approach that some people take is to create a separate schema for each data source.

 

You might be interested in this course we have on Experience League: Model Your Customer Experience Data with XDM

2 replies

pradeep_nextrow
Level 4
December 6, 2021

@bitunsen There is no clear recommendation in a documentation by Adobe on the Field Groups (mixins) to use when modelling schemas. However in the Comprehensive Tech Tutorial training material, it is called out to use ootb field groups whenever possible. These field groups will also enable you to exploit some ootb automations that Adobe is planning in the future (ex: Industry specific CJA dashboards etc). That said, there would not be any major show stoppers in using custom fields/groups when the situation demands.

dwright-adobeAdobe EmployeeAccepted solution
Adobe Employee
December 7, 2021

@bitunsen , in general, Platform schemas are highly denormalized. There are some limitations with the use of lookups aka schema relationships aka dimension entities which relate to your Option 1. These are documented here: https://experienceleague.adobe.com/docs/experience-platform/profile/guardrails.html

 

Would your custom classes be populated with data from multiple sources? One approach that some people take is to create a separate schema for each data source.

 

You might be interested in this course we have on Experience League: Model Your Customer Experience Data with XDM