How to edit Files as a JWT Authenticated User in browser?
回答済みHello!
Is there a way to edit files in browser as an app user (JWT user)? We're looking for an app user flow similar to a managed user opening a file in box and editing it in browser, such as opening and editing the file using Microsoft Word Online.
Context for the curious -
I'm working in a .NET application with version 3.9.3 of the SDK. I've created the user, and put them in a group that can see the file. When I use the user's token and call client.SearchManager.SearchAsync(FILE NAME), it returns the file. With the user's token, I've created SharedLinks for the file with an AccessType of open. When hitting the SharedLink URL in a chrome browser, I did not see any editing capability. If I was logged in to my own box account in a different browser tab, it appeared to pick up my personal user credentials and enable editing options.
We tested out the Box Embed component on the same file, and did not see any edit capabilities. I have not tested out the other box UI elements, but I did not find anything in their doc suggesting they could provide edit functionality for app users.
-
I think you can use Box UI elements to do this. You can show files for a user (app user in this case) and then use the new Open With element to even edit the file.
https://medium.com/box-developer-blog/introducing-the-open-with-ui-element-665877706be0
-
Just wanted to share a quick update - we just launched the GA of the Open With element with support for Google Docs, Adobe Sign and Box Edit (aka editing via desktop applications). Thought you might find this interesting.Here are a few resources to help you get started:
- Blog post
- Developer Documentation
- Box Elements Demos (includes Open With)
- Github
Please reach out to us via https://support.box.com if you have any questions / feedback / issues you run into. Thanks for reading!
サインインしてコメントを残してください。
コメント
2件のコメント