Expand my Community achievements bar.

Make author instace "Preview as Published" navigateable

Avatar

Level 2

3/2/22

Request for Feature Enhancement (RFE) Summary: We would propose to have an out of the box way to always add the "?wcmmode=disabled" url slug to urls inside the author "Preview as published" environment because without it, we experience custom components breaking in the "Preview as Published". If it was always added, the author instance's "Preview as Published" could be fully navigateable for an author, which is good for demo's to stakeholders or business or testing UX flows.
Use-case: An author wishes to test or demonstrate a UX flow to stakeholders on the author's "Preview as Published" to include the most recent visual changes.
Current/Experienced Behavior: An author clicks a link on a "Preview as Published" page and is redirected to the correct URL, but without the "?wcmmode=disabled". The new page features components that visually break, visually misbehave or do not load content from content fragments. 
Improved/Expected Behavior: An author clicks a link on a "Preview as Published" page and is redirected to the correct URL, with the "?wcmmode=disabled". All components on the page render well. The author can gets a perfect visual representation of all components, with the latest changes present.
Environment Details (AEM version/service pack, any other specifics if applicable): Adobe Experience Manager 6.5.8.0
Customer-name/Organization name: National Lottery
Screenshot (if applicable): Screenshot 2022-03-02 at 15.23.16.png
Code package (if applicable):  
2 Comments

Avatar

Community Advisor

3/2/22

Good Idea! Couple of suggestions: - You can add a sling mapping to redirect to ?wcmmode=disabled always in a particular environment, which will behave the same way. - How are you planning to use authoring, is this supposed to be a mode like preview? Just one concern, if something like this happens, it will have a big impact on the already present code which takes leverage of wcmmode=disabled in HTL.

Avatar

Employee Advisor

3/9/22

Hello @jlanssie-lnl 

As mentioned by @Anmol_Bhardwaj this will have quite a big impact on the current behavior, and will require a large refactoring of the Editor. 
Engineering will unfortunately not consider this at this point, so I would recommend you to explore the sling mapping option mentioned above. 

Status changed to: Declined