Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, July 11, 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: Merging picklists of different users
topknot
Posts: 16
 
Merging picklists of different usersYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Jun 08 5:07 AM
Hello,

When few users edit (add new items) to some picklist, then all of them have different versions of picklist.

Is there built-in way to merge this changes so every user will see changes made by other users?

thanks!
[Reply][Quote]
Timmus Agersea
Posts: 328
 
Re: Merging picklists of different usersYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Jun 08 11:14 AM
No there is not. One approach is:

1. Use the following query to get the list of items for the picklist in question:
SELECT
P.ItemId 'PicklistID' , P.Text 'Picklist' , C.Text 'Picklist Item' , U.UserName
FROM
sysdba.picklist P
INNER JOIN sysdba.Picklist C ON C.PicklistID = P.ItemID
INNER JOIN sysdba.UserInfo U ON U.UserID = C.UserID
WHERE
P.PickListID = 'PICKLISTLIST'
AND P.Text = '[PickList Name Here]'
ORDER BY
2 , 3 , 4


2. Identify the items that should be in the picklist and correct the picklist via the Picklist Manager. This will ensure that the records sync.

3. Delete the non-administrator items for that picklist using the Administrator Execute SQL feature:
DELETE FROM PickList WHERE PickListID = '[PicklistID Here]' AND UserID <> 'ADMIN'

Please backup your database, test on a dev system first, etc. before running this. Since you are deleting data with SQL there is a risk that things could go awry. This is not a high risk in my opinion but it is wise to play it safe.

HTH,

Timmus
[Reply][Quote]
topknot
Posts: 16
 
Re: Merging picklists of different usersYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Jun 08 11:26 AM
Thank you! Very useful query, I'm already looking who added what
[Reply][Quote]
Walter Shpuntoff
Posts: 167
 
Re: Merging picklists of different usersYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 07 Jun 08 5:09 AM
I am polishing up an external app that deals with those kinds of picklist issues. It lets you have a user level admin take care of those issues easily without needing the admin password. No SQL required. You can contact me offline if you are interested
[Reply][Quote]
Galina
Posts: 22
 
Re: Merging picklists of different usersYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 May 09 11:59 AM
Hi,
it it possible to to have different values in picklist depending on user's team ?
[Reply][Quote]
Walter Shpuntoff
Posts: 167
 
Re: Merging picklists of different usersYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 May 09 12:12 PM
Picklists come in 2 flavors.

1 - entry specific to one user
2 - visible to everyone.

So... sorry - no teams.
Of course this IS SalesLogix, so you could always build something out like that.

ws

ps. the picklist manager tool i mentioned last year is available

see http://www.radishtools.com/picklist.html for details
[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): 7/11/2025 1:38:22 AM