Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have 2 groups of people which should have access to different versions of a DispForm of a List. For 1 of these groups all links should be disabled and they should see the content with another masterpage.

Can i create a second Dispform and link one group to this custom page? How to accomplish this with SharePoint Designer?

Or do i have to stick with 1 Dispform and have to switch the contents by getting the usergroup? How can i change the masterpage in this case?

Thanks for your help!

share|improve this question

3 Answers 3

up vote 2 down vote accepted

You can create as many DispForms as you'd like for a list. In SharePoint Designer, copy the existing Dispform and rename the copy. Hide the default form on the page by setting the IsVisible and IsIncluded flags to false. Then add in a Custom List Form web part. Customize as desired based on your requirements.

Then through navigational control and or audiencing, point the desired users to the appropriate forms. I do this all the time when I need to create User Views and Administrator Views for dashboards and such.

share|improve this answer
    
Thank you, works like a charm! –  spoekes Oct 11 '11 at 13:36
    
agree, better idea then mine. but just wondering, which form will be rendered for a user clicked on an item in a ListView WP? :) –  Ivan Padabed Oct 12 '11 at 13:25
    
What ever is set as the default for that content type in SharePoint Designer. There can only be one "Default", but it doesn't stop you from having multiple. –  PirateEric Oct 12 '11 at 13:49

no more than one DispForm for a single list at one time. You can try to redirect user on a custom application page from a dispForm based on security group.

share|improve this answer

There is a feature called SPListDisplaySetting available on CodePlex. It allows you to show/hide display field in a specific form (new, edit or display) based in which group user belongs to, however this won't allow change the masterpage for list.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.