Question

I am developing the SharePoint Portal in 2010 where i will be using a Dropdown with values in it. These Values will depend on the group to which the user belongs.

For Eg.

If Drop Values are A, B , C, D, E

and there is a Group XYZ

If User A logs in & he belongs to Group XYZ the Drop down should show: A B E

Else the drop down should show : C, D

Anybody having an idea on how to do it. Please Share it.

Thanks Kishan Srivastava

Was it helpful?

Solution

Option 1: Lookup list, if for entry into list
If you can make an extra group ZYX which contains everybody except the people in XYZ then you can make the following:

  1. Create a list with the choices A,B,C,D,E
  2. On each item break inheritance and assign view right to groups XYZ and ZYX
  3. Make your dropdown a lookup into the list

Option 2: Audiences, if webparts on page
Create two audiences one for people in group XYZ and one for others
Insert two webparts one for the first audience and one for the second with different configuration

Option 3: Search Based

  1. Make a list an entry that only can be seen by group XYZ
  2. Insert a search web part looking for the entry.
  3. Change the XSLT to show A,B,E as result and C, D if no result

Option 4: Code

OTHER TIPS

Lookup column. Set the permissions as appropriate on the list providing the values.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top