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

learn more… | top users | synonyms

1
vote
1answer
523 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
873 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
25 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
123 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
772 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
48 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
451 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
54 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, ...
2
votes
0answers
186 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
126 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
72 views

XsltListViewWebPart: select default view

I'm trying to configure an XsltLisViewWebPart for deployment to a SharePoint site. I'm provisioning the views beforehand using: List oList = clientContext.Web.Lists.GetByTitle(list.Title); ...
1
vote
0answers
169 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
15 views

Insert Content by Search web part into display teamplate - CSWP - feature

Is there a way to insert a CSWP into a display template? I'm trying to provisioning a team site with some web parts. One of the web part should be an CSQP. In my display template I have a feature ...
0
votes
0answers
21 views

SharePoint 2013 Site Collection creation from a custom web service

I am trying to create a site collection via code, from a webservice. The code is as follows: try { String Url = String.Empty; ...
0
votes
0answers
130 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
16 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