11/8/2026 3:37:37 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 .NET Extensions in SalesLogix version 7 and higher. View the code of conduct for posting guidelines.
|
|
|
|
.Net Extension design question using a webservice
Posted: 21 Sep 10 4:40 PM
|
I have a webservice I need to access inside of SLX 7.5.2. After much research it looks as though the preferred approach is to use a .Net Extension to handle the webservice. My service has 8 methods I need to access.
Question 1. I see from the examples that Run() is where the code is placed. Am I correct in assuming I will have to create 8 extensions. One for each method of my webservice? Or can a single extension be used.
Question 2. Most of the webservice methods return a single string value. However one returns an xml (array) of values for a dropdown control that I will need to populate a combobox with in my SLX form. How do I populate a SLX combobox from the extension that is getting an xml array from the webservice?
Thanks, |
|
|
|
Re: .Net Extension design question using a webservice
Posted: 22 Sep 10 11:19 AM
|
After more research I came across Ryan's Embedding a .NET Control Screencast using an embedding .NET control. I believe I could eliminate my problems using this approach. In simplest terms I have a ro text box on the Opp tab with a button next to it. If the user clicks the button I pass the value of the text box to the embedded control. Let the user do all the work that requires the webservices and when they click Save it plugs the string result into the the text box. The .Net control would remove all of my issues in the previous post. However I am unclear about one thing in Ryan's sample readme.
Note, these samples were intentionally built to work in SalesLogix version 6 and higher. They do not make use of .NET Extensions in version 7. This means that you need to install and register the .NET assemblies on each machine that will use them. Converting these samples to .NET Extensions for v7 would remove the need to distribute the samples to each workstation.
How to convert the sample to .Net Extension for v7.x?
Thanks, |
|
|
|
Re: .Net Extension design question using a webservice
Posted: 23 Sep 10 6:23 AM
|
David, your all of your methods could be off a single instance. Its possible to return an object that exposes all of your methods to call. I also suspect that you will not be returning XML nodes themselfs but the InnerText or attribute values as an string array { string[] } which you can iterate through and set your combobox from.
Kindest, Mark |
|
|
|
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!
|
|
|
|
|
|
|
|