Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
May well be me doing something wrong, but wondering if these converters are intended to support recursive lookups of properties (i.e. to look on the parent, then the parent's parent, until the item is found)?
As I'm finding this code is returning null unless I'm actually on the page where the property is defined.
var collection = CurrentPage.GetPropertyValue<IEnumerable<IPublishedContent>>("mapPage", true, null);
If that's the case was thinking I could drop down to getting the raw value and converting myself, like this:
var rawValue = CurrentPage.GetProperty("mapPage").Value.ToString();
But GetProperty() (as opposed to GetPropertyValue()) doesn't have the recursive option.
Any advice much appreciated.
Have done some more digging, I think this issue is the core of the problem.
Yes, in fact this is fixed in the upcoming Umbraco v6.2 and I have fully tested it out.
I do have a branch of this package with the v6.2 updates ready to go when it's launched.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted