Custom URI
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 11
- Joined: Wed Oct 27, 2010 3:49 pm
Custom URI
We have a web based ERP system and I'm trying to find a way to launch PDF-XChange from a web browser.
I've modified the registry to create a custom URI called pdfxc. In the Edge browser I can enter pdfxc:// and enter command line options and the browser launches PDF-XChange. The issue I'm running into is everything entered in the address bar in Edge gets passed to PDF-XChange and then it displays an error it couldn't open the document pdfxc:// and the remaining text I entered in the address bar.
Does PDF-XChange have an option where it could take a URL encoded string and decode it and execute it like the command was run from the Windows command line?
I've modified the registry to create a custom URI called pdfxc. In the Edge browser I can enter pdfxc:// and enter command line options and the browser launches PDF-XChange. The issue I'm running into is everything entered in the address bar in Edge gets passed to PDF-XChange and then it displays an error it couldn't open the document pdfxc:// and the remaining text I entered in the address bar.
Does PDF-XChange have an option where it could take a URL encoded string and decode it and execute it like the command was run from the Windows command line?
-
- Site Admin
- Posts: 11266
- Joined: Wed Jan 03, 2018 6:52 pm
Re: Custom URI
Hello, crendall
If you are using this to access PDF files or convert webpages to PDF, we offer this in the browser addin, which is part of our standard printer, simply open any webpage, or PDF document, and you will see an option to either convert with or open in our software: Beyond that, I do not know of any other ways to make this work, I am curious about the intent however, if it is not to do what we already offer, could you please elaborate on what the intent of this handling is specifically?
Kind regards,
If you are using this to access PDF files or convert webpages to PDF, we offer this in the browser addin, which is part of our standard printer, simply open any webpage, or PDF document, and you will see an option to either convert with or open in our software: Beyond that, I do not know of any other ways to make this work, I am curious about the intent however, if it is not to do what we already offer, could you please elaborate on what the intent of this handling is specifically?
Kind regards,
You do not have the required permissions to view the files attached to this post.
Dan McIntyre - Support Technician
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
-
- User
- Posts: 11
- Joined: Wed Oct 27, 2010 3:49 pm
Re: Custom URI
From our web-based ERP system I'd like to be able to click a button that passes a URL to open a PDF in PDF-XChange from our local file server for the user to edit and save back to the file server.
I was able to accomplish this by creating a small console application that URL decodes the path to the file on the file server and then launches PDF-XChange using the command line options to open the file.
I needed to create a few GPO settings to set registry values in Windows and to configure Edge to open my console app without prompting the user. Once all that was set, I was able to launch the PDF-XChange Windows app from a web browser and open the file from our file server.
I was able to accomplish this by creating a small console application that URL decodes the path to the file on the file server and then launches PDF-XChange using the command line options to open the file.
I needed to create a few GPO settings to set registry values in Windows and to configure Edge to open my console app without prompting the user. Once all that was set, I was able to launch the PDF-XChange Windows app from a web browser and open the file from our file server.
-
- Site Admin
- Posts: 3586
- Joined: Thu Jul 08, 2004 10:36 pm
Re: Custom URI
In the next build, the Editor will support custom URI pxce.
For example:
pxce:file:///c:/Program%20Files/Tracker%20Software/PDF%20Editor/PDFXLicense.pdf
For example:
pxce:file:///c:/Program%20Files/Tracker%20Software/PDF%20Editor/PDFXLicense.pdf
PDF-XChange Co Ltd. (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
-
- User
- Posts: 11
- Joined: Wed Oct 27, 2010 3:49 pm
Re: Custom URI
I've installed the 10.3.1.387 release, and the pxce URI works great! I can open PDF files in PDF-XChange from our local file share from the web client for our ERP system. No other custom pieces of software needed. It just works out-of-the-box!
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: Custom URI
Hello crendall,
Glad to hear you are happy with the update! And Kudos to Ivan for adding it!
Enjoy using our software and
Kind regards,
Stefan
Glad to hear you are happy with the update! And Kudos to Ivan for adding it!
Enjoy using our software and
Kind regards,
Stefan
-
- User
- Posts: 15
- Joined: Thu Dec 08, 2022 7:14 am
Re: Custom URI
Hello,
is there any documentation what else can be passed with the pxce: URI scheme? Or is it limited to opening files?
For example with the mailto: URI scheme you can add extra stuff like the email body via query strings / parameters.
Kind regards
benep
is there any documentation what else can be passed with the pxce: URI scheme? Or is it limited to opening files?
For example with the mailto: URI scheme you can add extra stuff like the email body via query strings / parameters.
Kind regards
benep
-
- Site Admin
- Posts: 11266
- Joined: Wed Jan 03, 2018 6:52 pm
Re: Custom URI
Hello, benep
With how new this is, I am afraid that we do not have any documentation on it yet. I will contact the Devs who created this feature and double check with them, then get back to you as soon as I have an answer.
Kind regards,
With how new this is, I am afraid that we do not have any documentation on it yet. I will contact the Devs who created this feature and double check with them, then get back to you as soon as I have an answer.
Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
PDF-XChange Co. LTD
+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
-
- User
- Posts: 2
- Joined: Wed Jul 03, 2024 10:14 am
Re: Custom URI
I've managed it to open pdf files, but is there a way to use the scheme to navigate to a specific part in the PDF file ? (named destination, or bookmark, ...)
-
- Site Admin
- Posts: 3586
- Joined: Thu Jul 08, 2004 10:36 pm
Re: Custom URI
Not for now, but we are planning to extend pxce handling.
PDF-XChange Co Ltd. (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
-
- User
- Posts: 2
- Joined: Wed Jul 03, 2024 10:14 am
Re: Custom URI
Great news !,Ivan - Tracker Software wrote: ↑Wed Jul 03, 2024 9:37 pm Not for now, but we are planning to extend pxce handling.
you can check how adobe implemented it : https://pdfobject.com/pdf/pdf_open_parameters_acro8.pdf
Hope you implement it soon.
-
- Site Admin
- Posts: 3586
- Joined: Thu Jul 08, 2004 10:36 pm
Re: Custom URI
The Editor supports fragments (https://www.rfc-editor.org/rfc/rfc8118.html#section-3) via the command line, and we have already added support for them to the pxce URI, but you have to wait for the 10.4 version to use it there.
PDF-XChange Co Ltd. (Project Director)
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.
When attaching files to any message - please ensure they are archived and posted as a .ZIP, .RAR or .7z format - or they will not be posted - thanks.