Empty default values for Variable Templates

kneumei's Avatar

kneumei

18 May, 2017 04:13 PM

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

  1. 1 Posted by kneumei on 18 May, 2017 06:18 PM

    kneumei's Avatar

    I found a workaround:

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

  2. Support Staff 2 Posted by Daniel Fischer on 19 May, 2017 03:37 AM

    Daniel Fischer's Avatar

    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. :)

    Best regards,
    Daniel

  3. Paul Stovell closed this discussion on 29 Aug, 2017 06:02 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac