Selector IN URL | Community
Skip to main content
Ricky99999
Level 4
November 8, 2017
Solved

Selector IN URL

  • November 8, 2017
  • 2 replies
  • 1961 views

Hi Team

              In URL we have selector. What role plays a selector here. Can anyone explain.

                      

Thank You

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 edubey

It's just an alternate method to render the content.

It might be used to execute the different component scripts or some servlet would be using it.

Will recommend you to see basics of sling request processing, something I think every dev should be aware of - > The Basics

Thanks

2 replies

edubey
edubeyAccepted solution
Level 10
November 8, 2017

It's just an alternate method to render the content.

It might be used to execute the different component scripts or some servlet would be using it.

Will recommend you to see basics of sling request processing, something I think every dev should be aware of - > The Basics

Thanks

kautuk_sahni
Community Manager
Community Manager
November 8, 2017

Selectors can be used to display the same content in an alternative format.

Please have a look at this community article:- http://www.aemcq5tutorials.com/tutorials/sling-resource-resolution-aem/ and http://blogs.adobe.com/contentmanagement/tag/selectors/

Refer to this old forum post:- Sling Resource Resolution Preference

//if the user request a content as --> <path>.<selector...>.<extension>

Then for the request resolution files ending with <selector>.<extension>.<script extension> takes priority

Kautuk Sahni