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)
I was wondering if there was a more modern way of doing this?
Some help you will find here:
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted