In the docs it is stated that checkboxlist doesnt work as a nested content type. I tried to workaround this by using a Multinode contentpicker but that doesnt work either.
Does anyone have found a way to implement a selectable list within nested content?
Everytime i try to use this
var x = nestedcontentItem.GetPropertyValue<IEnumerable<IPublishedContent>>("alias")
Nested Content List datatype
Hi,
In the docs it is stated that checkboxlist doesnt work as a nested content type. I tried to workaround this by using a Multinode contentpicker but that doesnt work either.
Does anyone have found a way to implement a selectable list within nested content?
Everytime i try to use this
it just returns null.
Hi Peter,
Have you tried returning an
int
array from the Nested Content? I'm just wondering whether you have the property converters installed or not.If I experienced an issue like this, I would try and shake any value whatsoever from the Nested Content.
i.e.:
This should return the ids of the items you're interested in.
I hope this helps in any sort of a way :)
It seems that I do not have propertyconverters installed. Only without using a strongly typed,
e.g.
i get a result of
However i thought it was part of the core of umbraco 7?
By researching further i realized that in my
umbracoSettings.config, i did not have the following setting in settings > content node:
Thank you Rhys for guiding me in the right direction!
No worries, glad I could help!
is working on a reply...