Can anyone explain me the wildcards in allowedpaths when we use it for template creation and what exactly this path will do
/content(.*/)?/test(.*)?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi
As mentioned by Praveen, these were regular expression.
To learn Regular expression, please follow :- http://regexone.com/
I hope this would help.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
This actually defines the regular expression of a path where page can be created using this template.
If allowedPath is /content/abc for a template A,
then using template A you can only create pages where its allowed which is /content/abc.
You can define multiple allowed paths with regular expression.
Have a look @ documenttation
https://docs.adobe.com/docs/en/cq/5-6-1/developing/templates.html
I would recommend you to learn regular expressions (regex) and how they are used.
This is one good site I personally follow : http://regexr.com/
edubey wrote...
I would recommend you to learn regular expressions (regex) and how they are used.
This is one good site I personally follow : http://regexr.com/
Thank You
Hi
As mentioned by Praveen, these were regular expression.
To learn Regular expression, please follow :- http://regexone.com/
I hope this would help.
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes