0

The readBy capability that was introduced in v40.0 is very handy when building custom applications that leverage chatter. However, non-admin users are not getting the complete capability in the response body (see below) of a feed element. Administrators are getting a page of items (with the normal chatter rest api pagination) but standard users and community users get null for the page. Is this a setting that I have wrong?

// part of the capability response body

readBy: 
{ 
    isReadByMe: true,
    lastReadDateByMe: '2018-01-16T11:20:51.724Z',
    page: null 
},
5
  • 1
    The page info in the readBy capability is only available for posts that are in private or unlisted groups when the user is non-admin. The page info drives the Seen-by modal on the lightning UI documented here, which contains details on when it is available: releasenotes.docs.salesforce.com/en-us/summer17/release-notes/… – Alex Wu Jan 16 '18 at 19:14
  • @AlexWu - This is super helpful. I'm checking the notes in the link you provided against our setup and I will revert back with what I find. Thanks so much for pointing me to this. – Rob Goldiez Jan 17 '18 at 12:56
  • @AlexWu - What I don't understand is that regular (non-admin) users are not seeing readBy / seen-by information in unlisted Chatter Groups. They do not have Hide the Seen By List checked in their profile. Not sure why this information is not coming across the API responses. – Rob Goldiez Jan 17 '18 at 13:16
  • if the posts are under unlisted groups and the users do not have Hide the Seen By List, then the list should be populated in the readBy capabilities. It is possible that no other users have 'read' the post, therefore the list is empty? – Alex Wu Jan 18 '18 at 17:47
  • @AlexWu - These posts have definitely been read. As an admin I'm getting the page populated properly for the same unlisted group / messages. I'm baffled. – Rob Goldiez Jan 18 '18 at 18:17
0

I cannot think of any reason why the page is not properly populated in that case. If you have a test org with the credentials I can play with, I can take a quick look. Otherwise, you might want to work with support to get that resolved.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.