0
  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.

frbry
  • 499
  • 2
  • 12
  • 25

1 Answers1

1
  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
  • 2,172
  • 2
  • 15
  • 22
  • 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 Sep 24 '10 at 08:16
  • Ah i see.. sounds like a custom dev job. – ArjanP Sep 27 '10 at 00:34