SalesLogix Web Client: Determining if the current group is an ad-hoc group

Here is a handy little code snippet that shows how to determine if the currently selected group for an entity is an ad-hoc group or not.

GroupContext groupContext = Sage.SalesLogix.Client.GroupBuilder.GroupContext.GetGroupContext();
if ((groupContext.CurrentGroupInfo.CurrentGroup.GroupInformation.IsAdHoc) ?? false)
{//Do something because it is an adhoc group}
else
{//Do Something else here, because not adhoc}

ABOUT THE AUTHOR

Kris Halsrud

Kris Halsrud is a Senior Analyst / Developer for Customer FX Corporation.

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) and Creatio (bpm'online) news and product updates!

You have Successfully Subscribed!