Send HTML Page to HTML5 Client
-
- Posts: 9
- Joined: Wed Mar 09, 2016 8:05 pm
Send HTML Page to HTML5 Client
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
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
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:
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
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
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
-
- Posts: 9
- Joined: Wed Mar 09, 2016 8:05 pm
Re: Send HTML Page to HTML5 Client
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
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
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.
-
- Posts: 9
- Joined: Wed Mar 09, 2016 8:05 pm
Re: Send HTML Page to HTML5 Client
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
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
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.
There's no scripting sent to the client.
-
- Posts: 9
- Joined: Wed Mar 09, 2016 8:05 pm
Re: Send HTML Page to HTML5 Client
Hansen,
Gotcha. I understand what you are saying now. I will give that a try then.
Chad Newman
Black Mountain Software
Gotcha. I understand what you are saying now. I will give that a try then.
Chad Newman
Black Mountain Software
-
- Posts: 9
- Joined: Wed Mar 09, 2016 8:05 pm
Re: Send HTML Page to HTML5 Client
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
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