Expand my Community achievements bar.

Upsert in array elements

Avatar

Level 1

I have many elements in an array. how to upset data into array elements. So I can see in profile section

Topics

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

4 Replies

Avatar

Community Advisor

Hi @DeepakMa6  you can add upsert to dataset using this documentation:

Enable a Dataset for Profile Updates using APIs | Adobe Experience Platform

Avatar

Level 1

Hi @DavidRoss91 

Thanks for your response. Yes, I enabled upsert for the dataset. I have to change the calculated attribute value in an array everyday (Example: Age). So, If I try to ingest, it is creating a new array element instead to upserting into existing array index. I am getting duplicate entries in an array. 
I am looking into the below documentation

Note: I have this attributes in a Experience profile class.
https://experienceleague.adobe.com/en/docs/experience-platform/data-prep/upserts

Avatar

Level 9

@DeepakMa6  The streaming upserts method does not support updating, replacing, and removing identities. New identities are created if they do not exist. Hence the identity operation must always be set to create. If an identity already exists, the operation is a no-op.

Avatar

Administrator

@DeepakMa6 Did you find the suggestions helpful? Please let us know if you need more information. If a response worked, kindly mark it as correct for posterity; alternatively, if you found a solution yourself, we’d appreciate it if you could share it with the community. Thank you!



Kautuk Sahni