PublicApi for applications?

PublicApi for applications?

This question has suggested answer(s)

I'm converting some older code from our pre-6.0 style to the new public api in process version.  I've been able to find functions for just about everything so far but am stumped on this last bit.  What would be the 6.0/6.1 upgrade safe version of code be for these lines?

Telligent.Evolution.Components.Group g = Telligent.Evolution.Components.Groups.GroupService.GetGroup(request.groupid);

                           System.Collections.Generic.ICollection<Telligent.Evolution.Components.IGroupApplication> gApps = g.GetApplications();

To the point...is there a PublicApi method for finding out what applications a particular group has setup?

All Replies
  • For getting a group:

    var group = PublicApi.Groups.Get(new GroupsGetOptions() { Id = request.groupid });

    There is currently no equivalent for getting the applications for a group. You would have to call the List request for each application type using the Group id to get forums in a group, blogs in a group, wikis in a group, etc.