Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Wednesday, August 27, 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!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: CreateAdHocGroup Return Value
Dan Elliott
Posts: 11
 
CreateAdHocGroup Return ValueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 21 Oct 08 11:20 AM
I am using the Application.BasicFunctions.CreateAdHocGroup function in SLX version 7.2.1. The documentation (LAN Developers Reference v7.2) says it returns a boolean, but I am not getting anything back from the function (not true or false). If this function doesn't return True when it works and False when it doesn't, how can I catch errors from this function and handle them?

It does create the group without any problems, it's just the return value I am confused about.
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: CreateAdHocGroup Return ValueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Oct 08 8:08 AM
Actually.. it returns False on a successful execution. Not sure what happens on a failure.

We built an tool for creating group(s) directly from SQL for one of our customers that uses this function. I typically ignore the return result.
[Reply][Quote]
Dan Elliott
Posts: 11
 
Re: CreateAdHocGroup Return ValueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Oct 08 10:21 AM
Thanks for the reply.

It doesn't seem good to me to just assume that it worked, but I guess I have no choice here aside from checking the PLUGIN and ADHOCGROUP tables to verify the group was created.

One more question...Is it common for this to happen in SalesLogix (things not working as expected or documented) or is it usually correct and this is an exception? I am pretty new to SLX Development (about 1 month in) and this is the first issue like this I have run into. Should I expect more like this?
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: CreateAdHocGroup Return ValueYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Oct 08 11:06 AM
Welcome to the community.

Yep.. like any software you may see things like this again.. and more.

However, don't expect to see things fixed quickly.. or at all in some cases...

I've been involved w/this (SalesLogix) for 10+ years

--
RJLedger - www.SlxWizard.com
[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/27/2025 8:48:31 AM