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

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

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