Send HTML Page to HTML5 Client

General conversation about our product. Get help with your 'How To' questions.
Post Reply
chadnewman01
Posts: 9
Joined: Wed Mar 09, 2016 8:05 pm

Send HTML Page to HTML5 Client

Post by chadnewman01 » Mon Sep 26, 2016 1:21 pm

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

hansen
Posts: 137
Joined: Wed Dec 02, 2015 12:23 am

Re: Send HTML Page to HTML5 Client

Post by hansen » Mon Sep 26, 2016 5:23 pm

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/

John
Posts: 84
Joined: Sun Sep 30, 2012 7:10 am

Re: Send HTML Page to HTML5 Client

Post by John » Mon Sep 26, 2016 5:52 pm

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

chadnewman01
Posts: 9
Joined: Wed Mar 09, 2016 8:05 pm

Re: Send HTML Page to HTML5 Client

Post by chadnewman01 » Tue Sep 27, 2016 7:20 pm

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

hansen
Posts: 137
Joined: Wed Dec 02, 2015 12:23 am

Re: Send HTML Page to HTML5 Client

Post by hansen » Tue Sep 27, 2016 9:06 pm

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.

chadnewman01
Posts: 9
Joined: Wed Mar 09, 2016 8:05 pm

Re: Send HTML Page to HTML5 Client

Post by chadnewman01 » Thu Sep 29, 2016 5:25 pm

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

hansen
Posts: 137
Joined: Wed Dec 02, 2015 12:23 am

Re: Send HTML Page to HTML5 Client

Post by hansen » Thu Sep 29, 2016 7:50 pm

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.

chadnewman01
Posts: 9
Joined: Wed Mar 09, 2016 8:05 pm

Re: Send HTML Page to HTML5 Client

Post by chadnewman01 » Thu Oct 06, 2016 6:42 pm

Hansen,
Gotcha. I understand what you are saying now. I will give that a try then.

Chad Newman
Black Mountain Software

chadnewman01
Posts: 9
Joined: Wed Mar 09, 2016 8:05 pm

Re: Send HTML Page to HTML5 Client

Post by chadnewman01 » Fri Oct 07, 2016 2:56 pm

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

Post Reply