Skip to main content
jayv25585659
Level 8
Jul 18, 2024 2:28 AM UTC
Solved

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

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.
RahulBGPandey
RahulBGPandeyAccepted solution
Level 2
Jul 18, 2024 6:28 AM UTC

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
Jul 18, 2024 2:47 AM UTC

@jayv25585659 

 

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

Translate
Aanchal Sikka
TarunKumar
Community Advisor
Community Advisor
Jul 18, 2024 5:39 AM UTC

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

Translate
RahulBGPandey
RahulBGPandeyAccepted solution
Level 2
Jul 18, 2024 6:28 AM UTC

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

Translate