Login / Register  search  syndication  about

          Kris Halsrud's Blog

Kris Halsrud on development and Integration with CRM and Development

Adding the What's New button back for web viewers in the SalesLogix web client

A while ago a wrote a post about how the SalesLogix web client is restricted for web viewers. Basically a web module bound to the assembly Sage.SalesLogix.Web.Modules.dll is used.  In this assembly is a class called WebViewerModule.  This class is responsible for manipulating the navigation and menu workspaces at run time and removing buttons if the current user is a web viewer.  If we look at the code that controls hiding navigation buttons it looks like this:

for (int i = 0; i < items.Items.Count; i++)
{
  if (((items.ItemsIdea.ID == "navReports") || (items.ItemsIdea.ID == "navEntitiesLibrary")) || ((items.ItemsIdea.ID == "navEntitiesProcesses") || (items.ItemsIdea.ID == "navEntitiesWhatsNew")))
  {
    list.Add(items.ItemsIdea);
  }
}
foreach (NavItem item in list)
{
   items.Items.Remove(item);
}

The code is looking for navigation buttons with a specific name. Well if we go to the SalesLogix portal definition in the Application Architect (VFS...Portal Manager...Sage SalesLogix in the Project Explorer) and then open the Navigation tab of the Portal dialog, we can simply go to a specific button, like What's New and change the name as defined in the Item Id field as shown here:

 

Once we change the button name, and deploy the module no longer impacts this button's visibility and the web viewer can see the navigation button and go to the What's New area.

A word of warning on this, while this seems to work properly for the What's new button to allow a web viewer to use this feature, other areas may have page level code also added for additional restrictions for a web viewer licensed user, so just because you have added functionality to navigate to an area does not ensure that area will properly function.

What's This?
  
Bookmark and Share

About Kris Halsrud

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


Related Content
   Changing the Default Operator in the SalesLogix Lookup Control in the SalesLogix 7.5.4 Web Client
In the SalesLogix web client, the Lookup Control is a custom composite control that is contained in a com
Posted on May 15, 2012 by Kris Halsrud to Kris Halsrud's Blog
 
   Building a Simple Solution in SalesLogix Web Workshop Video
If you missed this workshop... ...You can watch the video! Learn how to build a simple project managem
Posted on May 09, 2012 by Brianna Tinjum to SalesLogix Product Blog
 
   Step by step guide to creating an Account filter on RegionalManagerID in the 7.5.4 SalesLogix Web client
The SalesLogix web client there is a standard account filter for Account Manager that allows you to filte
Posted on May 03, 2012 by Kris Halsrud to Kris Halsrud's Blog
 
   A realy cool nugget- How to show and hide tabs dynamically in the SalesLogix Web Client
In the SalesLogix LAN client and web client one of the most requested thing I am asked is how do you hide
Posted on May 01, 2012 by Kris Halsrud to Kris Halsrud's Blog
 
   Error accessing components in the VirtualFileSystem in SalesLogix Application Architect
 I recently ran into an issue on a VFS under GIT source control where I had checked out a different
Posted on Apr 26, 2012 by Kris Halsrud to Kris Halsrud's Blog
 
Comments

No Comments

Leave a Comment

(required)  
(optional)
(required)  
Add
All contents Copyright © 2012 Customer FX Corporation
Customer FX Corporation
2324 University Avenue West, Suite 115
Saint Paul, Minnesota 55114
Tel: 800.728.5783

  Follow @CustomerFX on twitter
Follow the best news, tips, and articles
  Subscribe to Customer FX on youtube
Watch SalesLogix tutorial videos from Customer FX
Login / Register