+ Start a Discussion
Marty C.Marty C. 

What object holds users' Chatter bookmarks?

Is there an object in Salesforce that I can query and/or run DML statements against to retrieve and create Chatter bookmarks for users?
Best Answer chosen by Marty C.
ShashankShashank (Salesforce Developers) 
Bookmarks are only exposed to the logged in user. We cannot see other users' bookmarks, even if we are administrators.

Through the chatter rest api, we can use this resource to find out if a chatter post is bookmarked by the logged-in user: http://www.salesforce.com/us/developer/docs/chatterapi/Content/connect_resources_feed_element_capability_bookmarks.htm#connect_resources_feed_element_capability_bookmarks

All Answers

ShashankShashank (Salesforce Developers) 
Bookmarks are only exposed to the logged in user. We cannot see other users' bookmarks, even if we are administrators.

Through the chatter rest api, we can use this resource to find out if a chatter post is bookmarked by the logged-in user: http://www.salesforce.com/us/developer/docs/chatterapi/Content/connect_resources_feed_element_capability_bookmarks.htm#connect_resources_feed_element_capability_bookmarks
This was selected as the best answer
alouie_sfdcalouie_sfdc
You can also retrieve the current user's bookmark feed with the Chatter REST API:
https://developer.salesforce.com/docs/atlas.en-us.chatterapi.meta/chatterapi/connect_resource_feeds_bookmarks.htm
Gabrielle Boeri-CharlesGabrielle Boeri-Charles
Is there any way to make (with flow/process) users automatically bookmark feed elements?
My case: I've built a Community on Napili Template. Users are notified every time something happens on their bookmarked feed items. I want them to receive notifications on every new question feed item (so a good solution is to have these items automatically bookmarked by them).
alouie_sfdcalouie_sfdc
If you can call Apex, you can use the ConnectApi.ChatterFeeds.updateFeedElementBookmarks() method: https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_ConnectAPI_ChatterFeeds_static_methods.htm#apex_ConnectAPI_ChatterFeeds_updateFeedElementBookmarks_1