Questions tagged [site-definition]

22 questions
6
votes
3 answers

Web Part connections in site definitions

I have requirement of specifying web part connections in onet.xml. So when site is created using this site definition the said web parts are already connected and ready to use. Which properties I need to specify for that particular web parts in…
Prashant Patil
5
votes
4 answers

Are SharePoint site templates really less efficient than site definitions?

So, it seems in the SharePoint blogosphere that everybody just copies and pastes the same bullet points from other blogs. One bullet point I've seen is that SharePoint site templates are less efficient than site definitions because site definitions…
Jim
  • 11,229
  • 20
  • 79
  • 114
3
votes
1 answer

Alternatives for Site Definitions in SharePoint Office 365

As we know that we cannot deploy site definitions on Office 365, Then what are the alternative approaches to achieve the site definitions ? I think Site provisioning and feature stapling can be the alternative options. Is there any other…
2
votes
1 answer

How to add files to a document library in a site definition in SharePoint 2007?

I'm doing a site definition for SharePoint 2007. When the site is created, a document library called "Folder2" is created also. Now, I need to add some documents to this document library and appear as items in the document library standard views. My…
jaloplo
  • 941
  • 2
  • 12
  • 32
1
vote
1 answer

Adding ContentTypes to a list with SiteDefinition

Using SharePoint 2010 and Visual Studio I have created a site definition (inheriting from the publishing site) which correctly creates all the required lists and now includes page instances in the "Pages" document library. The Pages use the…
Mauro
  • 4,531
  • 3
  • 30
  • 56
1
vote
1 answer

How to create SharePoint Site definition with custom lists using WSPBuilder?

I'm using WSPBuilder and I want to create a site definition this site definition contains some custom list definition (some list creates based on "Custom List" template). The site contains also some files the will copied to _layouts folder (which I…
Ahmed Magdy
  • 5,956
  • 8
  • 43
  • 75
1
vote
1 answer

WSS 3.0 Site Definition breaks when including MasterUrl in onet.xml

I have created a simple site definition for WSS 3.0 which uses a feature, this feature provisions a master page into the masterpage gallery. This works absolutely fine, and once I've created a site from the definition I can go into the masterpage…
Matt
  • 995
  • 1
  • 8
  • 18
1
vote
1 answer

How do I select which view when adding document library web part to a page in my site definition?

In my custom SharePoint 2010 site definition: I have a custom list instance in my site definition with multiple views... I have a page that I want to display one of the views on... In the page's Elements.xml definition, where can I select to show…
0
votes
1 answer

How do I define a search scope "Display Group" for a Site definition

Within each site collection, it is possible to group search scopes for display in the site collections search box. It is possible to modify this programmatically as well. Is it possible to define search scope "Display Groups" within a site…
Nat
  • 14,175
  • 5
  • 41
  • 64
0
votes
2 answers

Can I create a custom web-level site definition for use in a Publishing Portal site collection?

I originally created a site collection based on the "Publishing Portal" site definition. Now some time later I'd like to create my own site definition at the web scope level for certain subwebs. The problem is that my custom site definition is not…
Alex Angas
  • 59,219
  • 41
  • 137
  • 210
0
votes
1 answer

Update Wiki pages to display SharePoint Fields and not break Site Definition

I have a requirement to display SharePoint fields as a footer on only certain pages, so this rules out a master page change, and I haven't had any success with plain-old HTML. What I'm trying to display is the following…
SkinnyE
  • 198
  • 1
  • 9
0
votes
1 answer

SharePoint 2010: Limiting web-scoped features to specific site definitions

I have created a number of web-scoped features for my customised Blog site definition. All my features work fine, however they appear on the "Site Features" page of all sites in my site collections -- not just the blogs. Obviously they are only…
user592501
0
votes
1 answer

I am getting the problem while deploying the sharepoint 2010 Site Definition(List Def,List instance,Fields

Error occurred in deployment step 'Activate Features': Cannot complete this action. How to solvee the issue.Exactly while actiating the list instance feature i getting the above error.
0
votes
1 answer

Listview webpart in site definition makes it all fail

I have made a listdefinition which I've put in to a web scoped feature which I've added to WebFeatures in my sitedefinition. In my sitedefinition I've added a list view web part which shall display the list created through the listdefinition. My…
user557419
0
votes
1 answer

How to find Error in sharepoint 2010 Site and List Definitions

I am working with custom site,List,Fields and Contenttype. I have deployed my cusom list definition and i tried to create new item for my custom list there i am getting error with Correlation ID. There is no proper error log there. I dont no where…
1
2