6/20/2025 4:29:58 PM
|
|
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!
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.
|
|
|
|
Avoid adding Items to the Picklist
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 |
|
|
| |
|
Re: Avoid adding Items to the Picklist
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. |
|
|
|
Re: Avoid adding Items to the Picklist
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.
|
|
|
|
Re: Avoid adding Items to the Picklist
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.
|
|
|
|
Re: Avoid adding Items to the Picklist
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! |
|
|
|
Re: Avoid adding Items to the Picklist
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. |
|
|
|
Re: Avoid adding Items to the Picklist
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.
|
|
|
|
Re: Avoid adding Items to the Picklist
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. |
|
|
|
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!
|
|
|
|
|
|
|
|