The process of preparing, creating and managing an organized system.

learn more… | top users | synonyms

0
votes
1answer
667 views

WebProvisioned Event Receiver Firing Twice

I am creating sites and subsites with object model from a console app. And what i realized is, it fires twice for every newly created subsite. I checked from Sharepoint Manager if the event receiver ...
0
votes
1answer
190 views

Unable to get list “Calendar” list in feature while creating site

I want to create custom calendar list programatically. SPListTemplate template = web.ListTemplates["Calendar"]; var newListID = web.Lists.Add(fromTitle, description, template); But i cannot do ...
0
votes
3answers
216 views

Deploying to style library / site pages from a web application scoped feature

I am writing a web application-scoped feature which will provision a site collection and a small number of sites. The problem is that I have my own style files (.js, .css, images) and even some ...
2
votes
0answers
131 views

Create a new SharePoint Site using WCF instead of Sites.asmx - CreateWeb

I am trying to ascertain whether there is a WCF equivalent of the CreateWeb method in the sites.asmx Web Service to be able to create a new SharePoint site. I was under the impression that the ...
1
vote
1answer
28 views

Sharepoint 2010 - locate new site that haven't been checked in

If a user create a new site and just saves is without checking the site in, where's the location? I want to test what's happens if a farm administrator tries to publish a site that's not a "draft" or ...
0
votes
1answer
62 views

DRY and page layouts

Being a fan of DRY to write maintainable code I'm having some problems getting to terms with SharePoint development. Some information (e.g. GUIDs) is often repeated and spread out over several files, ...
0
votes
2answers
4k views

Document Library in Site Definition with custom content type

I am attempting to specify a custom content type onto a reference library which is being provisioned in a site definition but am so far failing. I have read:- Deploy document library with multiple ...
2
votes
1answer
1k 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" ...
0
votes
2answers
4k views

Include Javascript in Custom Page Layout (Sandbox Solution)

I provision custom page layout through elements.xml I want to add a javascript file to that page to be used by some webparts put on that page through elements.xml as well. In my custom page layout i ...
0
votes
1answer
2k views

Creating a sharepoint site definition using onet.xml and site templates

Im starting to develop a site definition using this tutorial http://vimeo.com/23670570 (which I found a good starting point. But lacks more detailed explanation). Everywhere I look in the onet.xml ...
0
votes
1answer
2k views

Creating SP 2010 site templates in Visual Studio

I have been tasked with creating site templates which when used will provision the required lists and templates. I have used this tutorial so far http://vimeo.com/23670570 and managed to make it work ...
2
votes
0answers
136 views

Site is Provisioned but Content Type List is still empty

I have this feature that I am trying to run in order to configure a site, this feature among other things creates pages based on content types, etc. The problem I am facing is that everytime i am ...
1
vote
2answers
186 views

Provision a file through a module (CAML) and choose its Content Type

How do you provision a file through a module (CAML) and choose its Content Type? Is it even possible? The normal behavior for a new item is to get the default content type.
0
votes
1answer
263 views

SharePoint 2007 - Creating a web application in C# gives Error Access Denied at Provisioning

I am trying to create a SharePoint web application (on SharePoint2007) in C#. How differently I tried, it ends up with the same access denied error in the Provisioning step. The error message does not ...
1
vote
1answer
208 views

error 0x80070055 when provisioning a site collection with Document Center or Record Center

In QC we are getting 0x80070055 error when provisioning a site collection with web template Document Center or Record Center template. Did some googleing and learned this error is due to dup guid in ...
0
votes
1answer
215 views

Site Provisioning in Hosted Environments

I am looking for a solution that would allow me to provision sites, in environments where I don't have server access (hosting, Office 365). My issue: I need to provide site collections or sites to my ...