Options/plans to make variable sets config by code?
Hey, couldn't find anything on this, but if it exists... I'd love to know. If it's not available, please consider this a feature request ;)
I love how DY automatically makes variables available in the variable form once I declare it in HTML/CSS/JS, but grouping in sets is a lot of work and not all that user friendly. It would be nice if we could declare a set when we declare a variable. I.e.: ${Content/Header Title} would lead to variable Header Title being put in set Content automatically without having to manually drag and drop items in the Variables tab.
Basically, this offers some extra configuration by code, which makes it a lot faster to develop custom templates AND makes the code more portable (as in, copying code also copies configuration).
Love to hear thoughts or suggestions!
- Jeroen
-
Hi Jeroen, thank you for sharing this! Yes, you are correct that it is not possible to declare a group variable in HTML/CSS/JS at the moment, and this has to be done under the Variables tab.
I really like your suggestion of doing this under HTML/CSS/JS, so I will open a feature request, and it is likely we will have it in the future!
Liva
Please sign in to leave a comment.
Comments
2 comments