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,
I was just researching on how I can search for pages via tag, and i came across 2 methods:
Umbraco.TagQuery.GetContentByTag(tag).ToList();
and
umbraco.cms.businesslogic.Tags.Tag.GetNodesWithTags(tag);
What are the differences between this two? Do they perform the same?
Thank you
Shinsuke
Hi Shinsuke,
Anything that begins with Umbraco is using the current UmbracoHelper and should be use instead of anything beginning with umbraco which will be older and potentially legacy/obsolete.
Umbraco
umbraco
Jeavon
Hi Jeavon,
Thank you for the info, that make sense now :)
and i can see where Umbraco are going with this too.
Cheers
You're welcome :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Tag query question
Hi guys,
I was just researching on how I can search for pages via tag, and i came across 2 methods:
and
What are the differences between this two? Do they perform the same?
Thank you
Shinsuke
Hi Shinsuke,
Anything that begins with
Umbraco
is using the current UmbracoHelper and should be use instead of anything beginning withumbraco
which will be older and potentially legacy/obsolete.Jeavon
Hi Jeavon,
Thank you for the info, that make sense now :)
and i can see where Umbraco are going with this too.
Cheers
Shinsuke
You're welcome :)
is working on a reply...