I have used GetTags() method under umbraco.cms.businesslogic.Tags.Tag to get all tags under a group or node.
var tags = umbraco.cms.businesslogic.Tags.Tag.GetTags("default");
But with umbraco.cms.businesslogic.Tags.Tag being obsolete now, is there any other better alternative?
Also, does the new library offer tag-based querying of nodes?
Okay, So Umbraco 7 has the new
TagServicelibrary to deal with tags.To get all Tags used,
To get specific tag content
GetTaggedContentByTag()is the method exposed,It returns the TaggedEntity list and the TaggedEntity object with EntityId property.
Source Courtesy : Jimbo Jones