The tag has no wiki summary.

learn more… | top users | synonyms

12
votes
2answers
2k views

Convert site template to site definition

How do I go about making a site template to a site definition? For example, if I have a modified team site which I saved as WSP (save as site template), can I import that into VS2010 and convert to a ...
5
votes
1answer
147 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 ...
5
votes
1answer
382 views

Site Definition vs Web Template for product site

I'm getting ready to create a product for SharePoint, and I'd like it to be as easy as possible for people to deploy and use. I was planning on using a Site Definition, since this seems like a great ...
5
votes
2answers
4k 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> ...
4
votes
2answers
332 views

How to “seed” default content into newly provisioned site definitions in SharePoint 2010?

We have a publishing site definition that we have created in Visual Studio 2010. It is working great and provisions the sites just fine. We have a need to have starter content inside the sites. All ...
3
votes
2answers
1k views

Limit templates available when creating sub site?

I have created a site definition but i need to limit what sub sites can be created by the user. How can I do this with SharePoint 2010? thanks
3
votes
2answers
290 views

Search for specific Web Template in SharePoint Search

Is it possible to construct a SharePoint Search Query for a specific web type (site definition / web template id) in the same manner as for lists? I can easily search for my custom lists using ...
3
votes
1answer
433 views

How to deploy a workflow as part of a site definition?

We have a customer that will be creating many sites based on a site definition. The sites include a list. We would like to connect a workflow to that list such that the workflow starts whenever a new ...
3
votes
1answer
432 views

How do I create a custom default page for my SharePoint sites?

I've created a MOSS 2007 SharePoint site definition for my users, and now want to use a custom default.aspx page as a landing page every time a new site using that definition is created. That default ...
3
votes
1answer
517 views

Create a site using powershell for a custom site definition

I have created a custom site definition which I can see and create a site using my custom definition with the UI. However, if I try to create a site using powershell I get an error saying WARNING: ...
2
votes
5answers
566 views

When is it right to customize a site definition?

In some scenarios there is a need for being in as much control of the site provisioning process as possible. In some senarios there is a good solution to customize site definition by customizing the ...
2
votes
4answers
559 views

Problem applying content type bindings to an es-ES site definition

I'm building a publishing site which will support the following cultures: de-DE (1031) en-US (1033) es-ES (3082) fr-FR (1036) it-IT (1040) ja-JP (1041) ru-RU (1049) zh-CHS (2052) I can create an ...
2
votes
3answers
3k views

“Cannot find this file” error when deploying from Visual Studio 2010

I'm getting an error in Visual Studio 2010 after pressing F5 to Debug: Error occurred in deployment step 'Add Solution': Error: Cannot find this file specified in the manifest file: ...
2
votes
6answers
789 views

Feature stapling vs Site Definitions

I curious of what you’re experiences are one the user of site definition compared to feature stapling. In a video on Channel 9 Ted Patterson explains that feature stapling is the way to go. It would ...
2
votes
2answers
991 views

Changing site/list definitions post-production

