Who can see my comments on a file ?
I have created an app to preview a Box file in a web application, connected via a Box App (and thus a service user account).
When in the web application, I can view the file, comment the file, highlight it etc.
But from the Box web app, I can see comments only when they @mention my Box user.
However, conversely, when I post a comment on the feed of the file, this comment can be seen from the web app in all cases, whether I @mention the Box app (service user) or not.
Question : how can I make sure that comments by the Box aa (service user) are visible by other "normal" Box users ?
-
Sorry for confusion. My earlier comment was a question seeing if you could confirm the behavior I think you are seeing... It is my understanding that if comments are on a file and you have access to the file, you should be able to see them - past or present. I could be wrong though. I haven't tested this functionality before.
-
OK, thanks.
Now back to my initial question.
I have created an app (in Salesforce) with the Box API (following advice by your colleague Kyle Adams).
In this app, the problem described occurs : a user in Box will only see comments posted to a shared file in Salesforce by someone else if they are mentioned in the comments feed. If a comment is posted with no mention, the Box user can see the file but not the comment.Now, in my case, the app is working with a Box service account.
So my question is :
Are comments posted on a file by a Box service account visible to all users who can see the file, or only to Box users mentioned in the comment ?I am seeing the latter, and I'm not happy about it. Maybe I'm missing a special setting ?
-
Please connect with Kyle Adams.
I set up this Salesforce canvas app for Box as designed by him here :
https://github.com/kylefernandadams/box-canvas-appThis communicates with a proxy app hosted on Heroku :
https://github.com/kylefernandadams/box-ui-elements-herokuThis, in turn, communicates with Box via a Box service account. In my scenario, I am adding comments from Salesforce to a Box file which is shared with 2 or 3 users in Box. The comments made in Salesforce (through the Box service account of a Box app) are only visible to Box users who are mentioned in the comment : I want to know whether this is normal, or a bug, or requires an extra setting I am missing.
I will later test this with a Box user authentication via OAuth from Salesforce (instead of Box service account), if this is possible, to leave comments marked as authored by the Box user himself.
Post is closed for comments.
Comments
10 comments