Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, August 17, 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: combobox with a list of users
vaughn poulson
Posts: 28
 
combobox with a list of usersYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Feb 09 2:45 PM
I need a cmbobox to be populated with a list of users based on their department.
First of all I'm just trying to get a list of all the users. The selected user needs to be linked to a field in an extention table.
I created a releationship to user from my ext table.

Example:

MyTable:
C_Opportunity_Ext

Field:
coordinatorId

Relationship:
CoordinatorIdRel

I created the following business rule:
public static void GetJobCoordinatorsStep1( IC_Opportunity_Ext c_opportunity_ext, out System.Collections.Generic.IList result)
{
IRepository repository = EntityFactory.GetRepository();
IQueryable qry = (IQueryable)repository;
IExpressionFactory ef = qry.GetExpressionFactory();

ICriteria criteria = qry.CreateCriteria();

result = criteria.List();

}

I created a form under my c_opportunity_ext entity with a combobox and a datasource.
Here a the properties I set for the datasource:
Entity Type - User
Get By Method - GetJobCoordinators (this is the name of the business function)
Is Collection - True
Source - C_Opportuntiy_Ext (It won't let me change this)
Use Smart Selection - True (Not sure what this does)

Here are the properties I set for the combobox
Data Source - QFDataSource
Text Field - unsername
Value Field - userid

When i run this there is no data in my combobox.

What am i missing here?

[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/17/2025 3:12:58 PM