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,
Can anyone have idea about the equivalent method of uQuery.GetNodeByUrl in Umbraco Helper class?
Thanks in advance.
Regards,
Urvish Mandaliya
I found one solution in one post.
UmbracoContext.Current.ContentCache.GetByRoute(string url)
Is it best practice to get content node from ContentCache?
Or any method available in Umbraco Helper class?
Can any one help?
This method worked for me for fetching the content node.
It gives IPublishedContent as result.
And uQuery.GetNodeByUrl gives NodeFactory.Node as result.
uQuery.GetNodeByUrl
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Equivalent method of uQuery.GetNodeByUrl in Umbraco Helper
Hi,
Can anyone have idea about the equivalent method of uQuery.GetNodeByUrl in Umbraco Helper class?
Thanks in advance.
Regards,
Urvish Mandaliya
I found one solution in one post.
Is it best practice to get content node from ContentCache?
Or any method available in Umbraco Helper class?
Can any one help?
Thanks in advance.
Regards,
Urvish Mandaliya
This method worked for me for fetching the content node.
It gives IPublishedContent as result.
And
uQuery.GetNodeByUrl
gives NodeFactory.Node as result.Regards,
Urvish Mandaliya
is working on a reply...