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.
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.
MY_ORGANIZATION_LOCATION = $(_USTN_CONFIGURATION)Organization/
%if defined (MY_ORGANIZATION_LOCATION) && exists ($(MY_ORGANIZATION_LOCATION))
_USTN_ORGANIZATION = $(MY_ORGANIZATION_LOCATION)
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.