Making changes in the existing mapping in the datastream | Community
Skip to main content
Level 2
March 27, 2024
Solved

Making changes in the existing mapping in the datastream

  • March 27, 2024
  • 1 reply
  • 1764 views

Hello,

After creating a connection and editing the mappings in the datastream, I now have 50 more attributes to be planned for the existing connection.Manually making the changes to the mapping would be a tedious task and redoing it everytime I have some heavy load requirements would also take much time.

So, Is there any alternative to these requirements where we don't have to manually edit the mapping?

Any kind of help or documents on this would be much appreciated.

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 Kumar29917170hcyp

Hello @kumar29917170hcyp ,

I'm not so sure about it but what kind of calculated field can be created here to add these many attributes?


Hi @sushmita32 ,

Calculated attribute is used to add transformation logic.

What I earlier meant was- If you have to map the attributes directly to xdm, you can directly do it in the Data Element, rather mapping them again in Datastream.

 

https://experienceleague.adobe.com/en/docs/platform-learn/implement-web-sdk/tags-configuration/create-data-elements#map-data-elements-to-xdm-objects

Thanks!

 

1 reply

Adobe Employee
March 27, 2024

Hi @sushmita32 ,

 

For the first time you will have to manually add Calculated Field and add the logic to the console.

If you have previously created a datastream, you can reuse its configured mapping rules for a new datastream by using the feature- Import Mapping.

 

https://experienceleague.adobe.com/en/docs/experience-platform/datastreams/data-prep#import-mapping

 

Regards,

Kumar Saurabh

Level 2
March 27, 2024

Hi @kumar29917170hcyp ,

Thanks for replying. Yes, so for the first time, I mapped 10 attributes but now there are 50 more attributes to be mapped. Do I have to manually map all those 50 attributes by again uploading a JSON or edit the mapping in the datastream?

Adobe Employee
March 27, 2024

Hi @sushmita32 , for the attributes that has one-to-one mapping from the source Edge data, the Mapping is already created in Tag Properties (Under Data Element section), you don't have to Map them again (exception is _id and timestamp field).

If you have to add logic using DataPrep functions only then you will have to add calculated field and add mapping.

 

Regards,

Kumar Saurabh