Editable templates: I made changes to an existing policy. how do I publish these changes? | Community
Skip to main content
jayv25585659
Level 8
July 18, 2024
Solved

Editable templates: I made changes to an existing policy. how do I publish these changes?

  • July 18, 2024
  • 3 replies
  • 638 views

as an example: I changed the existing policy attached to my image component. I added some styles to it.

 

Thanks

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

Hi Jay,

 

if you are making changes to the policy using the Template editor, then while publishing the template policies will also get published along with it. 

And if you are making changes in code then take care of the filter mode (should be 'replace') before deploying it.

 

 

Thanks

3 replies

aanchal-sikka
Community Advisor
Community Advisor
July 18, 2024

@jayv25585659 

 

Publish the template where this policy is used. It will find all references that are changed and will publish them.

Aanchal Sikka
TarunKumar
Community Advisor
Community Advisor
July 18, 2024

HI @jayv25585659 ,

You can either of below three options:

1. Publish the template from UI console.
2. Replicate the editable template node from CRX.
3. Deploy the updated package on publisher.


-Tarun

RahulBGPandey
RahulBGPandeyAccepted solution
Level 2
July 18, 2024

Hi Jay,

 

if you are making changes to the policy using the Template editor, then while publishing the template policies will also get published along with it. 

And if you are making changes in code then take care of the filter mode (should be 'replace') before deploying it.

 

 

Thanks