AI OnAI Off
Seems like their is nothing out of the box and EPiServer suggested making my own method, using GetRoot and FindChild this was very quick to do and my extention method looks a little simething like this :
publicstaticCategory Find(thisCategory category, Guid guid)
{
CategoryCollection categoryCollection = category.Categories;
foreach (Category cat in categoryCollection)
{
if (cat.GUID == guid)
{
return cat;
}
return cat.Find(guid);
}
returnnull;
}
Heya guys
I was just wondering is it possible to find a category by its GUID ?
i know you can find them by either name or ID although need something a bit more static.
Thanks
Minesh