Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, August 25, 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: CreateTempGroup groupName not working?
Brian Mooy
Posts: 25
 
CreateTempGroup groupName not working?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 14 Feb 08 11:39 AM
I'm having a problem with CreateTempGroup that I haven't been able to figure out how to work around. I searched these forums, but it doesn't look like anyone is quite having the problem I'm seeing.

I'm trying to use the following code:

application.BasicFunctions.CreateTempGroup "ACCOUNT", "MY GROUP", "ACCOUNTID", " = ", "'AFJMGA30003Q'", ""

I've tried a few variations of this ("ACCOUNT:MY GROUP" as the group name; "ACCOUNT:ACCOUNTID" as the field name) with the same result. This is a simplified version of the CreateTempGroup to the code that I'm actually using (I have a larger query - I'm not just returning a single accountID), but it gives the same results.

However, every single time I run this line, instead of creating 'MY GROUP', I end up getting the accountID specified in the Lookup Results group, which is unacceptable for my current requirements. 'MY GROUP' does not currently exist anywhere in the system (it doesn't help if it does already exist though).

I see this behavior on versions 6.26, 7.01, and 7.21 of Saleslogix.

Interestingly enough, this works:

application.BasicFunctions.CreateAdHocGroup "account", "MYGROUP", gResults, "", ""

But I want to be able to update the return results to my group dynamically.

Has anyone seen this before, and have any advice how to work around it?
[Reply][Quote]
Ian Fitzpatrick
Posts: 146
 
Re: CreateTempGroup groupName not working?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 03 Apr 08 2:45 PM
Brian,
I have been able to get CreateTempGroup working using:

StrSQL = "Select Distinct a.ContactID from Contact a"
application.BasicFunctions.CreateTempGroup "contact", "AAA4", "contactid", " IN ", "( " & strsql & " )", ""

But my results are displaying under "Lookup Results" and not creating a Group named "AAA4" as I want them to. What I want is to have the group saved as "AAA4"(or whatever ), does anyone know how to do that?

Thanks!
[Reply][Quote]
Byrnes
Posts: 43
 
Re: CreateTempGroup groupName not working?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 24 Apr 08 11:13 AM
Any more information on this topic? I'd love to be able to create and save a dynamic group through code if possible. I've got the temporary 'Lookup results' group down pat, but to save a group and have it be dynamic would be a lifesaver.....
[Reply][Quote]
Bob (RJ)Ledger
Posts: 1103
Top 10 forum poster: 1103 posts
 
Re: CreateTempGroup groupName not working?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 25 Apr 08 8:20 AM
No Can Do.. easily..

You cannot (easily) create a new (normal) dynamic group via code... Only AdhocGroups.

You would have to mess with the meta-data of SalesLogix.. and in a bunch of places. In the end you would have a trashed plugin table.
--
RJLedger - rjlSystems
[Reply][Quote]
Stephen Pond
Posts: 4
 
Re: CreateTempGroup groupName not working?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 08 Sep 08 3:57 PM
This other thread was close, but not sure if this is eactly what you are looking for.

http://www.saleslogixdeveloper.com/forum.aspx?forumid=2000&postid=5841#5841
[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/25/2025 8:56:10 AM