I'm currently migrating a site from 3.2 to 5 and am having to update a few pages/controls where the API has changed. Overall it's going pretty well, but one of the functions on the site is a "tag results page", which is a paged list of all pages containing content which contains the tag the user selected (i.e, if you pick "outdoors" from the tag list you will be taken to a page that is a list of all pages containing content that was tagged "outdoors").
Is there a good way using the SF 5 API to get all pages containing content that has a specific tag? Currently in the 3.2 site, it looks like this:
CmsManager cmsManager = new CmsManager();
> controls = new List<
foreach (TaggedContent content in tag.TaggedContent)
controls.Add("'" + content.ContentID.ToString() + "'");
Then, the list of guids is fed into the following stored procedure:
sf_CmsControlProperty.ControlID = sf_CmsCtrlLinks.ControlID
I've looked through the Taxonomy API and have searched the forums extensively, but haven't found anything yet. Any help would be awesome!