Need access to properties of a dynamicPublishedContent-Item in my helpermethod
Hi,
I loop over a "list" of node-objects in UmbracoTemplatePage. I thought the items are type of "Umbraco.Web.Models.DynamicPublishedContent", because it is the result of the output-variable:
@item
I need a helper-Method for the object "item" to create a read more-link. I pass the param DynamicPublishedContent.
Need access to properties of a dynamicPublishedContent-Item in my helpermethod
Hi,
I loop over a "list" of node-objects in UmbracoTemplatePage. I thought the items are type of "Umbraco.Web.Models.DynamicPublishedContent", because it is the result of the output-variable:
I need a helper-Method for the object "item" to create a read more-link. I pass the param DynamicPublishedContent.
and added the namespace
But if I call the method I am not able to get the property of the object
I got this error
My aim is to get the properties of the page-item via the helpermethod. Can you please help me?
Hi Nadine
Try to use:
Thank you!
You are welcome, Nadine, have a great weekend!
is working on a reply...