Custom button to open site in a new tab
Having trouble deploying Oxygen XML Web Author? Got a bug to report? Post it all here.
-
- Posts: 19
- Joined: Fri Feb 10, 2017 6:10 pm
Custom button to open site in a new tab
Post by grethelgomez »
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.
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Custom button to open site in a new tab
Post by cristi_talau »
Hello,
We are aware of this problem and it will be fixed in Web Author version 23.0 which is scheduled in about a month. We will update this thread when the release will be available.
The problem is caused because the web page that you want to open does not like to be loaded in an iframe preview. The fix was to skip the preview dialog and open the resource directly.
Best,
Cristian
We are aware of this problem and it will be fixed in Web Author version 23.0 which is scheduled in about a month. We will update this thread when the release will be available.
The problem is caused because the web page that you want to open does not like to be loaded in an iframe preview. The fix was to skip the preview dialog and open the resource directly.
Best,
Cristian
-
- Posts: 19
- Joined: Fri Feb 10, 2017 6:10 pm
Re: Custom button to open site in a new tab
Post by grethelgomez »
That's perfect. Looking forward to the new version!
Thanks!
Grethel Gomez.
Thanks!
Grethel Gomez.
-
- Posts: 517
- Joined: Thu Sep 04, 2014 4:22 pm
Re: Custom button to open site in a new tab
Post by cristi_talau »
I am writing to let you know that Oxygen XML Web Author version 23 was released and that now links are opened in a new tab directly, without a preview. This way, even if a page does not support being loaded in an iframe can now be opened.
For more details about this release you can check out the what's new page: https://www.oxygenxml.com/xml_web_author/whats_new.html .
Best,
Cristian
For more details about this release you can check out the what's new page: https://www.oxygenxml.com/xml_web_author/whats_new.html .
Best,
Cristian
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service