Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, August 29, 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!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Manipulating with only selected records in list view
Leonid
Posts: 32
 
Manipulating with only selected records in list viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Oct 09 2:34 AM
Hi All.
I'd like to manipulate with only selected records in list view (like Add Selected Members to ExistingGroup in Contacts popup menu)
I have ideas how to work with whole group (using Application.BasicFunctions.GetGroupIDs for ad-hoc groups and Application.MainViews.ActiveView.CurrentGroupSQL for dynamic groups), but how I can work with only selected records?
Saleslogix version 7.2
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Manipulating with only selected records in list viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Oct 09 4:10 PM
have the user create an ad hoc group of their selection and then process it....

unfortunately this is one of those areas that isn't conveniently open to developers.

Usually what we do is put the group into a Form and a Data Grid.....let them select from that grid which you CAN program against.
[Reply][Quote]
Leonid
Posts: 32
 
Re: Manipulating with only selected records in list viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Oct 09 4:02 AM
RJ Samp, thank you for answer.
But finally i found the way to do it:

dim i
dim FullIDs ' string which contains final list of IDs
for i=0 to application.MainViews.ActiveView.GroupsPane.Selection.count - 1
FullIDs = FullIDs & "','" & application.MainViews.ActiveView.GroupsPane.Selection.item(i)
Next
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Manipulating with only selected records in list viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Oct 09 9:06 AM
Thanks! now we have a way to get at those suckers....now how do they activate this? Menu? Icon button? RMB on the List views themselves?
[Reply][Quote]
Leonid
Posts: 32
 
Re: Manipulating with only selected records in list viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Oct 09 9:12 AM
I use it in context menu (RMB) on the list views (you can add context menu items on the main view properties)
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Manipulating with only selected records in list viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Oct 09 9:15 AM
Based on your methodology of having the user go after the selection....which Active View are you on??? Maybe a popupmenu off of the Accounts Nav Bar Icon??? (which would mean AccountIDs!)
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Manipulating with only selected records in list viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Oct 09 9:23 AM
Perfect, even us 12 year SLX vets can learn something new!
[Reply][Quote]
Leonid
Posts: 32
 
Re: Manipulating with only selected records in list viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Oct 09 9:26 AM
No, i use it on contect menu (right click on the accounts in list view, not accounts nav bar).
application.MainViews.ActiveView.baseTable="Account" when you call this popup menu.
[Reply][Quote]
Leonid
Posts: 32
 
Re: Manipulating with only selected records in list viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Oct 09 9:26 AM
No, i use it on context menu (right click on the accounts in list view, not accounts nav bar).
application.MainViews.ActiveView.baseTable="Account" when you call this popup menu.
[Reply][Quote]
Leonid
Posts: 32
 
Re: Manipulating with only selected records in list viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Oct 09 9:28 AM
I just found it in Devlogix book that i finally got a few days ago
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: Manipulating with only selected records in list viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Oct 09 9:57 AM
Cool, I should get a new version of DevLogix....

Anyway to manipulate the popup menus? I.E. if they haven't selected any list items, no fair showing the menu item to get the list of selected AccountID's?
[Reply][Quote]
Leonid
Posts: 32
 
Re: Manipulating with only selected records in list viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Oct 09 12:02 AM
New version of Devlogix contains mainly info about 7.5 Web Client. I have 3rd edition.
to manipulate popup menus we can use application.mainviews.activeview.popupmenu.menuitems.items(0).enabled property, I think. Like in built-in popup menu items.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Manipulating with only selected records in list viewYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 15 Oct 09 5:43 PM
RJ has submitted an article on this to slxdeveloper.com that you can now find here: http://www.slxdeveloper.com/page.aspx?action=viewarticle&articleid=105

-Ryan
[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): 8/29/2025 4:48:11 PM