You need to sign in to do that
Don't have an account?
Sandy Gali
Chatter on Visualforce page
Hi All,
I am building a visualforce page (html and css ) also included for chatter.
My first tab should contain all chatter which will be the newsfeed and the second tab is the company tab which contains the information about the company group.
The problem I facing is that I am not able to use <chatter:newsfeed> and <chatter:feed> tags on the same page. The error I get is "Only one Chatter-related component can be specified per page."
This is part of the code
<apex:outputPanel id="OP">
<div class="mock-content" id="mock-content">
<apex:outputPanel id="OP1" rendered="{!IF(!withFollowers,true,false)}">
<chatter:newsfeed/>
</apex:outputPanel>
<apex:outputPanel id="OP2" rendered="{!withFollowers}">
<chatter:feed id="chatterFeedID" rendered="{!NOT(ISNULL(EntityID))}" entityId="{!EntityID}"/>
<!-- <chatter:followers id="chatterFeedID1" rendered="true" entityId="{!EntityID}"/> -->
</apex:outputPanel>
</div>
</apex:outputPanel>
Can any help me in this
I am building a visualforce page (html and css ) also included for chatter.
My first tab should contain all chatter which will be the newsfeed and the second tab is the company tab which contains the information about the company group.
The problem I facing is that I am not able to use <chatter:newsfeed> and <chatter:feed> tags on the same page. The error I get is "Only one Chatter-related component can be specified per page."
This is part of the code
<apex:outputPanel id="OP">
<div class="mock-content" id="mock-content">
<apex:outputPanel id="OP1" rendered="{!IF(!withFollowers,true,false)}">
<chatter:newsfeed/>
</apex:outputPanel>
<apex:outputPanel id="OP2" rendered="{!withFollowers}">
<chatter:feed id="chatterFeedID" rendered="{!NOT(ISNULL(EntityID))}" entityId="{!EntityID}"/>
<!-- <chatter:followers id="chatterFeedID1" rendered="true" entityId="{!EntityID}"/> -->
</apex:outputPanel>
</div>
</apex:outputPanel>
Can any help me in this
bob_buzzard
The best you'll be able to do here is break your page up into a couple of iframes - that way each iframe contains a page with a single chatter component.
MagulanDuraipandian
Check this for sample code - http://www.infallibletechie.com/2013/06/how-to-display-chatter-for-record-in.html