Quantcast
Channel: Adobe Community : Popular Discussions - CQ5 (read only)
Viewing all articles
Browse latest Browse all 12476

Sling mapping issue with Query String

$
0
0

For a button component, URL behaves differently with query string. Please let me know the sling mapping example for query string.

 

Button component behavior across env:-

Working Scenario:-

- In Author edit mode, URL pointing to "/content/<websitelink>"

- In Author preview mode shows URL "<host>:<port>/content/<websitelink>.html"

- In Publisher mode shows URL, "<host>:<port>/<websitelink>", we do not want "/content" before website link so it is fine.

 

Failure Scenario with query string:-

- In Author edit mode URL pointing to "/content/<websitelink>?username=han"

- In Author preview mode with URL "<host>:<port>/content/<websitelink>?username=han"

- In Publisher mode, <host>:<port>/content/<websitelink>?username=han - Here we see the content, which is not acceptable in our scenario.

 

Please let me know the mapping changes when we have a URL with query string.


Viewing all articles
Browse latest Browse all 12476

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>