Template Policy is not deploying with different naming convention

Avatar

Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile

Avatar
Validate 1
MVP
Umesh_Thakur
MVP

Likes

147 likes

Total Posts

157 posts

Correct reply

53 solutions
Top badges earned
Validate 1
Applaud 25
Ignite 3
Ignite 1
Give Back 5
View profile
Umesh_Thakur
MVP

20-04-2020

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

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,318 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,442 likes

Total Posts

3,318 posts

Correct reply

941 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

20-04-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

Answers (1)

Answers (1)

Avatar

Avatar
Validate 1
MVP
ArpitVarshney
MVP

Likes

136 likes

Total Posts

185 posts

Correct reply

36 solutions
Top badges earned
Validate 1
Establish
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Validate 1
MVP
ArpitVarshney
MVP

Likes

136 likes

Total Posts

185 posts

Correct reply

36 solutions
Top badges earned
Validate 1
Establish
Give Back 5
Give Back 3
Give Back 25
View profile
ArpitVarshney
MVP

20-04-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