allowedpath level filter | Community
Skip to main content
New Participant
January 14, 2016
Solved

allowedpath level filter

  • January 14, 2016
  • 3 replies
  • 873 views

Hi,

I need to limit the creation of a template to this path /content/myproj/language/here and not as a child of "here"

I tried with all the possible combinations of: /content/myproj/(.*)/(.*)  but it doesn't work.

Can you help me? 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 Kunal_Gaba_

Try the below expression for this use case - 

/content/myproj/([^/]*)/([^/]*)

3 replies

Kunal_Gaba_
Kunal_Gaba_Accepted solution
New Participant
January 14, 2016

Try the below expression for this use case - 

/content/myproj/([^/]*)/([^/]*)
New Participant
January 14, 2016

Ok but "language" and "here" are variables =)

edubey
New Participant
January 14, 2016

Correct me If I am wrong.

You want user should be able to create page using template at only this path /content/myproj/language/here

allowedPaths is multifield property. make sure you set it same way.

Set this allowedPaths of template to /content/myproj/language/here