Skip to main content
Hi,

Is is possible to restrict access to a picklist on record creation with a VR? Meaning if only certain users are allowed to create a NEW record with any of the values in a certain PL can this be done with a VR or is a trigger needed?

Thanks.
9 Antworten
  1. 25. Apr. 2023, 22:34
    You can something like below validaton.

     

    AND(

    ISNEW(),

    OR(ISPICKVAL(fieldname,'Sandbox A'), ISPICKVAL(fieldname,'Sandbox B')),

    OR($User.Username = 'username1', $User.Username = 'username2'),

    ISCHANGED(picklist field)

    )

    Please mark as Best Answer if above information was helpful.

    Thanks,
0/9000