frbry
frbry

Reputation: 499

Two Questions on Sharepoint Publishing Sites

  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.

Upvotes: 0

Views: 69

Answers (1)

ArjanP
ArjanP

Reputation: 2172

  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?

Upvotes: 1

Related Questions