Though we have all user inputs saved inside the /var/workflow metadata path, is it possible to get this metadata path dynamically and fetch the user inputs inside repository and display in the workflow inbox view?
Does anyone have any sample examples to share this inbox view overlay?
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Unfortunately you need to overlay hidden nodes to achieve this which may not be a good practice but still you can achieve this by overlaying the jsp path
/libs/cq/inbox/gui/components/inbox/itemdetails/tabs/dataprovider/workitem/workitem.jsp
and read the user input value from WorkItem and append to the ValueMapDecorator.
Once you do that do create nodes under the overlayed node path
/libs/cq/inbox/content/inbox/details/workitem/jcr:content/content/items/tabs/items/workitemInfo/items/workitemProvider/items/content/items/fixedColumnContainer/items/right/items
Your new node should contain the jcr property name with the value you have added in the jsp.
Eg: In the jsp if you add
vm.put("userInputPath", "/content/dam/custom");
your new node should have a property 'name' with value 'userInputPath'
Thanks
Unfortunately you need to overlay hidden nodes to achieve this which may not be a good practice but still you can achieve this by overlaying the jsp path
/libs/cq/inbox/gui/components/inbox/itemdetails/tabs/dataprovider/workitem/workitem.jsp
and read the user input value from WorkItem and append to the ValueMapDecorator.
Once you do that do create nodes under the overlayed node path
/libs/cq/inbox/content/inbox/details/workitem/jcr:content/content/items/tabs/items/workitemInfo/items/workitemProvider/items/content/items/fixedColumnContainer/items/right/items
Your new node should contain the jcr property name with the value you have added in the jsp.
Eg: In the jsp if you add
vm.put("userInputPath", "/content/dam/custom");
your new node should have a property 'name' with value 'userInputPath'
Thanks
Thank you @thatsmeadarsh . I tried this approach and it worked for me.
Thank you @thatsmeadarsh . I tried this approach and it worked for me.
Views
Likes
Replies