Expand my Community achievements bar.

SOLVED

XDM not updated after Updating Schema?

Avatar

Level 2

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!

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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).

View solution in original post

5 Replies

Avatar

Correct answer by
Community Advisor

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).

Avatar

Administrator

@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

Avatar

Level 4

@MichaelJo13Can you confirm have done with below steps.

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

Amruthesh_AG_0-1729006303698.png

 

1) Creating the xdm variable as below.

Amruthesh_AG_0-1729005621871.png

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

Amruthesh_AG_1-1729005707363.png

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

Amruthesh_AG_2-1729005764583.png

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

Amruthesh_AG_3-1729005943058.png

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

Amruthesh_AG_4-1729006088891.png

 

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

 

Avatar

Level 4

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