Showing results for 
Search instead for 
Do you mean 
Community Home Request Access Read Blogs Share Your Ideas Search Community View My Settings
Reply
Highlighted
Tuned Listener
Posts: 67
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!

Highlighted
Nickel Contributor
Posts: 57
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
Highlighted
Tuned Listener
Posts: 67
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.

Highlighted
Employee
Posts: 51
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.