Customising the WebView Header Source
The default Nesstar webview banner is as below :
To edit the header/banner of the WebView client pages go to the top menu and select Customisation -> Edit Webview Header . This will open the Webview Header Source Editor and displays HTML code. Once you have completed any changes click on the ‘View in web browser’ to review your changes. To apply the changes click on 'Save' button.
Server can be set in two debug modes.
Simple Debug mode
This will enable extensive logging and can be quite helpful if the server is facing any issues.To set the server in debug mode, select the Debug option under the ‘Advanced server configurations’
Remote Debug mode
This will enable open you server for remote logon. This will be generally requested to be turned on if the Nesstar support team needs to logon to the server to troubleshoot an issue. This can be enable by menu option [Debugging -> Restart server in debugging mode]. Care should be taken not to keep this enabled all the time. Could cause security concerns.
In Nesstar WebView, it is possible to "link in" data/catalogues from more than one server at a time. Additional servers that have been linked in, appear as catalogs in webview, and users won't know that the data in
that catalogue lives in another server. The datasets will be available to use and analyse as on the local server.
Note: To access or publish data with the Nesstar Publisher you will still need to connect to the original server.
To add a server to be displayed in Webview Information needs to be added to the localdb.rdf file located in the /config/ directory and the backup located in the /config/instdata/config/ directory. Changes made to the version contained in the <Your-Nesstar-Server>/config/instdata/config/ directory, will not be overwritten by any subsequent ‘Apply Settings’ commands.
Steps to "link in" Server2 as catalog of the webview of Server1 :
- Go to the welcome page of the server2 you want to add to the webview. For example http://nesstar-demo.nsd.uib.no/nesstar/
- Note down the Server URI, which is the url beside "The direct url to this Nesstar server's server object is" . For example "http://nesstar-demo.nsd.uib.no/obj/cServer/MyServer"
- Browse to <Server1>/config folder
- Open the file ‘localdb.rdf’ using a text editor.
- Add the following entry before the closing rdf tag (</rdf>) :
<c:Server rdf:about="Server URI - as found in the object browser - http://ip-address:port/obj/cServer/ServerName ">
<rdfs:label>Enter label here</rdfs:label>
<rdfs:comment>Enter comment here</rdfs:comment>
To add a link to the Nesstar ‘Demo’ server add the following:
<rdfs:comment>The Nesstar Demo Server</rdfs:comment>
- Add the same infomation to <Your-Nesstar-Server>/config/instdata/config/localdb.rdf file also.
- Save both the files
- Open the Configuration Tool
- Click ‘Apply Settings’ to activate the changes.
- The webview will now display the Server2 as a sibling catalog of Server1.