Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, June 20, 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: Avoid adding Items to the Picklist
vijayar
Posts: 17
 
Avoid adding Items to the PicklistYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Oct 07 7:20 AM
I have a requirement wherein certain users should not add items to the Picklist.Is it possible.If So,Suggest me the way how to proceed with.

Thanks in advance,
Vijay
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Avoid adding Items to the PicklistYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Oct 07 5:17 AM
Setup (or adjust) the picklist and tick the "User cannot edit items" - this will do that.
[Reply][Quote]
John Foster
Posts: 18
 
Re: Avoid adding Items to the PicklistYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 13 Oct 07 6:08 AM
If some users can adjust ALL picklists, then simply give them the Function Security to allow them access to Picklists. If only certain users can adjust certain Picklists, then it is more complicated. AFAIK, you cannot have some users directly change a particular Picklist and not others. The only way around it that I know is to use a PickListCombo instead of a Picklist. At runtime, make the PickListCombo either a Dropdown or a Dropdownlist depending on whether or not the user can edit the list. If they type in a value that is not in the underlying Picklist, add it at runtime.
[Reply][Quote]
vijayar
Posts: 17
 
Re: Avoid adding Items to the PicklistYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 07 1:07 AM
Thanks john for ur reply.But my requirement is not to adjust(Edit) items in the picklist.

When the user selects a picklist(at runtime),list of items in the picklist will be displayed with options to ADD,EDIT,DELETE the items in it.When the user clicks on ADD button,he/she can add a new item in the picklist.I want to restrict this for a particular user i.e he should not add items to he picklist.

Expecting reply from u.


[Reply][Quote]
vijayar
Posts: 17
 
Re: Avoid adding Items to the PicklistYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 07 1:10 AM
Thanks Mike for ur reply.checking the "User cannot edit items" attributes will not edit the items. But my requirement is not to adjust(Edit) items in the picklist.

When the user selects a picklist(at runtime),list of items in the picklist will be displayed with options to ADD,EDIT,DELETE the items in it.When the user clicks on ADD button,he/she can add a new item in the picklist.I want to restrict this for a particular user i.e he should not add items to the picklist.

Expecting reply from u.
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Avoid adding Items to the PicklistYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 07 3:32 AM
Hi, that's actually incorrect. If the p/list has the User Cannot Edit Items then they cannot add to it either. In other words, the Add/Edit/Delete buttons are grayed out. Can you double-check this. Thanks!
[Reply][Quote]
vijayar
Posts: 17
 
Re: Avoid adding Items to the PicklistYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 07 6:54 AM
Even after checking the "User Cannot Edit Items" I could not disable(gray out) the ADD/EDIT/DELETE buttons.

Pls suggest me if u have any other way.
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: Avoid adding Items to the PicklistYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 07 7:05 AM
OK, I think I know what's happening. It is most likely you have just switched on this option for this list *but* the list already has user items in it.
For example, the list contains:

X,Y,Z,B,C

The user has added A,D,E,F

Now, what SLX does is to enable the user to modify the ones they added (it knows that from their ID) but they cannot add/edit/delete the ones in the master list but they can Add/Edit/Delete their own e.g. A,D,E,F - if you happen to highlight X, Y, Z, B or C you will see those options gray out. When they highlight "theirs" the Add/Edit/Delete will grey out.

So, in context. Check with a picklist you've not worked on before (or create a new one) and then see how this works in practice.
[Reply][Quote]
John Foster
Posts: 18
 
Re: Avoid adding Items to the PicklistYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 16 Oct 07 7:12 AM
I was talking about using a PickListCombo, not a PickList. A PicklistCombo will not display the Add/Edit/Delete options for anyone. You make it a dropdownlist to stop users from typing in a value. Another option is to use a PickList, but to have 2 separate picklists available at runtime depending on the user.
[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/20/2025 3:07:18 PM