Hello,
I enabled bulkupdate to add/change properties for multiple pages in bulk. But when pages have mixed entries for tags the option to add/delete is disabled. Anyway to enable this option or override the functionality to add/delete tags?
Thanks,
Raj
Solved! Go to Solution.
Views
Replies
Total Likes
@Rajendar_Gangan : In my opinion such activities are once in while so you can take a call how to do it. Maybe create some sort of guide for authors to do it or can be performed by developers when required.
This was easiest approach without needing any code changes and deployment when we had to do it in our project, so thought of sharing it. Please feel free to explore other options and figure out the best approach for your case.
thanks.
Identify the component or script responsible for the bulk update functionality. This could be a custom component or a script provided by AEM.
Modify the component or script to handle the scenario of mixed tag entries. You will need to override the default behavior to enable the option to add or delete tags.
In the component or script, check if the pages have mixed tag entries. You can do this by iterating through the selected pages and checking the tag entries for each page.
If the pages have mixed tag entries, modify the logic to enable the option to add or delete tags. You may need to update the UI and backend logic to allow for this functionality.
Test the modified bulk update functionality to ensure that it works as expected for pages with mixed tag entries.
@Rajendar_Gangan: Not sure if I have understood your use-case completely but for bulk update of page meta-data (properties), there are many other ways to do it without even changing anything or writing any code.
Please refer already approved response : https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/aem-possible-to-add-meta-t...
You can also refer this ACS commons MCP tool for data importer: https://adobe-consulting-services.github.io/acs-aem-commons/features/mcp-tools/data-importer/index.h...
thanks.
@Kamal_Kishor I achieved it through ACS commons but its not very feasible for Authors. Would like to do it by selecting multiple pages.
Thanks
@Rajendar_Gangan : In my opinion such activities are once in while so you can take a call how to do it. Maybe create some sort of guide for authors to do it or can be performed by developers when required.
This was easiest approach without needing any code changes and deployment when we had to do it in our project, so thought of sharing it. Please feel free to explore other options and figure out the best approach for your case.
thanks.
@Rajendar_Gangan Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Like
Replies