Update variable outside appSettings in config file

Hi,
I updated the variables inside appsettings using config Variables features
but I need to update “commonConfigPath” variable in myfile.exe.config which is outside of appsettings.
Please see the code below how it was structured.

<?xml version="1.0" encoding="utf-8"?>
<cambridgeConfiguration commonConfigPath="..\..\..\..\Cambridge.config">
    <namedConfigurationSetsToLoad>
      <add setName="ONLINE" />
      <add setName="xxxxxxxxxxxx" />
    </namedConfigurationSetsToLoad>
</cambridgeConfiguration>

I tried Substitute Variables feature but it seems not working, Should the variable value be like #{variable} for this feature to work?

Or else can you please suggest any other solution.

Thanks,
Amulya

Hi Amulya,

Thanks for getting in touch.

We have docs that show you how you can achieve that.

I hope that helps.

Thank you and best regards,
Henrik

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.