I have created a component, I can see the content rendered from that component in edit mode and by removing the editor.html. but when i am trying to see in View As Published mode by adding ?wcmmode=disabled in the url, it does not show my component on the page
My component code:
How can i fix this issue so that i can see the content in all the modes ?
Solved! Go to Solution.
Views
Replies
Total Likes
Please check the logs, if there is any errors when using ?wcmmode=disabled
Please check the logs, if there is any errors when using ?wcmmode=disabled
It was failing to load because of js code written inside clientlib.
Is this Class getting appended as you mentioned here ?
data-sly-call="${template.placeholder @ isEmpty=!exists, classAppend='cmp-rsnipLegalDisclousure'}">
If yes, the Clientlibs are loading? can you check in 'source' tab in browser?
Is the markup present on the page?
as mentioned by @aanchal-sikka , errors in logs?
Views
Likes
Replies