That worked on my local. However, I got an error when I deployed that to Umbraco Cloud (I'm guessing Umbraco Cloud does some transforms or something and gets confused by configSource).
I tried to modify the Latch.Web.live.xdt.config file to restore the original connection strings on deploy:
However, that didn't work (still got an error on the development environment on Umbraco Cloud).
Any ideas for how I might go about this?
FYI, the reason I'm trying to do this is a bit convoluted, but in short a coworker ran into issues using the default setup, and so needs his own connection string, which I'm attempting to accomplish by externalizing the connection strings (and then ignoring that file in Git).
Unable to Externalize Connection Strings with Umbraco Cloud
I tried to put my connection string in an external file:
That worked on my local. However, I got an error when I deployed that to Umbraco Cloud (I'm guessing Umbraco Cloud does some transforms or something and gets confused by
configSource
).I tried to modify the
Latch.Web.live.xdt.config
file to restore the original connection strings on deploy:However, that didn't work (still got an error on the development environment on Umbraco Cloud).
Any ideas for how I might go about this?
FYI, the reason I'm trying to do this is a bit convoluted, but in short a coworker ran into issues using the default setup, and so needs his own connection string, which I'm attempting to accomplish by externalizing the connection strings (and then ignoring that file in Git).
is working on a reply...