Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Force a selector at page creation

Avatar

Level 4

If I have a template that reacts differently when a particular selector (or suffix), is it possible, at page creation to send this parameter to the page as a property?

example: my page should be accessed with a url ./somePage.html OR ./somePage.selector.html

I would like to create 2 pages based on that template, one that renders the 1st URL, and the other the second.  Is there a property I can set on my cq:Page node?

Thanks

0 Replies