This is an old revision of the document!
Install DGLux5 for Niagara 4
Use this guide to install the DGLux5 Service on a remote or local Niagara 4 station or on a JACE device.
Niagara 4 Compatibility
The DGLux5 Service is compatible with Niagara 4.0.22 and higher.
The following Niagara 4 modules are required:
- alarm
 - baja
 - bql
 - control
 - driver
 - file
 - gx
 - history
 - jettyWrapper
 - nre
 - platform
 - web
 
Browser Compatibility
How to Install Locally Using the .bat File
These steps demonstrate how to install DGLux5 on a local engineering tool, local Niagara 4 Supervisor, or local SoftJACE, using the .bat file.
- Download the DGLux5 Niagara 4 installation file. (Requires dglux.com password)
 - Stop all running stations, and close all instances of the engineering tool.
 - Change the extension of the installation file from
.distto.zip. Unzip the file.
If the file unzips successfully, the
installLocalWebContent.batfile appears, along with theniagara_home,niagara_user_home, andMETA-INFdirectories.- If you are using Niagara 4.1, open the
installLocalWebContent.batfile with a text editor, and change4.0to4.1. Save the file. - Open a command window, and navigate to the directory that contains the
installLocalWebContent.batfile. - In the command window, type
installLocalWebContent. When prompted, choose a directory installation.
The
niagara_user_homedirectory is now installed.- Find the
niagara_home\modules\dglogik.jarfile, and placedglogik.jarin the Niagara 4modulesdirectory. Typically, this isC:\Niagara\Niagara-4.n.nnn\modules\. - Add the DGLux5 Service:
- Open the DGLogik Palette in the engineering tool.
 - Copy and paste the
DGLux5Serviceobject under theServicesnode in the station database (station:|slot:/Services). 
 - Go to
<server>:port/dglux5, for examplelocalhost:8080/dglux5. - To request a license, select Help > License, and then click the Request License button.
 
}
How to Do a Manual Local Installation
If installation using the .bat file does not work properly, you can install manually. Before you can install manually, it's a good idea to enable showing hidden folders:
To install manually:
- Download the DGLux5 Niagara 4 installation file. (Requires dglux.com password)
 - Stop all running stations, and close all instances of the engineering tool.
 - Change the extension of the installation file from
.distto.zip. Unzip the file.
If the file unzips successfully, the
installLocalWebContent.batfile appears, along with theniagara_home,niagara_user_home, andMETA-INFdirectories.Find the
niagara_user_home\shared\dglux5folder, and move it toC:\ProgramData\Niagara4\Tridium\Shared\.ProgramDatais a hidden directory and can be seen inC:\only if you have enabled showing hidden folders.- Find the
niagara_home\modules\dglogik.jarfile, and placedglogik.jarin the Niagara 4modulesdirectory. Typically, this isC:\Niagara\Niagara-4.n.nnn\modules\. - Add the DGLux5 Service:
- Open the DGLogik Palette in the engineering tool.
 - Copy and paste the
DGLux5Serviceobject under theServicesnode in the station database (station:|slot:/Services). 
 - Go to
<server>:port/dglux5, for examplelocalhost:8080/dglux5. (Be sure to define the DGLux5 web port in your Niagara workbench before you attempt to launch DGLux5.) - To request a license, select Help > License, and then click the Request License button.
 
How to Launch DGLux5 and Log In
A Niagara user with the appropriate permissions outlined below can simply visit:
<server>:port/dglux5
Niagara Permissions for Non-Super Users
DGLux5 obeys the Niagara security model. Thus, non-Super users need the following permissions to run DGLux5:
- The DGLux5Service object โ typically
slot:/Services/DgLux5Service - The Station database โ
slot: - The History database โ
history: