Community
Showing results for 
Search instead for 
Do you mean 
Reply

How to create subgroup using SDK?

Champion Listener
Posts: 32
Country: Canada

How to create subgroup using SDK?

Hello,

Is it possible to create subgroup through ACT! SDK?

The only method for creating groups that I found is Act.Framework.Groups.CreateGroup(), but group created using this method always has HierarchyLevel 0 and this is Read/Only property. I need to create a group with several subgroups programmatically. Is there a way to achieve this?

Thanks.
Katerina
Tuned Listener
Posts: 24
Country: USA

Re: How to create subgroup using SDK?

After you create the group you can use the SetParent method to set the group's parent, which makes that group a subgroup of that group.