This isn't really what I need.
When a user edits a page in the back office they should have a field kind of like the related links property editor where they specify the key and then the value. Then if they wish to add another key/value to the list they click a + and it gives them another space to enter these.
It seems crazy to me that a property like this doesn't already exist as it is fundamental when creating select options on the front end.
If you mean that it could be nice to have such a fundamental property you should create a feature request on the issue tracker http://issues.umbraco.org/
That kind of defeats the reason I want a property editor. In my view, you should only create pages in Umbraco if necessary otherwise the back-end just looks messy for the user. Creating pages in this instance would only serve the purpose of populating the multinode tree picker property which really should be reserved for linking or associating genuine Umbraco pages if you see what I mean. also, if you consider that the site is multi-lingual it means that the user will have to create several pages under each homepage node just to populate the select list with keys and values.
I would raise it as a feature request but the process for that is too slow and I don't really have the luxury of waiting :-(
I would also try and create my own property type that does this but unfortunately the documentation is lacking in my opinion.
I believe I know a datatype that can build lists in a format like key-value pair. Just built and compatible with umbraco 9.4
Checkout at https://github.com/yelena870513/umbraco9keyvalue_editor
Key/Value pair property type
Hi all,
Does anyone know whether there are any property types out in the Umbraco community that allow the entry of a set of key/value pairs?
I need my back office users to be able to define a key and a value that will be used in a select list on the front end.
So, the property would need to allow for something like this:
Thanks in advance.
Hi Jason,
Could you perhaps use the dropdown list multiple or have I misunderstood completely what you are trying to do ?
https://our.umbraco.org/documentation/using-umbraco/backoffice-overview/property-editors/Built-in-Property-Editors-v7/DropDown-List-Multiple
Hope this helps,
/Dennis
Hi Dennis,
This isn't really what I need. When a user edits a page in the back office they should have a field kind of like the related links property editor where they specify the key and then the value. Then if they wish to add another key/value to the list they click a + and it gives them another space to enter these.
It seems crazy to me that a property like this doesn't already exist as it is fundamental when creating select options on the front end.
Hi Jason,
Okay now I see, could it be an alternative to use the multiple node tree picker, and create the select options based on which item the editor has choosen in the multiple node tree picker. https://our.umbraco.org/documentation/using-umbraco/backoffice-overview/property-editors/built-in-property-editors-v7/Multinode-Treepicker
If you mean that it could be nice to have such a fundamental property you should create a feature request on the issue tracker http://issues.umbraco.org/
Hope this helps,
/Dennis
Hi Dennis,
That kind of defeats the reason I want a property editor. In my view, you should only create pages in Umbraco if necessary otherwise the back-end just looks messy for the user. Creating pages in this instance would only serve the purpose of populating the multinode tree picker property which really should be reserved for linking or associating genuine Umbraco pages if you see what I mean. also, if you consider that the site is multi-lingual it means that the user will have to create several pages under each homepage node just to populate the select list with keys and values.
I would raise it as a feature request but the process for that is too slow and I don't really have the luxury of waiting :-( I would also try and create my own property type that does this but unfortunately the documentation is lacking in my opinion.
Cheers,
Jason
HI Jason,
For documentation about creating your own property editors, there is just been added a chapter on Umbraco TV on how to create a property editor http://umbraco.tv/videos/umbraco-v7/developer/extending/property-editors
Hope this can help you,
/Dennis
Hi Jason,
I just discovered this https://our.umbraco.org/forum/umbraco-7/using-umbraco-7/64690-Simple-package-not-available-TextValue-Dropdown-List thread on the forum, could it be the same that you want, if so then try write in the thread, maybe it can become a package for everyone else.
/Dennis
I ended up using Archetype in the end.
https://our.umbraco.org/projects/backoffice-extensions/archetype
Hi Jason
Was it a package like this you were looking for? https://our.umbraco.org/projects/backoffice-extensions/key-value-editor
/Bjarne
probably late, but this one I am going to use myself key value editor
I believe I know a datatype that can build lists in a format like key-value pair. Just built and compatible with umbraco 9.4 Checkout at https://github.com/yelena870513/umbraco9keyvalue_editor
is working on a reply...