Page includes in child page broken.

  • 4
  • Problem
  • Updated 3 years ago
  • Solved
Seems like page includes aren't working in child pages.

Getting this in the javascript console:
Uncaught ReferenceError: LC is not defined
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb

Posted 3 years ago

  • 4
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
Looks like this might just be related to a chatter feed?
Photo of Ben Rose

Ben Rose

  • 222 Points 100 badge 2x thumb
Hi Matt, running into this same issue!  Were you ever able to get to the bottom of it?
Photo of David Giger

David Giger

  • 1,758 Points 1k badge 2x thumb
Hi Matt,

I've got the exact same problem as you.
The page works fine. When I add a chatter feed component, the page brakes down and displays the error you described above.

Were you able to further investigate this issue? Any help would be appreciated.
Photo of Matt Sones

Matt Sones, Champion

  • 31,478 Points 20k badge 2x thumb
This is from JD at the end of a previous post by Ben:

I'm going to guess that you have the Chatter component on your page include. If that's the case, then you need to load chatter in with an iFrame. The Chatter component is not supported in Page Includes, popups or drawers for technical reasons related to VF component resource management.
Photo of David Giger

David Giger

  • 1,758 Points 1k badge 2x thumb
OK, thanks. I will try this then. Thx for your help.