Defining Configuration Groups
- Last UpdatedJun 27, 2024
- 1 minute read
Every user shares the configuration settings defined in the config. js configuration file. It is possible to specify special settings that will override the global settings for certain groups of users. Multiple configuration groups are defined in the configuration file.
For example, if the Marketing group will have clipboard redirection and printing enabled, change config.js as follows:
var defaults = { //this already exists in the file
...
"Marketing":{ //Bold text are new additions
remember:false,
audiomode:0
},
};
Note: The double quotes surrounding Marketing needs to be identical. It may be necessary
to delete them and re-type them if the text was copied from another source.
Also, the last setting of the configuration group should not have a ‘,’ at the end.
This comma will be placed after the closing bracket ‘}’.
In the URL to be used by the Marketing group, add the settings parameter:
http://<computer name>:8080/PlantAccessAnywhere/start.html? settings=Marketing