• sridivya
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 7
    Questions
  • 7
    Replies

Hi,

 

 

I have small scenario like to display users who are in online for chatter.Can you  please help me in this scenario.



Thanksin Advance
     Sri

hai,

 

  i am getting Userfeed and i am displaying on Vfpage sucessfully.Now i want to display feed comments also .Can u any body please help me to display chatter feed comments.

 

 

 i am using following query to get feeds

 

 

SELECT Id, Type, CreatedById, CreatedBy.FirstName, CreatedBy.LastName, ParentId, Parent.Name, Body, Title, LinkUrl, ContentData, ContentFileName,
                             (SELECT Id, FieldName, OldValue, NewValue 
                              FROM FeedTrackedChanges ORDER BY Id DESC), 
                             (SELECT Id, CommentBody, CreatedDate,
                              CreatedBy.FirstName, CreatedBy.LastName
                              FROM FeedComments ORDER BY CreatedDate LIMIT 10),
                             (SELECT CreatedBy.FirstName, CreatedBy.LastName
                              FROM FeedLikes)
                         FROM NewsFeed
                         ORDER BY CreatedDate DESC, Id DESC  LIMIT 20.
i am getting feed on vfpage
                        
           <apex:pageBlockTable value="{!recentStatusUpdates}" var="update">
    
                                        <apex:column headerValue="User Feeds">
                                                  {!update.body}
                                        </apex:column>
                                      <apex:column headerValue="Comments">
        
                                        </apex:column>
  
                                        <apex:column headerValue="Action">
        
                                     <apex:commandLink              onclick="getComment('{!update.id}')">AddComent</apex:commandLink>&nbsp;&nbsp;&nbsp;&nbsp;
         
 
    </apex:column>
    </apex:pageBlockTable>

 

 

pls Suggest me

 

 

 

ThanksIn Advance

 

       Sri

 

 

hai  Friends,

 

 

 

                  i am new to chatter developement, My client requirement is enable chatter on Old SFDC account,versions like 18 or 17. can u please guide me how i can get chatter in old logins.

 

 

Thanksin Advance

 

      Sri

 

 

hai  Friends,

 

 

 

                  i am new to chatter developement, My client requirement is enable chatter on Old SFDC account,versions like 18 or 17. can u please guide me how i can get chatter in old logins.

 

 

Thanksin Advance

 

      Sri

How we can see chatter feeds,number of followers, and how we can chat from vfpage.....can u please give me one example.i am new to salesforce......pls

 

 

 

Thankin Advance

 

    Sri

 Hai friends,

 

 i am new to salesforce, i have one doubt how we can get chatter on Vfpage.in the latest version it supports chatter tags, i have seen them in component reference but i am not getting how to use them on Vfpage...can u any body please provide one sample example for that.........

 

 

 

Thanks in Advance

 

          Haribabu

hai friends,

 

i am working on flex and sfdc integration,i am new to flex ,i am struggling with issue,pls help me to store .as files. where we need to store .as files in flex

 

 

Thanks In Advance

           sri

 

 

hai  Friends,

 

 

 

                  i am new to chatter developement, My client requirement is enable chatter on Old SFDC account,versions like 18 or 17. can u please guide me how i can get chatter in old logins.

 

 

Thanksin Advance

 

      Sri

I am very new to this sorry.  I've tried to use the chatter code recipie to retrieve comments on a feed item, but what code can I use to display it on my visual force page?

 

 

List<NewsFeed> myfeed = [SELECT Id, Type, 
                         CreatedById, CreatedBy.FirstName, CreatedBy.LastName,
                         ParentId, Parent.Name, 
                         Body, Title, LinkUrl, ContentData, ContentFileName,
                             (SELECT Id, FieldName, OldValue, NewValue 
                              FROM FeedTrackedChanges ORDER BY Id DESC), 
                             (SELECT Id, CommentBody, CreatedDate,
                              CreatedBy.FirstName, CreatedBy.LastName
                              FROM FeedComments ORDER BY CreatedDate LIMIT 10),
                             (SELECT CreatedBy.FirstName, CreatedBy.LastName
                              FROM FeedLikes)
                         FROM NewsFeed
                         ORDER BY CreatedDate DESC, Id DESC
                         LIMIT 20];
In my visualforce page I use:
<apex:dataTable value="{!userFeeds}" var="uf" >
I use {!uf.createdby.Firstname} to get the first name but I do not know how to get the comment body out.
Can you suggest what I could try?
Thankyou...sorry my english is not good.

 

 

Does anyone know of a way to mass attach documents that are in content to multiple accounts?

 

Thanks,

ckellie

hai friends,

 

i am working on flex and sfdc integration,i am new to flex ,i am struggling with issue,pls help me to store .as files. where we need to store .as files in flex

 

 

Thanks In Advance

           sri

Hi,

 

I'm developing a sample application in flex. I'm trying to store the records from flex to salesforce.com, can anyone tell how to do this in flex.

 

I had tried this code to insert records from flex but its not working.Is anything wrong in my code pls check it and reply.

 

 

private function sampleinsert(lr:Object):void { force.query("SELECT Id,Department FROM Contact " + "WHERE Contact.Email='bond_john@grandhotels.com'" , new AsyncResponder(function(result:QueryResult):void { opps = result.records; })); var temp:String; //opps.Department="Medicare"; var newItems:Array= new Array(); newItem=new SObject("Contact"); //Alert.show(opps.getItemAt(0,0).Id.toString()); newItem.Id=opps.getItemAt(0,0).Id; //newItem.Name=textinput.text; //temp=opps.getItemAt(0,1).Department; newItem.Department="ssssss"; Alert.show(newItem.Department.tostring()); newItems.push(newItem); force.upsert("Id",[newItems], new AsyncResponder( function ():void{ Alert.show("ok seems like authors are saved"); } )); }

 

Thank You.
Message Edited by Coder on 10-22-2009 11:28 PM
  • October 23, 2009
  • Like
  • 0