Best Practise to install a Help File Folder

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

Best Practise to install a Help File Folder

Postby Bernd.N » Tue Nov 10, 2015 3:43 pm

We created a HTML-Helpfile default.htm, and stored that in the server folder
D:\Servoy\application_server\help\default.htm

There are also subfolders in that help folder that the default.htm will call.
To lauch that help file, we fire
application.showURL( "file:///" + plugins.UserManager.Server().servoyDirectory.replace(/\\/g, "/") + "/help/default.htm" );

That works fine as long as we test it ourselves on the server, but when a user calls that, who has a VPN-path like
h t t p ://de19a123.acme.auto.net:8080/servoy-client/bob.jnlp
to call our solution from anywhere in the VPN of our client (i.e. from different countries), that user certainly can not see the D:-drive, and the command above will not work.

The IT of our customer suggested to set up an IIS (Internet Information Server) to provide that help system to all users.
My question is if there is a more easy/leightweight way to make that help-file and help-folder accessible to all users in a VPN , besides an IIS?
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 544
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany

Re: Best Practise to install a Help File Folder

Postby ROCLASI » Tue Nov 10, 2015 9:00 pm

Hi Bernd,

You can let Tomcat serve up the HTML files. But to do that you need to place the help directory in :
D:\Servoy\application_server\server\webapps\ROOT\
Then you can access the file using the following URL:
h t t p ://de19a123.acme.auto.net:8080/help/default.htm

Hope this helps.
Robert Ivens
SAN Developer / Servoy Valued Professional / Servoy Certified Developer

ROCLASI Software Solutions / JBS Group, Partner
Mastodon: @roclasi
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5438
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: Best Practise to install a Help File Folder

Postby Bernd.N » Wed Nov 11, 2015 4:14 am

Thanks, Robert,

worked great after I detected that it needs to be Default.htm with a capital letter.

To be able to adjust the URL-call for each tenant, that path gets now stuffed into a field tenants.tn_help_folder C(200),
and the call is then invoked with
application.showURL( _to_tenants$currenttenantid.tn_help_folder );

(I wanted our help files to be stored on premise, should also be more snappy, and not put them on the web and let Google index them...)

Bernd
Bernd Korthaus
LinkedIn
Servoy 7.4.9 SC postgreSQL 9.4.11 Windows 10 Pro
User avatar
Bernd.N
 
Posts: 544
Joined: Mon Oct 21, 2013 5:57 pm
Location: Langenhorn, North Friesland, Germany


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 7 guests

cron