Is there a way to add a content node as a dropdown prevalue?
I'm trying to create a new dropdown data type, where the prevalues should be content nodes. Is it possible to do this somehow? And yes I know there are packages that could do that, but I'm not sure if there are any for Umbraco 9.
Any help would be highly appreciated. Thanks in advance!
A Data Type can be something very basic (textstring, number, true/false,...) or it can be more complex (multi node tree picker, image cropper, Grid Layout).
The Data Type references a Property Editor and if the Property Editor has settings these are configured on the Data Type. This means you can have multiple Data Types referencing the same Property Editor. MyGroundBiz
An example of this could be to have two dropdown Data Types both referencing the same dropdown Property Editor. One configured to show a list of cities, the other a list of countries.
Is there a way to add a content node as a dropdown prevalue?
I'm trying to create a new dropdown data type, where the prevalues should be content nodes. Is it possible to do this somehow? And yes I know there are packages that could do that, but I'm not sure if there are any for Umbraco 9.
Any help would be highly appreciated. Thanks in advance!
If you haven't used Contentment package before, I can hightly recommend that package.
You can use various list datatypes and data sources and create your own.
For Umbraco 9 you'll need to install Contentment v3: https://our.umbraco.com/packages/backoffice-extensions/contentment/
You can find more details on GitHub including code snippets: https://github.com/leekelleher/umbraco-contentment
Well yes, I was hesitant to download Contentment, but I'll surely try it out. Thanks for your reply.
Very nice, it worked like a charm, thanks very much!
A Data Type can be something very basic (textstring, number, true/false,...) or it can be more complex (multi node tree picker, image cropper, Grid Layout).
The Data Type references a Property Editor and if the Property Editor has settings these are configured on the Data Type. This means you can have multiple Data Types referencing the same Property Editor. MyGroundBiz
An example of this could be to have two dropdown Data Types both referencing the same dropdown Property Editor. One configured to show a list of cities, the other a list of countries.
Thanks for your reply, but your comment doesn't really answer my question. Thanks tho.
is working on a reply...