oXygen 17.1 OpenInSystemAppOperation resourcePath question
Oxygen general issues.
-
- Posts: 18
- Joined: Thu Mar 16, 2017 8:44 pm
oXygen 17.1 OpenInSystemAppOperation resourcePath question
I'm trying to launch a word doc using the OpenInSystemAppOperation action, and nothing's happening when i provide it the following resourcePath: 'P:/04 Divisions/Global Information Services/PUBS/12 Publications Forms/FCC Style Guide.docx'
I've tried escaping the spaces. I've tried appending 'file:///' to the beginning of the path. I've also tried using the UNC path. Is there any way to launch a docx file via custom action in 17.1?
I've tried escaping the spaces. I've tried appending 'file:///' to the beginning of the path. I've also tried using the UNC path. Is there any way to launch a docx file via custom action in 17.1?
-
- Posts: 9436
- Joined: Fri Jul 09, 2004 5:18 pm
Re: oXygen 17.1 OpenInSystemAppOperation resourcePath question
Hi,
The resourcePath param should be an XPath expression so you should have simple quotes around the absolute URL-like path.
For example I tested with this exact value set in the resourcePath param:
and it worked for me, invoking the action opened MS Word. One more thing, as you see in the URL path I escaped characters like spaces using hex equivalents (%20 in this case).
Regards,
Radu
The resourcePath param should be an XPath expression so you should have simple quotes around the absolute URL-like path.
For example I tested with this exact value set in the resourcePath param:
Code: Select all
'file:/D:/projects/eXml/samples/ooxml/Conversion%20of%20units.docx'
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
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