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

learn more… | top users | synonyms

0
votes
2answers
36 views

How to trigger some custom c# code when a new site collection is created? Feature Stapling, delegated control?

I am using sp 2013. I have some custom code which is adding some webpart to the welcome page. I would like to execute this code for each new site collection depending on a template (mysites). Someone ...
2
votes
1answer
52 views

SharePoint Apps : Who can see it in “Site contents”?

Here is a good sample project that explains how to use APPS to provision custom components on sites in SharePoint online with custom fields, content types etc. In brief, the app explained in the video ...
1
vote
1answer
98 views

Permission issue creating site collection from service application

We have a custom service application set-up which is tasked with the creation of site collections. It uses the blank site template for this, on which we want to activate several of the out of the box ...
1
vote
1answer
2k 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 ...
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
1k 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
37 views

Provision SharePoint Site using Data stored in List via Powershell

I have a custom list where users submit there request for new site, which stores, information such as Site Name, Site url, template type, Size of the site, Site Owners etc. Can I use powershell ...
0
votes
1answer
202 views

WebPartConnection via XML based Provisioning

I can provision the following on a page via XML-based provisioning: Query Filter webpart List View webpart I am trying to connect the ListView webpart to the Query Filter webpart so I can filter ...
0
votes
1answer
30 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
311 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
93 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
631 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 ...
2
votes
0answers
228 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
324 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;" ...
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
0answers
356 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); ...
0
votes
0answers
36 views

Set welcome page when site created

I have a custom site definition. When site created I have an event receiver it will activate related features. After features have been activated I set my welcome page. public override void ...
0
votes
0answers
26 views

Creating Web Application from Web Api Service - Access denied error

I have a method that creates a SPWebApplication and it works just fine from a console application, but when I put it in my Web API service I get "Access denied" error. The web service uses the same ...
0
votes
0answers
115 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
242 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
17 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