You need to sign in to do that
Don't have an account?

Access chatter through iframe in visualforce
I'm trying to access chatter in visualforce using iframe in customer portal.
Reason why I'm not using the default chatter tab is because I'm adding some custom styling in visualforce and I also don't want to see the sidebar and header.
The iframe works under force.com but when trying to access through community it throws an error page
<apex:page sidebar="false" showHeader="false" standardStylesheets="true" doctype="html-5.0">
<apex:pageBlock >
<apex:iframe id="iframe" src="/_ui/core/chatter/ui/ChatterPage?isdtp=vw"
scrolling="true" width="100%" height="500px"/>
</apex:pageBlock>
</apex:page>
Can somebody help me understand why it does not display in community?
Reason why I'm not using the default chatter tab is because I'm adding some custom styling in visualforce and I also don't want to see the sidebar and header.
The iframe works under force.com but when trying to access through community it throws an error page
<apex:page sidebar="false" showHeader="false" standardStylesheets="true" doctype="html-5.0">
<apex:pageBlock >
<apex:iframe id="iframe" src="/_ui/core/chatter/ui/ChatterPage?isdtp=vw"
scrolling="true" width="100%" height="500px"/>
</apex:pageBlock>
</apex:page>
Can somebody help me understand why it does not display in community?
Had to use the whole relative community URL. was using the force.com URL
Thanks heaps,
everyone for input
All Answers
Instead of using Ifrmae you can use chatter component in visualforce pages
https://developer.salesforce.com/releases/release/Winter11/Chatter+Components+for+Visualforce
Had to use the whole relative community URL. was using the force.com URL
Thanks heaps,
everyone for input