Expand my Community achievements bar.

SOLVED

How to design XDM data model for services at record and times series .

Avatar

Community Advisor

Hi All,

 

We are designing XDM data model. Assuming that services will be used at   record and times series . How shall we create the service in order to re-use it? Is it correct if we consider XDM class  ?

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hi @Luca_Lattarini,

 

For data modeling, I used to refer this document which explains all the components that we need to consider prior proceeding with data modeling. I found this very useful to me. Hope this helps to you as well...

https://experienceleague.adobe.com/docs/experience-platform/xdm/schema/best-practices.html?lang=en

View solution in original post

8 Replies

Avatar

Employee Advisor

@Luca_Lattarini Without knowing more, it is hard to provide any guidance.  Can you expand a bit?

Avatar

Correct answer by
Level 3

Hi @Luca_Lattarini,

 

For data modeling, I used to refer this document which explains all the components that we need to consider prior proceeding with data modeling. I found this very useful to me. Hope this helps to you as well...

https://experienceleague.adobe.com/docs/experience-platform/xdm/schema/best-practices.html?lang=en

Avatar

Community Advisor

Hi @Luca_Lattarini ,

 

Which service you want to create? What is the usecase scenario you are trying to achieve using this service?

 

Thanks,

Jyoti

Avatar

Community Advisor

Hello @Jyoti_Yadav  @Danny-Miller @vikash4 , 

My use case scenario has Profile Entities (customer profile details) and Event Entities (transactions event) must be imported into AEP for utility sector.

My doubt is to create Field Group or XDM Class, do you have some approach allows you to choose btw Field Group or XDM Class?

Thanks

Avatar

Employee Advisor

@Luca_Lattarini Two very different things:

  1. Class is used to create a Schema and defines the essence and behavior of the Schema
    1. https://experienceleague.adobe.com/docs/experience-platform/xdm/schema/composition.html?lang=en#clas...
  2. Field Group is then used to extend the Schema (i.e. add more than the basic fields inherited from the Class) 
    1. https://experienceleague.adobe.com/docs/experience-platform/xdm/schema/composition.html?lang=en#fiel...

You never choose between them, you use them in conjunction with each other.

 

Avatar

Community Advisor

Hello @Danny-Miller Understand your point. Since I want to re-use the service different times across different entities. What about to create a Data type for my service and re-use it?

Thanks

Avatar

Level 3

Going by the link shared by @vikash4 

 

Customer will have multiple utility services (Electricity , Gas, Water) as product with individual SKUs. 

Every month billing of for customer will be an event (Monthly Billing Event). 

So we will create a billingevent schema (Experience Event Class)

Under that we can create data-type - UtilityTypeMonthly Billing

Each can have fields like 

Utility Name 

Utility ID

SKU 

Usage

Last Month Usage

etc. 

@Luca_Lattarini