Editable templates policy is getting remove after code deployment | Community
Skip to main content
Level 4
March 15, 2023
Solved

Editable templates policy is getting remove after code deployment

  • March 15, 2023
  • 1 reply
  • 1143 views

HI Team,

 

after each code deployed on cloud instance , policy on homepage template is getting removed from the template. i have to go again into template to select the page policy or template container policy again from the policy dropdown

 

what can be the reason ?

 

also for /conf changes in vault filter xml what should be correct mode like update or merge 

when i use merge it not updating the new changes but when i use mode as update . it works fine 

 

please let me know 

 

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 krishna_sai

Hi @sonuk85184451 Can you please check if you have committed the policy mappings correctly to your code base.

Thanks,

Krishna

1 reply

Umesh_Thakur
Community Advisor
Community Advisor
March 15, 2023

You need to make the same change in your codebase and use mode= merge or update(based on your requirement) in filter.xml to persist your changes.

Hope this helps

Umesh Thakur

Level 4
March 15, 2023

@umesh_thakur 

regarding first query ? 

after each code deployed on cloud instance , policy on homepage template is getting removed from the template. i have to go again into template to select the page policy or template container policy again from the policy dropdown

 

what can be the reason ?

krishna_sai
Community Advisor
krishna_saiCommunity AdvisorAccepted solution
Community Advisor
March 15, 2023

Hi @sonuk85184451 Can you please check if you have committed the policy mappings correctly to your code base.

Thanks,

Krishna