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
I have a currentPage that returns a currentpage like this
IPublishedContent currentPage = UmbracoContext.Content.GetById(1164);
The currentPage has a property called ProductList. It is a collection of nested objects. How to i get those object?
I got the answer from the documentation.
IEnumerable<object> y = currentPage.Value<IEnumerable<object>>("ProductList");
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted