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!
 Web Forums - ASP/ASP.NET/Web Services/Other
Forum to discuss building external web applications for SalesLogix. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to ASP/ASP.NET/Web Services/Other | New ThreadView:  Search:  
 Author  Thread: About founds SLX OBJECT the question
Tracy
Posts: 5
 
About founds SLX OBJECT the questionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Jun 07 12:38 AM
I want in net center to transfer SLX the method, but I did not know how transfers the under method has any not to be right
I want to call methods of slx in .net. Can anyone tell me what problems with the following codes?
*-------------------------------------------------------------------------------------
SalesLogix.BasicFunctionsClass bb = new SalesLogix.BasicFunctionsClass();
this.TextBox1.Text =bb.GetPrettyKeyPrefix(ID).ToString();
*-----------------------------------------------------------------
Error:Can not access "SalesLogix.BasicFunctionsClass.BasicFunctionsClass()",because it's limited by protect level

thanks.
[Reply][Quote]
Snow Monkey
Posts: 214
 
Re: About founds SLX OBJECT the questionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Jun 07 9:52 AM
Tracy, I have no clue what your trying to say..but

Are you trying to generate the TicketNumber for some reason? Do you have the neccessary SDK priviledges to do that? I dont know the specifics of using a SLXBFClass for slx 7 ;but this error leads me to belive that you dont have some slx license/sdk priviledges to the slx system which you need to wrote external apps against version 7.Why dont you call your BP for this?

To Ryan and Co..

Also if something has changed as far as external access goes in V7, a white paper would defnitely help ppl like me who are supporting multiple slx external apps going against slx V6, who are also going to be upgrading in the near future.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: About founds SLX OBJECT the questionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Jun 07 12:43 PM
You cannot directly instanciate the BasicFunctions object. It is exposed via a property of the application object. That is where you must use it from (or get the instanciated reference from)

For example:

SalesLogix.SlxApplication slx = new SalesLogix.SlxApplicationClass();

//now use BasicFunctions
this.TextBox1.Text = slx.BasicFunctions.GetPrettyKeyPrefix(ID).ToString();

//or like this
SalesLogix.BasicFunctions bas = slx.BasicFunctions;
this.TextBox1.Text = bas.GetPrettyKeyPrefix(ID).ToString();


Make sense?
SalesLogix.Basic
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: About founds SLX OBJECT the questionYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 01 Jun 07 12:48 PM
Quote:
Originally posted by Nandu

Do you have the neccessary SDK priviledges to do that? I dont know the specifics of using a SLXBFClass for slx 7 ;but this error leads me to belive that you dont have some slx license/sdk priviledges to the slx system which you need to wrote external apps against version 7


Not the case, this error refers to the protection level of the class (likely marked abstract or internat but exposed through some accessor wrapper or something). You just can't instanciate it, no one can from outside.

Nothing has changed for external access from v6 to v7

-Ryan
[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 4:30:26 PM