Template Policy is not deploying with different naming convention | Community
Skip to main content
Umesh_Thakur
Community Advisor
Community Advisor
April 20, 2020
Solved

Template Policy is not deploying with different naming convention

  • April 20, 2020
  • 2 replies
  • 3365 views

Hi Members,

In my current project template policies are named like policy_<some hash> but I have created one template policy with different naming convention like in below image with RED underlined, when I deploy the code with -PautoInstallPackage maven profile it does not deploy that policy with different naming convention.

So my question is that is there any place where I need to make this policy or naming convention enable to be picked up by Maven ?

 

Looking for your kindly response.

Thanks

Umesh Thakur

 

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 arunpatidar

Hi,

There is no restriction in naming. Can you try to create manually?

I believe the issue is with filter.xml where you had filter mode merge, that mean no update from code to AEM. 

 

For policy try to add new filter without mode and then check.

https://jackrabbit.apache.org/filevault/filter.html

2 replies

ArpitVarshney
Community Advisor
Community Advisor
April 20, 2020

Hi @umesh_thakur 

Can you verify filter.xml (which is present in the META-INF/vault directory) file of your aem codebase which defines what parts of the JCR repository are imported or exported during the respective operations through vlt or package management.

 

Regards,

Arpit

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
April 20, 2020

Hi,

There is no restriction in naming. Can you try to create manually?

I believe the issue is with filter.xml where you had filter mode merge, that mean no update from code to AEM. 

 

For policy try to add new filter without mode and then check.

https://jackrabbit.apache.org/filevault/filter.html

Arun Patidar