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: SLX 7.51 How to add custom functionality to filters? Need to filter accounts based on (for instance) its contact's info.
NixDev
Posts: 98
 
SLX 7.51 How to add custom functionality to filters? Need to filter accounts based on (for instance) its contact's info.Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Jun 09 4:23 PM
Hi all,
I need to add some custom functionality to the filters applied to entity list. For instance, I need to filter accounts based on (for instance) some of its contacts info. How can I do that? What's the best way of doing this???

Thanks.
[Reply][Quote]
Raul A. Chavez
Posts: 1300
Top 10 forum poster: 1300 posts
 
Re: SLX 7.51 How to add custom functionality to filters? Need to filter accounts where account "greater than" for instance...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jun 09 2:47 AM
This filters are defined as Tasklets.

You can find the Files on the following directory:
SupportFiles/SmartParts/TaskPane

The code you are intersted is probably on the Filters.ascx. There is a Javascript function called populateFilterList().

I have not attempted to do any modifications here. Also, it does rely on a Java Script that is embeded on the Group Builder DLL as a Resource.
[Reply][Quote]
NixDev
Posts: 98
 
Re: SLX 7.51 How to add custom functionality to filters? Need to filter accounts where account "greater than" for instance...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jun 09 10:28 AM
Ok, i'll take a look at those files you mention, thanks!
[Reply][Quote]
NixDev
Posts: 98
 
Re: SLX 7.51 How to add custom functionality to filters? Need to filter accounts where account "greater than" for instance...Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 30 Jun 09 1:57 PM
Ok, i'm taking a look at those files, and I must say I'm quite puzzled...i don't even know where to start. Maybe someone could help me on this.
Lets say that I want to filter the current account group by only showing those accounts that have contacts whose firstname starts with "a" (a silly example, but it does the job). Since Contact is not in a 1-1 relationship with Account, I cannot just create a standard filter in Account Entity. So, I'll probably have to add some custom fields in the FiltersTasklet.ascx, let's say a Textbox called TxtContactFirstNameStartsWith, where the user enters "a" (or whatever).

So the query for displaying accounts should be something like:

select *
from account
where (current group filter conditions) and (filtertasklet out of box filter conditions)
and accountid in --New customized filter
(
select accountid
from contact
where firstname like 'a%' --or whatever string the user entered
)


How would I make the current account group filter based on this new condition?

NOTE: I know something very similar can be done by editing the current group's query in query builder, but the client specifically asked this to be a filter functionality, so I'm out of luck with telling them to just create a new 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 3:58:16 PM