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
Hi guys, currently I get a node by it's document type in the following way:
public IPublishedContent GetPage(string documentType) { var page = umbracoHelper.TypedContentSingleAtXPath("//" + documentType); if (page != null) { return page; } return null; }
I was wondering if there was a more modern way of doing this?
Hi
Some help you will find here:
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Getting IPublishedContent by Document Type
Hi guys, currently I get a node by it's document type in the following way:
I was wondering if there was a more modern way of doing this?
Hi
Some help you will find here:
is working on a reply...