Page 1 of 1

Send HTML Page to HTML5 Client

Posted: Mon Sep 26, 2016 1:21 pm
by chadnewman01
Is there a method or command available in the TSPlus API to send a url to the html5 client. Similar to when printing using universal Printer where it creates the PDF and then the HTML5 client opens the URL sent to it to view the PDF created?

I'm trying to send a web page on the server to the HTML 5 client the same way.

Thanks,

Chad Newman
Black Mountain Software

Re: Send HTML Page to HTML5 Client

Posted: Mon Sep 26, 2016 5:23 pm
by hansen
I'm not sure about security settings of browsers, but it's working fine for me in Firefox if I issue an "shell execute" on a *.url file.
You can issue shell execute by double clicking a *.url file or run a tool like NirCMD http://nircmd.nirsoft.net/shexec.html
An *.url file is the files created, when you bookmark a website in Internet Explorer - the file structure is quite simple, just create a file ending in .url with the following:

Code: Select all

[InternetShortcut]
URL=https://www.google.com/

Re: Send HTML Page to HTML5 Client

Posted: Mon Sep 26, 2016 5:52 pm
by John
Hello,

TSplus includes a nice feature named "URL on Client"

This feature is working properly with HTML5.

You just have to activate it using the AdminTool.

I think you should test it: it is a great feature.

Kind regards

John

Re: Send HTML Page to HTML5 Client

Posted: Tue Sep 27, 2016 7:20 pm
by chadnewman01
John,
Thanks much. So if I'm reading this correctly, the user has to click on something server side and it opens client side.
I'm trying to push and html page client side not a link. The same way the Universal Printer opens the PDF when you print something.

Thanks,

Chad Newman
Black Mountain Software

Re: Send HTML Page to HTML5 Client

Posted: Tue Sep 27, 2016 9:06 pm
by hansen
You can add .html to the Open On Client Side and then run it on the server with the shell execute. Not sure how the client browser handles it, but it's similar to pushing a .docx file to the client.

Re: Send HTML Page to HTML5 Client

Posted: Thu Sep 29, 2016 5:25 pm
by chadnewman01
Hansen,
Thanks but we are using the HTML5 Client, we cannot run a VBS script. HTML5 Client restricts access to what can be done on the client side.

Thanks again,

Chad Newman
Black Mountain Software

Re: Send HTML Page to HTML5 Client

Posted: Thu Sep 29, 2016 7:50 pm
by hansen
I think you're misunderstanding something. You need to run the shell execution on the server (which is the same as a person double clicking on a .html file) if you need to push the .html file to the client.
There's no scripting sent to the client.

Re: Send HTML Page to HTML5 Client

Posted: Thu Oct 06, 2016 6:42 pm
by chadnewman01
Hansen,
Gotcha. I understand what you are saying now. I will give that a try then.

Chad Newman
Black Mountain Software

Re: Send HTML Page to HTML5 Client

Posted: Fri Oct 07, 2016 2:56 pm
by chadnewman01
Hansen and John

Thanks much for all of your help. I'm all set in what I was attempting to do!
Able to open an html page/link client side to perform a mailto.

Thanks again,

Chad Newman
Black Mountain Software