I have only anecdotal experience to refer to here, but when I was testing my own property editor package recently, I noticed that when you include a Data Type in the package, any options you had entered in that Data Type will carry over when a user installs the package. This isn't a true default, because it will only carry over to that specific instance of the property editor, not every time a user creates a data type with that property editor, but it's better than nothing.
From what I have read earlier (I think it was on Tim's blog) default values will be configurable in a future release.
I haven't tried deploying the package just yet, so that's definitely good to know as in my experience one instance of the data type suffices in most cases :-)
Can property editor prevalues have a default value?
Hi guys,
I have added some prevalues to a property editor via the package.manifest as documented here:
http://umbraco.github.io/Belle/#/tutorials/Adding-Configuration-To-Property-Editor
Is there any way to add a default value which is then shown in the data type configuration by default ?
Grtz
L
I have only anecdotal experience to refer to here, but when I was testing my own property editor package recently, I noticed that when you include a Data Type in the package, any options you had entered in that Data Type will carry over when a user installs the package. This isn't a true default, because it will only carry over to that specific instance of the property editor, not every time a user creates a data type with that property editor, but it's better than nothing.
Hope this helps,
David Zweben
Hi David,
From what I have read earlier (I think it was on Tim's blog) default values will be configurable in a future release.
I haven't tried deploying the package just yet, so that's definitely good to know as in my experience one instance of the data type suffices in most cases :-)
Thanks for that!
Lennart
Any news in that topic since last time? I want my
boolean
prevalued to be populated withtrue
. Already tried the following:Of course none worked. That wasn't surprising for the last one, since
boolean
has true/false mapped to1/0
Hey LP, did you ever figure out how to get this to work? Curious about it myself.
Thanks,
- Lee
In case anyone still wondering.
is working on a reply...