Two Questions on Sharepoint Publishing Sites
- 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?
- 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.
- Have a look at the SPSecurityTrimmedControl it will allow you to hide sections of the page based on the rights a user has.
- Why don't you just use a lookup column?
精彩评论