Hiding Groups Drop Down in SalesLogix

Question: In SalesLogix I have code to hide/show items from the toolbar based on user teams:

User user = (_userService as SLXUserService).GetUser();
if (user.Id.ToLower().Trim() == “admin”) return;
if (!IsOnTeam(“Midwest”, user))
ToolbarWorkspace toolbar = _parentWorkItem.Workspaces[“

ToolBar”] as ToolbarWorkspace;
IMenuService menusvc = toolbar.WorkItem.Services.Get();
NavItemCollection navcol = menusvc.FindMenu(“mnuTools”) as NavItemCollection;
if (navcol != null)

I’m not able to see the Groups dropdown while debugging the code.  How can I hide the Groups drop down?

Answer: Take a look at the HTML objects and you’ll see that the menu is on a
division called “GroupMenuSpace”.  Use javascript to hide it:

var obj = document.getElementById(‘

obj.style.display = ‘none’;

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!