Miscellaneous

Customising the WebView Header Source

The default Nesstar webview banner is as below :
webview-header-s

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 Debugging

Server can be set in two debug modes.

             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

            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.

 

Federated Servers

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 :

  1. Go to the welcome page of the server2 you want to add to the webview. For example http://nesstar-demo.nsd.uib.no/nesstar/
  2. 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"
  3. Browse to <Server1>/config folder
  4. Open the file ‘localdb.rdf’ using a text editor.
  5. 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>
    </c:Server> 
    For example:
    To add a link to the Nesstar ‘Demo’ server add the following:
    <c:Server rdf:about="http://nesstar-demo.nsd.uib.no/obj/cServer/MyServer">
    <rdfs:label>Demo Server</rdfs:label>
    <rdfs:comment>The Nesstar Demo Server</rdfs:comment>
    </c:Server>
  6. Add the same infomation to <Your-Nesstar-Server>/config/instdata/config/localdb.rdf file also.
  7. Save both the files
  8. Open the Configuration Tool
  9. Click ‘Apply Settings’ to activate the changes.
  10. The webview will now display the Server2 as a sibling catalog of Server1.