Custom button to open site in a new tab
Posted: Thu Oct 22, 2020 6:08 pm
Hi,
We have a custom framework for our Oxygen XML Editor and Web Author apps.
In the custom framework, we recently added a button to facilitate writers accessing a Sharepoint site. This button works okay on desktop: the default browser is opened with the site. In Web Author, the preview window opens empty and after clicking the button Open in a new tab, a new tab opens with the URL starting by spo-https://.
In the custom framework, this is how the action is defined:
Operation: OpenInSystemAppOperation
resourcePath:
mediaType: html
We also tested a shortened URL but it also didn't work:
Any suggestions to get this working will be very appreciated.
Thanks in advance!
Grethel Gomez.
We have a custom framework for our Oxygen XML Editor and Web Author apps.
In the custom framework, we recently added a button to facilitate writers accessing a Sharepoint site. This button works okay on desktop: the default browser is opened with the site. In Web Author, the preview window opens empty and after clicking the button Open in a new tab, a new tab opens with the URL starting by spo-https://.
In the custom framework, this is how the action is defined:
Operation: OpenInSystemAppOperation
resourcePath:
Code: Select all
https://example-site-for-question.com/Shared%20Documents/Forms/AllItems.aspx
We also tested a shortened URL but it also didn't work:
Code: Select all
https://example-site-for-question.com/Shared%20Documents
Any suggestions to get this working will be very appreciated.
Thanks in advance!
Grethel Gomez.