Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

How to use set values in Map

Avatar

Former Community Member
I have orchestration wherein we need to return multiple values so planning to use map object as the return type but was not able to find any way to put key value pair in map object. Can you please advice me.



Thanks in advance!



Sourabh Lahoti
2 Replies

Avatar

Level 10
You can use the following xPath in a SetValue: /process_data/myMap[@id='keyname'] = /process_data/your_data



Jasmin