Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

The 4th edition of the Campaign Community Lens newsletter is out now!

Regarding adding recipient folder in update data activity dynamically



Hi team, 


I want to bring the recipient folder in my update data activity dynamically and the folder id should not be hardcoded.


Please refer to the following image.



Currently, I am adding this recipient folder myself in update the data



also, the folder id is hardcoded, an immediate help will be appreciated



4 Replies


Level 4

Hello @Mrityunjay,


If you can get the folderId prior to the update activity, store it in an instance variable, and use the variable in your update. something like this:









Community Advisor

Hi @Mrityunjay 

As the link between recipient and folder has a default value, if you want to place the recipient in the default folder, the simpliest way to do it is to not put anything. The recipient will be placed automatically in the default recipient folder :

    <element defOnDuplicate="true" default="DefaultFolder('nmsRecipient', [@_folder-id])" name="folder" target="xtk:folder" type="link"/>

Otherwise, the Amine's solution is good with a custom queryDef.



Hi @Mrityunjay,

Were you able to resolve this query with the help of the given solutions or do you still need more help here? Do let us know. In case the given solutions were helpful, then kindly choose the one that helped you the most as the 'Correct Reply'.

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now