XDM not updated after Updating Schema? | Community
Skip to main content
Level 4
September 9, 2024
Solved

XDM not updated after Updating Schema?

  • September 9, 2024
  • 3 replies
  • 1183 views

I'm just learning the SDK. I added the Analytics Field group to my schema. The issue is when in Tags, in a rule, when I'm trying to use the SDK "Update Variable" action type, I don't see any of the new fields in the XDM Variable Editor. Do I have to create a new data set first before I see the change to the XDM? Why isn't the XDM updating? 

 

Thanks!

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 Ankit_Chaudhary

Hi @michaeljo13 

This seems to be an cache issue try checking it in incognito mode.

However before using update variable action in the rule you also have to create a data element with variable type pointing towards the sandbox where you have created your schema(make sure you've selected the correct one).

3 replies

Ankit_Chaudhary
Community Advisor
Ankit_ChaudharyCommunity AdvisorAccepted solution
Community Advisor
September 11, 2024

Hi @michaeljo13 

This seems to be an cache issue try checking it in incognito mode.

However before using update variable action in the rule you also have to create a data element with variable type pointing towards the sandbox where you have created your schema(make sure you've selected the correct one).

Level 4
September 11, 2024

Yes, I did all that. Thank you for the answer!

kautuk_sahni
Community Manager
Community Manager
September 16, 2024

@michaeljo13 Did you find the suggestions helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni
Amruthesh_AG
Community Advisor
Community Advisor
October 15, 2024

@michaeljo13Can you confirm have done with below steps.

0) Create a xdm template(here you are defining the common variables.)

 

1) Creating the xdm variable as below.

2) Creating the data variable and should select Adobe analytics check box.

3) Merge the above variable by leveraging core-merged objects.

4) In the rule select variable which you created in the step-1 and update the required variable(eVar/Prop)

5) In the final step make sure this in XDM you should have selected merged data element which is created in step 3.

 

Follow these steps and let me know if it solve your problem.

 

Amruthesh_AG
Community Advisor
Community Advisor
October 18, 2024

@michaeljo13  Let me know if this solution resolve your issue? it may help to other community members.