There have been several questions asked on this site regarding the best way to provision sites and lists (definition schemas vs. templates vs. the object model vs. the web interface vs. provisioning ...
2
votes
3answers
1k views

Update Web Part in Custom Site Definition and created sites

I have a site definition with a custom web part, the projects (both the site definition and the web part) are part of a CI build which means the version numbers are incremented each build. The ...
2
votes
2answers
1k views

Custom web templates vs custom site definitions

I read the MSDN article "Deciding between custom web templates and custom site definitions". The article only scratches the surface, so I was wondering if anyone have had some hands on experience with ...
2
votes
1answer
1k views

<View> (ListViewWebPart) from within publishing page in feature

This is in the context of MOSS 2007. I have a custom site definition. Currently in ONET.xml we have the following Module: <View ...
2
votes
2answers
339 views

Adding a hidden page with site definition

I want to add a page to my site definition which is hidden ie. doesn't appear in the navigation, by default. The page is provisioned in the onet.xml file as follows; <File Url="SomePage.aspx" ...
2
votes
2answers
770 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 ...
2
votes
1answer
584 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" ...
2
votes
1answer
389 views

Deploying webparts to default.aspx with a SiteDefinition feature dependency

I tried deploying a Site Definition with a custom default.aspx page. Within the <WebFeatures> node of the Site Definition's Onet.xml I tried to reference a Feature which would get a web part ...
1
vote
2answers
111 views

Activating a feature after an SPWeb has been created

I am trying to ensure that a custom feature that I have written is activated when an SPWeb is created, and it has to be activated after all lists/libraries have been created (specifically the document ...
1
vote
2answers
2k views

Site Definition with list instances, pages, web-parts, feature-stapling or feature activation

I need to create a site definition (as I tried to re-use a wsp site template to extend it but failed). Is it possible to create a site definition with 16 list instances (with a variety of types, 100, ...
1
vote
1answer
705 views

Site definition inherit/display parent global navigation

When creating a Site Definition in Visual Studio, how do I make sure that the new site created from this definition will display the same global navigation as the parent web in SharePoint 2010?
1
vote
2answers
673 views

SharePoint 2013 Site Definition Template Missing

I am using Visual Studio 2012 Ultimate RC, and I did install the Sharepoint 2013 tools. But cant find the site definition templates. Any thoughts??
1
vote
1answer
154 views

In what order does a Site Definition provision a site?

I have created a site definition in which I have a series of web scoped features getting activated. Some of the features are meant to set targetting audiences on webparts, some of them are creating ...
1
vote
2answers
3k views

MissingSiteDefinition >> How do I go by fixing this issue?

[MissingSiteDefinition] 1 Sites in database [Colgate_WSS05] has reference(s) to a missing site definition, Id = [16781], Lcid = [1033]. The site definitions with Id 16781 is referenced in the ...
1
vote
2answers
1k views

How to change URL for SharePoint:SiteLogoImage

I have the job of migrating a sharepoint site from one server to another. Everything appears to have moved across correctly, but there is one image which has a url to the old site. I've tried ...
1
vote
1answer
525 views

How to use resource files in webtemp xml

Probably another easy question, but I've been working on it this morning and haven't been able to get it to work. I have a site definition that I am attempting to move the string literals to a ...
1
vote
3answers
1k views

SharePoint 2010: How to control order in which web features are applied

We have a site defined in onet.xml. The site has 5 features: some standard, some custom. One of the standard ones is the team site. On activation of our feature we would link to copy files into the ...
1
vote
1answer
368 views

from where i Copy “webtemp.xml” and “onet.xml” files of standared sharepoint 2013 team site

I want to create site definition in VS 2012. But for webtemp.xml and Onet.xml files,I want to copy content from webtemp.xml and Onet.xml files of standared sharepoint 2013 "team site" for my site ...
1
vote
1answer
50 views

Customactions not binding to content type

Facing a strange and frustrating issue just before Christmas :-( Heres the scenario: I've got a custom content type, list schema , the whole works all exported from another site using the Sharepoint ...
1
vote
1answer
74 views

How do I deploy a new site definition

I'm starting off with a SharePoint development, and created a Site Definition containing, well, nothing. My plan was to create a sharepoint site using that definition and go from there, however, I ...
1
vote
2answers
602 views

Add an XsltListViewWebPart to a site defintion homepage

What's the best method for adding an XsltListViewWebPart to a site definition's default.aspx? I've tried to add one to the definition's default.aspx declaratively by copying the XML from an existing ...
1
vote
0answers
41 views

Error creating site from site definition - no document templates

I'm hoping you can help me out with a problem I'm experiencing. I have developed a custom site definition. The site contains 2 document libraries (Correspondence and Documents) and a list (Records). ...
1
vote
1answer
24 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 ...
1
vote
1answer
205 views

How can I activate a wsp solution uploaded to solution gallery via code in SharePoint 2013

I'm creating a site definition which provisions a subsite based to a webtemplate(wsp) file. This webtemplate file is packed in a feature containing a module.When the feature is activated the wsp file ...
1
vote
1answer
29 views

What things/attributes need to be changes while renaming a Site Defination?

I have a site definition folder with following structure, XML default.aspx MasterPage.master masterpageajax.master In XML folder I have "ONET.XML" and I looked into this file, and realized that ...
1
vote
2answers
180 views

resources in site definition

I have a problem with resources in my site definition. I have 2 languages dutch (1043) and english (1033). In my site definition i'm using a feature which has a site column. This site column has ...
0
votes
2answers
94 views

Updating existing sharepoint sites?

We have a set of custom site definitions, around 12 in total, that makes up a large sharepoint 2010 intranet application (circa 40,000 sub-sites) that has been deployed for a few years now. One of ...
0
votes
3answers
336 views

Warning icon remains after page layout is reset to site definition in SP Designer 2010

When I reset a page layout to its site definition by right-clicking the page layout name in SP Designer 2010, choosing Reset to Site Definition, Clicking Yes on the warning that pops up, the warning ...
0
votes
2answers
75 views

How to Find out Site definition being used by a Site

I always struggle to find out that how to know what site definition or site template a "Web" or a "Site" is using. We do have a lot of custom site definitions and site templates, we are using in our ...
0
votes
2answers
26 views

create list definition under sub site in site definition

I want to Create List Definition & List Instance under particular Sub-site.It can not been seen under site Collection.
0
votes
3answers
2k views

Getting global Navigation working using onet.xml

Im trying to create a site definition using onet.xml in sharepoint 2010. So far things are going well however I am now having a problem getting the subsite to inherit the global navigation from its ...
0
votes
1answer
40 views

Is it possible to have a Site without Site Definition

I am working on a portal and have a site/web and I am trying to find out what site definition its using, I tried this code to find out, it does give me a site template ID and Master page URL, but it ...
0
votes
1answer
25 views

Method to find where site definitions were used

Is there a way to find out what site definitions were used to create sites? We are trying to remove some site definitions from our code base, but we want to make sure no sites are using them. Thanks. ...
0
votes
1answer
29 views

Why I see the page “_layouts/newsbweb.aspx” after debugging my sitedefiniton?

I have a sharepoint 2010 portal. The site collection is from the site template "publishing site". I have created a simple site definition like in this tutorials: ...
0
votes
1answer
131 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 ...
0
votes
1answer
75 views

Site Definition or web template how to update sites

If you want to update (insert changes) all existing sites in a SharePoint 2013 web site, which one is the best option to start with? creating all sites based on Site Definitions or based on Web ...

1 2