Tagged Questions
0
votes
1answer
24 views
adding a document library to a site definition
Ive created a custom list definition that inherits from document and i want to add it to my site definition. Ive included the feature in the site definition so its available but im not sure how to add ...
0
votes
3answers
33 views
populate list after creation of site from custom site defintion
I need to populate a list that is created as part of a custom site definition from another source. Ive tried using a feature receiver but it states that the list has not been created. I guess that ...
0
votes
0answers
32 views
404 error after update-spsolution with site definition
i ran a upate-spsolution to update a site defintion and now any existing sites created from that site definition throws back a 404 error. Strangely any new sites i create using the site definition ...
0
votes
1answer
110 views
site definition master page problem
Ive created a site definition and am trying to reference a custom master page that is installed as a feature. For some reason when i create a site using the site definition i get a filenotfound ...
1
vote
1answer
22 views
What should be the provisioning model?
What should be the provisioning model for supporting only 2010 and above, if:
it needs to include custom SharePoint security groups
it would be deployed to multiple unrelated SharePoint ...
0
votes
1answer
81 views
Customising my sites site definition via code
I want to create a site definition based on the my sites template (i.e. so that when I provision my sites, the site collections created include my customisations as in the vs2010 project.
How can I ...
2
votes
1answer
562 views
Sharepoint 2010 site definition one template to create multiple publishing pages
Im trying to create a publishing site definition where I use one file to provision many templates.
eg in onet.xml
...
<Modules>
<Module Name="Landing" />
<Module Name="Test" ...
5
votes
2answers
3k views
Sharepoint 2010 XsltListViewWebPart on site definition template
Im having a problem placing the XsltListViewWebPart on my Default.aspx template (relevant code bellow)
<WebPartPages:WebPartZone runat="server" ID="NewsItemsList">
<ZoneTemplate>
...
0
votes
1answer
286 views
Feature Upgrading - Adding an existing content type to a list definition
My question is: how do I add an existing content type (say the OOTB "Contact" content type) to an list instance definition (for "Shared Documents") in my site definition solution?
Background: I have ...
5
votes
1answer
145 views
Disabling standard quick launch behaviour
I have created a Site Definition using Visual Studio and also created a List Definition from which I use the List Instance in a web-scoped feature which activates upon creation of a subweb using the ...
2
votes
2answers
745 views
Site with custom master page reverts to v4.master on upgrade
I have a web application in 2007 that contains a bunch of sites that all used a custom site definition and a custom master page (deployed using a feature). All is well.
I've upgraded the code for ...