You need to sign in to do that
Don't have an account?
Alexander Rocha
Visualforce Chatter/Feed funcionality
Hi everyone,
I have a problem here.
I'm trying to implement a feed functionality(Chatter) in my visualforcePage, using the feedItem object.
I followed this tutorial https://developer.salesforce.com/page/Chatter_Code_Recipes (Recipe 6) and everything runs very well.
But I want to add the flag (feed) functionality, how can I do this? (With this the "Moderator" can filter the bad feeds)
I looked FeedItem fields and I didn't find any "flag" field.
Sorry my bad english.
Alexander Santos Rocha
I have a problem here.
I'm trying to implement a feed functionality(Chatter) in my visualforcePage, using the feedItem object.
I followed this tutorial https://developer.salesforce.com/page/Chatter_Code_Recipes (Recipe 6) and everything runs very well.
But I want to add the flag (feed) functionality, how can I do this? (With this the "Moderator" can filter the bad feeds)
I looked FeedItem fields and I didn't find any "flag" field.
Sorry my bad english.
Alexander Santos Rocha
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_ConnectAPI_CommunityModeration_static_methods.htm#apex_ConnectAPI_CommunityModeration_addFlagToFeedItem
But I got a error Exception "Resource not found".
I debug the parametter and everything is right.
Alexander Santos Rocha
I can get the feedItem with the same parameters (CommunityId, feedItemId), but I can't flag it.
"Resource Not Found" pops in my debug.
I already set the flag permission in my community
Thank you for your attention
Alexander Santos Rocha
31.0