Perspective- open an application or ask to open an application with the user's consent

Just a quick question.

I have a webpage were engineers are working with CAD files, as soon as the file is downloaded can I run some script that says "Hey do you want to open the file with autocad" and then do just that, with the users consent. Sort of how Oauth authentication works.

If not, it's no problem, if so could I be directed to documentation for this type of feature because I am having trouble finding any information on this.

The most a browser can do is (attempt to) open a URL with some registered protocol handler. As in, instead of http://, navigate to someCadProgram:// or maybe file://. Whether that will actually be allowed or do anything useful is up to the browser and the operating system, not really anything Ignition can do.

1 Like

I appreciate the response. So, there's a possibility that a user can download a file, and I can use a URL to point to the downloaded file and the pc maybe able to open it?

Assuming all the engineers use the same download location, os, etc.

Big assumption :slight_smile:

But, yes, hypothetically you can ask, via a navigation attempt, the 'user agent' (the browser) to open a particular URL that identifies a file, or something else.

Thank you, that was very helpful. Will using this link help guide me in the right direction?