Expand my Community achievements bar.

SOLVED

AEM 6.5: Bulk update page properties for mixed entries

Avatar

Level 2

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?

 

Rajendar_Gangan_0-1707932934468.png

 

Thanks,

Raj

1 Accepted Solution

Avatar

Correct answer by
Level 8

@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.

 

View solution in original post

5 Replies

Avatar

Community Advisor

Hi @Rajendar_Gangan 

  1. Identify the component or script responsible for the bulk update functionality. This could be a custom component or a script provided by AEM.

  2. 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.

  3. 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.

  4. 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.

  5. Test the modified bulk update functionality to ensure that it works as expected for pages with mixed tag entries.



Avatar

Level 8

@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.

 

Avatar

Level 2

@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

Avatar

Correct answer by
Level 8

@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.

 

Avatar

Administrator

@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.

 



Kautuk Sahni