Enable Variables support XPath

Hi Team and all,

This is a follow up of this thread long time ago:
http://help.octopusdeploy.com/discussions/suggestions/544-arbitrary-xml-setting-substitution-using-xpath

It’s strange that nobody reply anything.

I would propose a simpler solution which is allow user to use the current Variables UI to add XPath to point somewhere in whatever config file and give it a value.

1, this will solve the problem that currently only AppSettings and ConnectionStrings are replaced
2, that we need to use powershell to do other replacements in config
3, should be only a tiny code change
4, that save lots of people asking the same questions again and again. :slight_smile:

Best,

Dong

Thanks for the suggestion Dong! There’s a feature suggestion on UserVoice that you can also vote on - the more votes this gets the faster we’ll be able to implement it:

Thank again!

Paul