Craig100
03/29/2024, 2:57 PMJanae
03/29/2024, 5:39 PMiPub.GetProperty("locationList")
telling you the type is? 🙂Anders Bjerner
03/29/2024, 6:03 PMGetProperty("locationList")
get you the property, not the property value - which is why the cast failsJanae
03/29/2024, 7:24 PM.Value("locationList")
, yeah?Craig100
03/29/2024, 8:11 PMvar preValSourceNode = iPub.Value<IEnumerable<DataListItem>>("locationList");
got it working. I could have sworn I'd tried that earlier and it blew up. But anyway, thanks very much for your help 🙂A hub and casual space for you to interact with fellow community members and learn more about Umbraco!
Powered by