Changes in editable template policies not reflected in existing pages | Community
Skip to main content
New Participant
January 2, 2024

Changes in editable template policies not reflected in existing pages

  • January 2, 2024
  • 2 replies
  • 731 views

I added a new component to my editable template by source code, editing 

 

ui.content\src\main\content\jcr_root\conf\my-site\settings\wcm\templates\my-template\structure\.content.xml

and

ui.content\src\main\content\jcr_root\conf\my-site\settings\wcm\templates\my-template\policies\.content.xml

 

I added an embed component.

 

And it's being added to all the pages.

However, in new created pages the component shows a list of embeddables whereas in already existing pages it does not.

 

In new pages:

 

In already existing pages:

 

I know embeddable options are controlled by policies, which are working because the radio button is restricted to "Embeddable / None" via policy (there are more values). I checked both pages using this template.

 

What could be the cause for this?

 

We use AEM as a Cloud Service.

 

Thanks.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

kautuk_sahni
Employee
January 23, 2024

@garciacavero-a 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
EstebanBustamante
New Participant
January 17, 2024

Please double-check whether the policy is targeting the correct component under the correct container; typically, this should resolve the issue

Esteban Bustamante