Hi All,
Couple of doubts as below :
1] In the author instance, setting WCMMode = Disabled in "Day CQ WCM Filter" , will make it to behave as publish instance. Is that correct ?
2] In "Apache Sling Resource Resolver Factory" , there is a section "URL Mappings". It also has description along with it. But not quite getting it. What exactly is the purpose of this setting.
Any thoughts on this will be helpful.
Solved! Go to Solution.
Views
Replies
Total Likes
1. As @kautuksahni mentioned wcmmode=disabled will hide all the authoring panels which looks close to publish instance.
2. 'URL Mappings' in Sling Resource Resolver configuration can be used to map or change your application URL
ex: if you want to remove /content/abc/en/ to / , you can configure as /content/abc/en/:/ so that your URL will be mapped accordingly
If you access abc.com/, then it would render /content/abc/en/ based on your webserver domain mapping.
Views
Replies
Total Likes
Hi
For Question 1:
//
if we add a parameter to your query string, wcmmode=disabled
For example: http://localhost:4502/content/geometrixx-outdoors/en.html?wcmmode=disabled
This will hide all of the authoring tools. It's as close as you can get to how a page looks on a publish on an author instance.
Be sure to remove cf# from the path.
Link:- http://stackoverflow.com/questions/27431582/preview-in-author-instance
You can add a button in your sidekick to make page wcmmode disabled.
Link:- http://experience-aem.blogspot.in/2014/05/aem-cq-561-add-button-to-sidekick-bottom-toolbar.html
Thanks and Regards
Kautuk Sahni
Views
Replies
Total Likes
1. As @kautuksahni mentioned wcmmode=disabled will hide all the authoring panels which looks close to publish instance.
2. 'URL Mappings' in Sling Resource Resolver configuration can be used to map or change your application URL
ex: if you want to remove /content/abc/en/ to / , you can configure as /content/abc/en/:/ so that your URL will be mapped accordingly
If you access abc.com/, then it would render /content/abc/en/ based on your webserver domain mapping.
Views
Replies
Total Likes
Hi Kautuk/Lokesh,
Thank you for your reply.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies