Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, June 16, 2024 
 
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 Client (Pre-7.2)
Forum to discuss using & developing the legacy SalesLogix Web Client (For versions 7.0 and earlier). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Web Client (Pre-7.2) | New ThreadView:  Search:  
 Author  Thread: Displaying Relative Record Numbers in Account Detail Page
Kent Matthew
Posts: 33
 
Displaying Relative Record Numbers in Account Detail PageYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Aug 06 10:44 AM
fiogf49gjkf0d
The SalesLogix thick client displays the record position relative to the total number of records in the Account Detail screen (e.g. 'Record 4 of 60'). Using a very helpful suggestion from Jeff Ballard on this forum, I can display this on the web client using the following code snippet in the accinfo template:

<script language="javascript">
var RecordCount = top.GM.PositionInGroup(top.GM.GetCurrentGroupID(top.GM.CurrentMode), '<#AF name=id>');
RecordCount++;
document.write("Record " + RecordCount + " of " + top.GM.Count(top.GM.GetCurrentGroupID(top.GM.CurrentMode)));
</script>

However, this code only works when the user is navigating through accounts that are part of a group. It won't work when using the standard or advanced lookup to find accounts, because top.GM.GetCurrentGroupID is null. Does anyone know what object to use in place of top.GM.GetCurrentGroupID in such a case? Is there any way to get the current position and total count for "on-the-fly" collections of accounts?
[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 © 2024 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): 6/16/2024 12:36:01 PM