Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, July 5, 2025 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Web Forums - SalesLogix Web Platform & Application Architect
Forum to discuss the use of the SalesLogix Web Platform, Client and Customer Portals, and the Application Architect (For version 7.2 and higher only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Platform & Application Architect | New ThreadView:  Search:  
 Author  Thread: How can i know if the user changes the active group in web client user interface?
NixDev
Posts: 98
 
How can i know if the user changes the active group in web client user interface?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Jul 09 3:41 PM
Hi all,
I need to build some custom javascript functionality that depends on the current group. How can I know when the user changes the active group in the web client user interface? (i.e. from "My Accounts" to "All Accounts".) Detecting a change from one entity to another is easy, as the whole screen refreshes, but when changing from one group to another, just a part of the screen refreshes (the grid). Is there some way to be notified of that?

Thanks!
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: How can i know if the user changes the active group in web client user interface?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Jul 09 1:09 PM
It doesn't do a full refresh, but it does do a partial one.

The target is the same entity's page (e.g. Contact.aspx#), however there is javascript on it that sets the variables into the Context.
Not sure that you could capture the event directly in Javascript, but you could definitively hook it on Base.Master on the Page_Load event, so you could add any javascript code (or call) in there.

I tested the following scenario:
- Open up Base.Master
- Put in a Break Point on Page_Load
- Run SLX Client on Debug mode
- Load the Contact Page (Off course, having to let it continue every time it hit my break point).

Once I was on the Contact List view, I just switched the group
When this happen, the Page_Load breakpoint was reached.

Also, by placing your code on the Base.Master, it would be applicable to any entity you have on your system, just get a reference to the Group Context object, and you can determine the current Entity as well as the Current group.
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2025 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 7/5/2025 4:23:20 PM