• Monish Mahalingam 13
  • NEWBIE
  • 0 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 2
    Questions
  • 1
    Replies
How to display chatter recommendations in custom Visual Force page. I searched for the connect API methods but I can't find the exact one. So please update with the connect API methods.

User-added image
How to display chatter bookmarks in custom Visual Force page. I searched for the connect API methods but I can't find the exact one. So please update me with the connect API methods.


User-added image
Here is mu code

<apex:page controller="testWrapper">
  <!-- Using wrapper class -->
 <apex:form>
   <apex:pageBlockSection>
     <apex:pageBlockTable value="{!books}" var="b">
         <apex:column width = "25px">
                <apex:inputCheckbox value="{!b.checked}" />
            </apex:column>
         <apex:column value="{!b.b1.Name}"/>
        
         <apex:column value="{!b.b1.Price__c}"/>
     </apex:pageBlockTable>
   </apex:pageBlockSection> 
 </apex:form>
 </apex:page>
---------------------------------------------------class--------------------------------------------------
public class testWrapper
{
  public List<Wrapper> books{get; set;}
  public testWrapper()
  {
 
     books = new List<Wrapper>();
     for(Book__c b1 : [select name,Price__c from Book__c])
     {

         books.add(new wrapper(b1));
        
      }
   }  
   public class Wrapper
   {
        public boolean checked {get; set;}
        public Book__c bl {get; set;}
        public Wrapper(Book__c bl)
        {
            this.bl = bl;
            this.checked = false;
        }
    }
 

}