Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Sunday, February 23, 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: Custom Sub Picklist
willis
Posts: 22
 
Custom Sub PicklistYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Aug 08 9:46 AM
I'm trying to get a custom sub picklist to work through the web client. Can anyone give me a quick idea as to how this can be accomplished?

I have my picklists all set up and figured I could simply put a Refresh Data action on the parent picklist control and then put code somewhere that assigns the child picklist name like this:

SubPicklist.PicklistName = "Parent Picklist " & Account.ParentPicklist

But not sure where the code goes so that it will fire on the Refresh Data action. Any help would be greatly appreciated.

Thanks.
[Reply][Quote]
Steve Robertson
Posts: 146
 
Re: Custom Sub PicklistYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Aug 08 1:07 PM
Your code will need to go in the "Load Action" of the form. The "Load Action" is called by the "Refresh Data" action.

You could make it easier if the pick list Items in the pick list A exactly match the pick lists in B by name:

On pick list A set the OnChange action to "Refresh Data"

On pick list B don't set the PickListName property and instead go into the DataBindings and map the PickListName to the property that Pick List A is bound to.

Cheers,

Steve
[Reply][Quote]
willis
Posts: 22
 
Re: Custom Sub PicklistYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 Aug 08 5:00 PM
That looks like a neat trick and way easier than what I was attempting, although if I remove the PickListName property from pick list B I get an error in the web client "PickListId or PickListName property must have a value for control".

I tried setting the PickListName property on pick list B but still got the error. Any additional help would be appreciated. I would love to get this working.

Thanks.
[Reply][Quote]
Steve Robertson
Posts: 146
 
Re: Custom Sub PicklistYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Aug 08 3:45 AM
I have just retested this and it appears ok here. I am testing this on SLX Web 7.2.2.1902

I did a variance of the Account Type and Sub Type pick lists on the Account Detail form.

On Pick List A:
Used the Account Type PickListName.
Bound the picklist control to the Entity.Type property to the PickListValue in the databindings.
Set the On Change Action to "Refresh Data"

On Pick List B:
Bound the picklist control to the Entity.SubType to the PickListValue in the databindings
Bound the Entity.Type to the PickListName in the databindings
Set the On Repaint Event to "True"

This did work. I didn't set any other properties on the Pick Lists properties e.g. Required or Sort.
[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): 2/23/2025 7:59:26 PM