Hi,
In the XDM schema there are commonly objects that contain a value/id combination, where "value" is a number which acts as a counter and "id" is a string which contains the actual value or identifier being passed. I'm using a data element to populate both these fields. The thing I'm trying to figure out is what values to pass when I don't need to populate these properties, under specific conditions. If I'm not supposed to populate the fields, what do I return for the 'id" and value? I'm assuming undefined for "id" or should I pass null instead. I'm thinking null may cause issues with data ingestion. Same situation for "value", do I pass 0, undefined or null?
Thanks!
Views
Replies
Total Likes
value for page view = 1
for cart object for example value of cart ....
_id is self populating so you do not need to care of that. If there is an * in the element then its self populated
Views
Replies
Total Likes
Hi Michael, I'm talking about when I don't want to populate the properties, but I decided just to not include the node instead of trying to set values.
Thanks!
Views
Replies
Total Likes
THe ones with * are populated automatically. If you do not want to populate some field then do not put any data element into it
If I do not understand something put a screenshot from Web SDK
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies