Multiple Selector in custom Sling Model
Hi Team,
Is it possible to register a custom sling model with 2 or more selectors ? If yes, can please share how this can be achieved.
Can we use OSGI config to handle selector or resourceType to register a SlingModel ?
UseCase :
We have to export page content via custom Sling Model where in we can export complete page as JSON or specific component on that page as JSON as per selector used in the api endpoint.
Eg : <API ENDPOINT>.<SELECTOR1>.<COMPONENTID>.<EXTENSION>
Thank you in advance