Content will not be displayed | Community
Skip to main content
santosh_sai
Level 2
December 16, 2015
Solved

Content will not be displayed

  • December 16, 2015
  • 1 reply
  • 656 views

HI,

The aem created page is finely working with edit mode, but while i am trying it to switch in preview mode so few of content  and component will not be displayed.

Thanks 

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 kautuk_sahni

Hi 

There is similar problem posted in stackoverflow, Please have a look at the same :- http://stackoverflow.com/questions/29379169/aem-component-not-displayed-on-preview-mode

//The problem found out be be in their custom code.

comment from the post :- 

I was using Column Control (sightly version) as a guide and figured out that the following code was what was causing the issue:

if (typeof wcmmode != "undefined" && wcmmode.isEdit())

Thank you for helping me debug this issue.

 

you will be getting something in log file when you go to preview mode. can you share the error?

 

Thanks and Regards

Kautuk Sahni

1 reply

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
December 16, 2015

Hi 

There is similar problem posted in stackoverflow, Please have a look at the same :- http://stackoverflow.com/questions/29379169/aem-component-not-displayed-on-preview-mode

//The problem found out be be in their custom code.

comment from the post :- 

I was using Column Control (sightly version) as a guide and figured out that the following code was what was causing the issue:

if (typeof wcmmode != "undefined" && wcmmode.isEdit())

Thank you for helping me debug this issue.

 

you will be getting something in log file when you go to preview mode. can you share the error?

 

Thanks and Regards

Kautuk Sahni

Kautuk Sahni