Expand my Community achievements bar.

SOLVED

Template Policy is not deploying with different naming convention

Avatar

Community Advisor

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 ?

 

Policy.png

Looking for your kindly response.

Thanks

Umesh Thakur

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

2 Replies

Avatar

Community Advisor

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

Avatar

Correct answer by
Community Advisor

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