Configuration file nodelocal
The configuration file called nodelocal.js located on the node server, directly under the ...\syracuse\syracuse\bin
directory, stores in JSON format a set of parameters described below.
The values stored in this file are automatically set up by the installation procedure. In some exceptional cases and for some of the values mentioned in this document, you must not modify these values. Make sure you copy this file prior to any modification to be able to return to the previous setup. The node.js server must be restarted to include the modifications done.
This file is a javascript file that contains some variables in JSON format, and the following ones (with examples of values):
collaboration: {driver: "mongodb",dataset: "syracuse",hostname: "localhost",port: 27017,logpath: "C:\\Sage_Syracuse\\syracuse\\logs",certdir: "C:\\Sage_Syracuse\\syracuse\\certs"},session:{timeout: 20, // minutes},searchEngine: {hostname: "localhost",port: 9200,},help:{url: "http://my_help_server/AdxDoc_DOCV7X3/"}
The different structures defined are as follows:
* collaboration describes the parameters used by the mongodb collaboration server. If the configuration of mongodb is changed, you can change some values in this structure.
* session defines the time-out in seconds for the version 7 web server using the timeout numeric value. This means that a connected user who does not interact with the UI during this delay is disconnected and will have to reauthenticate when the user starts to interact again. This value can be changed. Note that this value is also the time spent before a Sage X3 People process running on a process server ends when a user closes the browser session. This time-out value is the same for the classic pages and version 7 native pages. The only difference is that in Classic pages, a warning is displayed before the user is disconnected. A second time-out is the triggered (with a fixed value of 25 seconds) before the disconnection is effective.
* searchEngine describes the parameters used by the search engine server. If the configuration of this server is changed, you can change the values in this structure.
* help defines the URL where the help is installed (it can be local or hosted).