Sage SalesLogix
  • Contact Us
  • Sage North America
800-643-6400
Welcome Twitter Facebook LinkedIn
Community Home Blogs Share Ideas Search Request Access Resources
Reply
Tuned Listener
yshld
Posts: 63
Registered: 11-29-2011

Include custom code in code snippet

Hi,

 

I have defined a class under App_Code folder and I need to reference it in one of my code snippet for a business rule.

 

I cannot figure out how to include the class in the using section. This makes my code uncompiled.

 

Can anyone tell me how to include the code under App_Code?

 

Thanks a lot!

Please use plain text.
Nickel Contributor
Posts: 49
Registered: 03-18-2010

Re: Include custom code in code snippet

I think that is not possible. But you could convert your file in a DLL...
Libert Damien
Please use plain text.
Tuned Listener
yshld
Posts: 63
Registered: 11-29-2011

Re: Include custom code in code snippet

That's really what I realized, the SalesLogix has a very poor structure and the very inconvenient design of using code snippet. I have to use extended assembly to do all function and only leave AA as the UI part.

Please use plain text.
New Member
jbest
Posts: 4
Registered: 12-16-2011

Re: Include custom code in code snippet

App_Code is compiled at run time. There would be no way for AA to know of this type.
Please use plain text.