8/17/2025 2:30:30 PM
|
|
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!
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.
|
|
|
|
combobox with a list of users
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?
|
|
|
|
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!
|
|
|
|
|
|
|
|