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

learn more… | top users | synonyms

0
votes
2answers
46 views

How do I provision a WikiPage with Visual Studio 2012

So far, I'm not able to do anything to provision a WikiPage with Visual Studio. The most recent avenue was to try calling SPWeb.Files.Add("dest.aspx", SPTemplateFileType.WikiPage); but ...
1
vote
1answer
435 views

WebProvisioned event receiver is firing twice

I am creating a SharePoint site from code behind using SharePoint object model. In the WebProvisioned event, I am creating the groups, enabling a few features. Everything is working fine, except the ...
1
vote
1answer
34 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
622 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 ...
0
votes
1answer
21 views

central site collection for provisioned files?

There are links to styles etc in master pages and default content delivered by web templates and content provisioning. Are there clear pros and cons of these files to a central site collection ...
0
votes
1answer
84 views

How modify default page library settings via feature?

I've created a custom web publishing template with a custom default page and it actually works! However, I need to customize the default Page Library that is provisioned. Settings include (but aren't ...
0
votes
1answer
351 views

Best practices for provisioning SharePoint 2013 sites / site collections with templates

I want to start prototyping a team or community site in 2013 on fairly standard intranet, with a view making it a template for the various departments. I am still revising the design for the ...
0
votes
1answer
39 views

How to provision a File with a DateTime Property set on [today]?

I'm able to provision a file in a document library via a module like this : <Module Name="myModuleName" SetupPath="SiteTemplates\BLANKINTERNET" Url="Pages" > <File Path="default.aspx" ...
0
votes
1answer
396 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
53 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
1answer
210 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 ...
2
votes
0answers
167 views

XsltListViewWebPart provisioning discrepancy SPLimitedWebPartManager AddWebPart versus manually adding

I've exported a XsltListViewWebPart with all of my settings to a .webpart file. I have added this to the webpart gallery in several site collections, I can edit a page add the webpart and it somehow ...
2
votes
0answers
122 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
0answers
122 views

Provisioning publishing pages with custom webparts in SharePoint 2013

I have a sandboxed solution where i provision publishing pages with custom web parts. Like this: <Module Name="CustomPage" Url="$Resources:cmscore,List_Pages_UrlName;" ...
0
votes
0answers
71 views

Why Web Parts placed inside Web Part Zones in a Page Layout gets removed during provisioning / deploy?

I have a pretty straightforward requirement. I need to embed a Default Web Part into a Web Part Zone in a Page Layout, this so all pages using the layout will automatically have the Page Layout. Now ...
0
votes
0answers
15 views

What are the best practices to choose the provisioning method?

What are the best practices/ ideal scenario to choose the provisioning method? Site Template Web Templates Site Definition