views:

21

answers:

1

Hello all,

  1. I have a custom page layout which is based on a custom content type. I have placed several textfields and lookup fields from custom content type in the page layout. I want them to be seen to only admins. Contributers should not see and edit. Is this possible?
  2. Admins will select an item in a lookup combobox in page layout. I want to fetch some data from other lists using the selected item for filtering. I guess I can place a data view in page layout but how I get certain field value of the page?

Thank you.

+1  A: 
  1. Have a look at the SPSecurityTrimmedControl it will allow you to hide sections of the page based on the rights a user has.
  2. Why don't you just use a lookup column?
ArjanP
SPSecurityTrimmedControl is the way I guess, thank you. About the second one, I don't want user to forced to choose every column himself. It should be enough for him to choose only the first distinctive one, and the rest should fill in automatically.
frbry
Ah i see.. sounds like a custom dev job.
ArjanP