Empty default values for Variable Templates

Can variable templates have an empty or “” default value?

I’m defining some variable templates for tenants. The variables will override values in web.config. But I’ve already got reasonable defaults that will work for most tenants in the web.config. I want to give tenants the option to override if they need to, but if they don’t supply a value, I want to use the value that’s already in web.config

I’m on 3.13.6

I found a workaround:

  1. Create a project variable called “DefaultSetting”. Leave it blank
  2. Bind variable template to this variable
1 Like

Hi,

Thanks for getting in touch! Great! That was what pretty much what I was going to suggest.

Let me know if you have any further issues. :slight_smile:

Best regards,
Daniel