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 created a web template based on teamsite (removed wiki feature). I have added a task list and a members webpart on the onet.xml file. I want to change the default view on the task list and displaytype of the webpart programmatically so that when you crate a website of this template they are changed. Thanks for your help.

share|improve this question
    
how about using site definition :) –  Ignacio Sep 18 '12 at 14:34
    
if you go through onet.xml, you can add a webpart and setup its properties using XSLT –  Ignacio Sep 18 '12 at 14:35
    
Yes, I have used xslt for example I added this <DisplayType>WebMemberGroup</DisplayType> to change DisplayType but it does not work. –  Medes Sep 19 '12 at 6:36

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.