Organization based application config file not overriding defined config variables.

 Version(s):CONNECT Edition (10.XX.00.XX)
 Area:Setup & Customization
 Subarea:Organization Level
 Original Author:Vyanktesh Nama, Bentley Product Advantage Group

Problem Description

When trying to get the application.cfg (found at: ...Configuration/Organization/ProStructures) to override the some config variables. But the workspace/application level keeps overriding it. What needs to do so that these defined variable should read from this config file.

Steps to resolve

Enter methods to resolve in this section.

If we want to define config variables in the organization based application.cfg file (C:\ProgramData\Bentley\ProStructures CONNECT Edition\Configuration\Organization\ProStructures) then please follow the below steps.

1. Open WorkSpaceSetup.cfg file from “C:\ProgramData\Bentley\ProStructures CONNECT Edition\Configuration” and define the below statements as shown in the below image.





%include $(_USTN_CONFIGURATION)Organization/ProStructures/*.cfg

2. Now, open organization based application.cfg file from "C:\ProgramData\Bentley\ProStructures CONNECT Edition\Configuration\Organization\ProStructures" and define your config variable.

3. Now, this variable is read in the application on the System level (and overriding to the Application level) as shown in the below image.

In this way, we can achieve this.

See Also