You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE REQUEST] "Open in Web" for native clients #3672
In Android, this option is only available in the details view. Does this work for you? We have refactored lots of files in the new architecture. That means that if we need to add it somewhere else, we would implement this feature in already deleted files in the new architecture branch...
Open in web option is visible as soon as open_web_url is retrieved from capabilities. When the user clicks on the Open in web option, we trigger the request to the endpoint. If we receive the Uri, we open it. If we get an error(including 1. point error) we show an error message.
Looks like a bug / not considered case in the API implementation. But shouldn't be blocker since you can get all supported mimetypes from the /app/list endpoint.
Open in web option is visible as soon as open_web_url is retrieved from capabilities. When the user clicks on the Open in web option, we trigger the request to the endpoint. If we receive the Uri, we open it. If we get an error(including 1. point error) we show an error message.
Should only be offered for mimetypes from the /app/list endpoint.
Activity
jesmrec commentedon May 24, 2022
@pmaier1 Open file in Web Office means open out of the mobile client (web browser)? or open inline (internal web view)?
pmaier1 commentedon May 24, 2022
Web browser
pmaier1 commentedon May 24, 2022
Referencing iOS ticket owncloud/ios-app#1127
jesmrec commentedon May 24, 2022
Will be this feature something for everyone? or only for customers?
tbsbdr commentedon Jul 19, 2022
This feature is planned for everyone @jesmrec
michaelstingl commentedon Aug 15, 2022
Backend update: owncloud/client#9724 (comment)
abelgardep commentedon Aug 22, 2022
@michaelstingl
First steps, authentication is done in the browser. I already logged in some minutes ago, that's why the session is kept in the video.
first_steps_open_in_web_android.mp4
abelgardep commentedon Aug 26, 2022
@michaelstingl
Open in web feature needs clarification for this first iteration.
When there is no app that can open a specific file in web, we receive a 500 when asking for the uri to open it. Not sure if this is intended or not. I couldn't find info about this case in https://owncloud.dev/services/app-registry/apps/#open-a-file-with-the-owncloud-web
In Android, this option is only available in the details view. Does this work for you? We have refactored lots of files in the new architecture. That means that if we need to add it somewhere else, we would implement this feature in already deleted files in the new architecture branch...
Open in web option is visible as soon as
open_web_urlis retrieved from capabilities. When the user clicks on theOpen in weboption, we trigger the request to the endpoint. If we receive theUri, we open it. If we get an error(including 1. point error) we show an error message.wkloucek commentedon Aug 26, 2022
Looks like a bug / not considered case in the API implementation. But shouldn't be blocker since you can get all supported mimetypes from the
/app/listendpoint.Should only be offered for mimetypes from the
/app/listendpoint.jesmrec commentedon Aug 31, 2022
First iteration includes:
Open in webmenu option located in Details view.Open in weboption for every available file in oCIS account.apps_urlcapability is only used to check the feature availability (only oCIS).open-with-webendpoints returns 200 -> uri fetched and file opened in browser (it might need extra authentication)open-with-webendpoints returns error (no matter if 4xx or 5xx) -> error displayed in appTODO:
apps_urlendpoint from capabilities the available mime types to filter dynamically which should include theOpen in weboption and which notOpen in weboption in list of files instead of Details. Once sync engine is rewritten, it could be moved as another operation in list of files.apps_urlcapability retrieves (N2H)issues will be created.