Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 22, 2024 
 
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 - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Controls | New ThreadView:  Search:  
 Author  Thread: .NET Extension Helper Library - How to show an Existing Lookup in Sales Logix
Isuru Seeman Hewage
Posts: 6
 
.NET Extension Helper Library - How to show an Existing Lookup in Sales LogixYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 May 12 7:07 PM
fiogf49gjkf0d

Hi All,


I am using .NET extension helper library thanks to Ryan Farley, in order to create .NET extensions for SalesLogix. Now I got a scenario where i needed to to launch a sales logix PickList inside a .NET form i'm developing. So i'm just wondering is there a way to launch the existing picklist within .NET control, without creating the picklist dialog from the scratch in .NET? This question applies to Lookups as well. Is there a way we can create lookups from SalesLogix Architect and simply show that in our .NET control?


If above is possible, how can we get the return values from picklist/lookup to our .NET control code


Regards,
Izzy 

[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: .NET Extension Helper Library - How to show an Existing Lookup in Sales LogixYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 11 May 12 1:00 AM
fiogf49gjkf0d

For Lookups you can use:


 


var lookup = SlxApplication.BasicFunctions.LookupItemWithConditionByID("Account:Account", false, null, null, null, null);
string selectedId = lookup.ID;

 


For picklists use:


 


var selectedItems = slx.PickLists["Title"].Select(PickListColumnsEnum.plcItems, null, 200, 200, 300, 300);
if (selectedItems.Count > 0)
string selectedValue1 = selectedItems[0].ToString();

 


You can of course play with the values for location and size.

[Reply][Quote]
Isuru Seeman Hewage
Posts: 6
 
Re: .NET Extension Helper Library - How to show an Existing Lookup in Sales LogixYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 May 12 6:48 PM
fiogf49gjkf0d

Hi Ryan,


Thanks a lot for your help. Really appreciate the effort you put to these forums to help beginners like us. I see there is a method call LoadWithCallBack on .NET Extension helper library on saleslogix. Do you have anything that actually shows the functionality of this?


I saw on your youtube video tutorial you actually mention you will do a tutorial on that one. But i couldn't find one. May be you never got a chance. Would you please tell me how to use that method and what it actually does?


Regards,


Izzy

[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 © 2024 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): 11/22/2024 5:00:48 AM