We had requirement to add new text field in workflow completion dialog as shown below.
/libs/cq/inbox/content/inbox/dialogs/workitemcompletedialog/items/form/items/testTitle
We also updated "inbox.commons.workitem.js" highlighted in bold below and also in screenshot before post call is made.
/libs/cq/inbox/gui/components/inbox/clientlibs/commons/js/inbox.commons.workitem.js
data[("comment-" + taskId)] = $("[name=comment]", "#workitemCompletionDialog").val();
data[("testTitle-" + taskId)] = $("[name=testTitle]", "#workitemCompletionDialog").val();
The new field is not getting stored in metadata. Looks like the changes made in "inbox.commons.workitem.js" is not somehow getting reflected. Even we commented the entire js code, still workflow is getting completed, but new dialog data is not getting stored. Not sure what we are missing here. Can you please help?
Note:
1. For showing purpose have modified directly under libs, but same was tried after extending the files under app
2. Already there is an answer, but not sure that is valid one.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi,
I don't fully understand what you are trying to do, but perhaps it is worth taking a look at the dialog participant OR the Dynamic participant steps. Here, you can simply attach a dialogue (with all your extra fields), and out-of-the-box, that data will flow as expected. Please check this: https://experienceleague.adobe.com/en/docs/experience-manager-65/content/implementing/developing/ext...
https://medium.com/@toimrank/aem-dynamic-participant-step-1cd58e15f28
Hope this helps
Hi,
I don't fully understand what you are trying to do, but perhaps it is worth taking a look at the dialog participant OR the Dynamic participant steps. Here, you can simply attach a dialogue (with all your extra fields), and out-of-the-box, that data will flow as expected. Please check this: https://experienceleague.adobe.com/en/docs/experience-manager-65/content/implementing/developing/ext...
https://medium.com/@toimrank/aem-dynamic-participant-step-1cd58e15f28
Hope this helps
@bhagiyabalajis7 Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!
Views
Replies
Total Likes
Views
Likes
Replies