Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, June 6, 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: Custom Enumerations in SLX 7.5.4
Tim Zech
Posts: 40
 
Custom Enumerations in SLX 7.5.4Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 31 Oct 13 11:24 AM

Hi, I'm using an external assembly like everyone recommends, but now I'm facing a problem:


We have a custom entity License with a businessrule called SendAutoMail. This is it's signature:



public static void SendAutoMail(ILicense license, EMailTemplateSubcategoryLicense mailType, string recipients)


The 'EMailTemplateSubcategoryLicense' is a custom enumeration placed in the same external assembly as the businessrule. When I use this method as a businessrule AA tells me:



C:\BuildDirectory\interfaces\ILicense.cs(223,27):The type or namespace name 'EMailTemplateSubcategoryLicense' could not be found (are you missing a using directive or an assembly reference?)


I tried adding a reference to the library '%BASESAGEINSTALLPATH%\SalesLogix\SupportFiles\SLXLibrary.dll' to the codesnippets.xml, restarted the AA, perform a full build - error appeared. I was looking for the assemblies references to add (like described here: http://bit.ly/alKCWW), but it seems you can only do this when coding within the AA.


Am I missing something or is it not possible to use custom enumerations?

[Reply][Quote]
Tim Zech
Posts: 40
 
Re: Custom Enumerations in SLX 7.5.4Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Nov 13 4:00 AM

Okay, I'm using a workaround now:


One BusinessRule for every possible and reasonable combination. But it's still be interesting anyway. Maybe someone somewhere somewhen knows how to deal with this.

[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): 6/6/2025 9:58:27 AM