Expand my Community achievements bar.

SOLVED

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

Avatar

Level 9

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

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 2

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

View solution in original post

3 Replies

Avatar

Community Advisor

@jayv25585659 

 

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


Aanchal Sikka

Avatar

Community Advisor

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

Avatar

Correct answer by
Level 2

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