Applying the property change to multiple Pages | Community
Skip to main content
Level 2
Sep 7, 2022 2:14 AM UTC
Solved

Applying the property change to multiple Pages

Hi Guys,

My question is simple :

 

I want to add 3 jcr property to AEM pages but the number of pages is huge and i don't want to write it through a java backend service or through a custom workflow process .

Please advice how it can be achieved.

 

Thanks

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Mohit_KBansal
Mohit_KBansalAccepted solution
Employee
Sep 7, 2022 5:02 AM UTC

3 replies

Mohit_KBansal
Mohit_KBansalAccepted solution
Employee
Sep 7, 2022 5:02 AM UTC
ksh_ingole7
New Participant
Sep 7, 2022 3:17 AM UTC

Hi,

You can use a groovy script to do the same. 

Follow the below guide and write a groovy script :

https://hashimkhan.in/aem-adobecq5-code-templates/groovy-script/

And execute the same first in your local instance using the groovy console.

Thanks

Translate
Level 2
Sep 7, 2022 3:20 AM UTC

@ksh_ingole7  it would be same to write a java service then.. am finding a solution built it..no custom scripts/code.

 

Thanks.

Translate