Optional: Enable editing of Configuration Sections from the UI
It is possible to edit config sections from the web.config directly from the Aligned Elements UI. This has the advantage that modifications can be made without having to re-start the application (as when you edit web.config directly) and can be made without direct access to the server.
This feature is limited to the sections:
OpenAIConfigurationSection
IssueProxyConfigurationSection
ServerHintConfigurationSection
ServerTemplateConfigurationSection
ExternalFontConfigurationSection
AutomationScriptsConfigurationSection
To enable editing for a section:
In the web.config configSections part, add the attribute 'restartOnExternalChanges' = false. E.g for issue proxies:
<section name="elementIssueProxy" type="ElementsSPA.Controllers.IssueProxyConfigurationSection" restartOnExternalChanges="false" />
Then further down in the config, define the path to the external file (need to be created):
<elementIssueProxy configSource="config\issueProxies.config" />
and move the section content to the defined path:
//in the file issueProxies.config
<elementIssueProxy>
<issueProxies >
<add key="1" projectName="PROJ" typeName="Ticket" userName="USR" psw="123" isPswEncrypted="true" />
</issueProxies>
</elementIssueProxy>
Last updated
Was this helpful?