Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, August 18, 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: When developing an external assembly, from where should I add the references to be able to access Sage's services and Slx Entities?
NixDev
Posts: 98
 
When developing an external assembly, from where should I add the references to be able to access Sage's services and Slx Entities?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 28 Apr 09 12:40 PM
Hi all,

I wonder what's the correct way of developing external assemblies to be used within SalesLogix web. Let's say I want to create a DLL in visual studio which will have functionality that will be used from SalesLogix web, and I want to be able to get (for instance) the connection or the logged in user, etc.

From where I should add the references to do so?
Is there a recommended way of developing such external libraries?
Any gotchas I should be aware?
When I rebuild the project inside AA, do I have to rebuild my external library too, or something like that?
Everytime I change my external library, do I have to update the one in "bin" folder used as external reference from AA?

Thanks and regards to all.
[Reply][Quote]
Philip Meyer
Posts: 4
 
Re: When developing an external assembly, from where should I add the references to be able to access Sage's services and Slx Entities?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Apr 09 12:11 AM
In AA, you'll want to go under Tools->Copy Assemblies. This will place the files you need into C:\Program Files\SalesLogix\ReferenceAssemblies. This is where you'll want to draw from for your VS project.

Some "basic" references you'll want are
log4net
Microsoft.Practices.ObjectBuilder
NHibernate
Sage.Entity.Interfaces
Sage.Platform
Sage.Platform.Application
Sage.Platform.Configuration
Sage.Platform.Orm.CodeGen
Sage.Platform.WebPortal
Sage.SalesLogix
Sage.SalesLogix.Client.GroupBuilder
Sage.SalesLogix.Security
Sage.SalesLogix.System
Sage.SalesLogix.web

You may not need all of those, but will give you a good base.
[Reply][Quote]
NixDev
Posts: 98
 
Re: When developing an external assembly, from where should I add the references to be able to access Sage's services and Slx Entities?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Apr 09 9:24 AM
Thanks for your reply, this solves my question!
[Reply][Quote]
Jeffrey Johnson
Posts: 69
 
Re: When developing an external assembly, from where should I add the references to be able to access Sage's services and Slx Entities?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Apr 09 11:53 AM
On a related question...

I am also developing a externall dll to be used with 7.5 web. The control compiles just fine in VS, but AA always says cant find reference. Where do I include a reference to my dll in AA ? as a module (because I cant seem to get it listed there either)


[Reply][Quote]
NixDev
Posts: 98
 
Re: When developing an external assembly, from where should I add the references to be able to access Sage's services and Slx Entities?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Apr 09 12:04 PM
When inside a code snippet, open properties toolbar (f4), and from the combo box at the top of the properties window select Sage.Platform.Orm.Entities.CodeSnippetHeader. Sometimes this is not visible, click on the code snippet header inside the code and try again. At some point it will appear. There you have a collection of references. You have to enter the assembly name ("MyAssembly.dll" for instance) and the hint path, which is the full path to the assembly ("C:\something\MyAssembly.dll" for instance).

Good luck.
[Reply][Quote]
Jeffrey Johnson
Posts: 69
 
Re: When developing an external assembly, from where should I add the references to be able to access Sage's services and Slx Entities?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Apr 09 12:10 PM
thanks for the quick response NixDev.

But I am not using code snippets. Its a SmartPart in a Page (both custom). My SmartPart (.ascx) file calls a dll, which i created. I tried copying my dll into the saleslogix\referencedassemblies directory - this didnt work either.

any ideas ?
[Reply][Quote]
NixDev
Posts: 98
 
Re: When developing an external assembly, from where should I add the references to be able to access Sage's services and Slx Entities?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Apr 09 12:31 PM
Hmmmm, did you add the dll to the bin folder in support files in portal manager?
[Reply][Quote]
Jeffrey Johnson
Posts: 69
 
Re: When developing an external assembly, from where should I add the references to be able to access Sage's services and Slx Entities?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 29 Apr 09 1:09 PM
Thanks NixDev! that did it!!!
[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): 8/18/2025 2:24:15 AM