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

learn more… | top users | synonyms

4
votes
2answers
76 views

Upload Master Page / Page Layouts using PowerShell

I want to know how to provision a page layout using PowerShell (CSOM) for Sharepoint Online? Any information,examples etc are welcome. I know this can be done using SharePoint hosted App as well. I ...
2
votes
1answer
31 views

How to create a feature stapler for all webtemplates?

I have created a delegate control and try to provision it to all new site collections. It is working now only for the web template "MySite". How to make it possible to provision this feature for all ...
0
votes
1answer
23 views

“Failed to instantiate file from module: The specified list does not exist.” when deploying file through module

I am trying to deploy two files to a custom list. I created two features for this: one that holds the list definitions along with the module and one that contains the list instances. Both are in the ...
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 ...
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 ...
1
vote
1answer
28 views

SharePoint Online - Hidden site collections

We use Powershell with CSOM to remove and provision site collections in SharePoint Online during the development phase. We use the Powershell commands provided by the PnP team like this: ...
0
votes
1answer
64 views

2013 Sharepoint-Hosted App Masterpage Provisioning Problem

Here is the JavaScript I'm currently using to set my Masterpage as the default Masterpage within my site. I'm running into a problem where I receive the onQuerySucceeded message after deploying the ...
1
vote
1answer
30 views

Problems breaking inheritance and giving permission to manager

By using feature stapling we activate a feature that creates a custom list on a users profile in my site web-application each time a new my site (site collection) is created for a user. We want to ...
1
vote
1answer
99 views

How to Change QuickLaunch During Site Creation

I have successfully created a web template as a farm solution on a SharePoint 2013 on premises farm and can use it to deploy site collections as well as subsites. In the web template I have used a ...
6
votes
1answer
45 views

Provisioning MySite with feature that creates library with content type from CT hub

I'm having a problem when provisioning a new user's MySite. I'm trying to activate a feature that adds library / lists to the current user. The library / list should use a content type from the hub! ...
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 ...
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
2answers
131 views

Reference problem when trying to replace a master page file while keeping the original in CSOM

I have some logic that does some custom file provisioning in CSOM. It basically tries to upload various files located on a provided-hosted (Azure) site to mapped locations in the Sharepoint host site ...
1
vote
1answer
233 views

Change Content Type for SharePoint 2010 Wiki to Create Custom New Page

Here is what I want to accomplish: Inside of a Wiki Library, user says they need a new page and creates one using the [[ ]] syntax. Then when the user clicks that new link, they are asked to create ...
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 ...
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 ...
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
57 views

Clone site collection vs web templates provisioning (team site)

What's the drawback of cloning existing team sites? Fist I created team sites based on web templates, but after a while with tons of changes from the client I'm thinking of just cloning a "team ...
0
votes
1answer
60 views

Wrong web part when trying to insert custom Content by Seach web part CSWP - visual studio

I'm trying to provisioning a content search web part. I've made a site feature and a standard web part (xml and webpart file). When I activate the feature I get the web part but it's not a Content ...
1
vote
1answer
34 views

What approach should I take to update provisioned / existing team sites

I'm provision team sites based on web templates that are provisioned from a "request" list in SharePoint. (timerjob) I know that there would be some changes to the team sites, but what's the best ...
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; ...
2
votes
1answer
1k views

SharePoint 2013 High-Trust App - Site Collection Provisioning

Hi I am trying to get an app done to provision a Site Collection. The vision is to allow the user to enter important details and then click a button and have the Site Collection created ...
0
votes
1answer
343 views

How to provision XsltListviewwebpart programmatically

I want to add Xsltlistviewwebpart with some pre difened property(like list,view,zoneid) and also apply xsl to it.Does anyone has any example/code sample to show how can it be achieved. Thanks for ...
0
votes
1answer
73 views

How do you tell if a site (SPWeb) was unsuccessfully provisioned programmatically?

I have an application that is running periodically using the task scheduler. The Application gets a list of projects from a database and checks to see if there is a corresponding sub-site in the ...
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); ...
1
vote
2answers
561 views

XsltListViewWebPart provisioning of Community Discussion list is incorrect

I'm creating a SharePoint 2013 sandbox solution. On a Community site, OTB you have the Community Discussion list displayed on the home page. The view is based on Subject view. This gives you the graph ...
1
vote
1answer
807 views

The SharePoint Server Publishing Infrastructure feature must be activated at the site collection level before the Publishing feature can be activated

Ive created a very simple custom site provisoning provider as a test and im having some problems and cant figure out why. Basically at this moment all the site provisioner does is enable publishing ...
1
vote
1answer
581 views

How to provision file to SharePoint document library?

We have added a VS module and foll. is the elements.xml:- <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Module Name="Module1" ...
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
1answer
24 views

Locating columns that have been added to the base document type farm-wide

We have a legacy SP2010 farm (originally migrated from SP2007) that long ago had two metadata columns added to the base document type. We wish to remove them because they cause "duplicate field" ...
1
vote
2answers
484 views

Font symbol (Wingdings3) not working within SSRS ReportViewer Webpart

We have an SSRS report that uses the Wingdings3 font for rendering arrow signs in a table. In the SSRS Preview pane, the table renders fine: However, on the Sharepoint page where the report is ...
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 ...
1
vote
2answers
511 views

Provision list view for discussion board

I have provisioned a publishing page through a feature and andded an instance of a discussion board web part to the home page, this works fine. How can I make sure the web part chrome is set to ...
5
votes
1answer
654 views

From templates to remote provisioning (with self-service site creation enabled)

How to allow users to apply branding to new site collection (when self-service site creation is enabled) without having any code, solutions or features running server-side? The requested ...
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
2answers
295 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
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
637 views

Project Web App is stuck on: Waiting for resources

While trying to unprovision a PWA in order to move the DB to a new SQL Server. I followed the following article: http://technet.microsoft.com/en-us/library/ff961887(v=office.14).aspx After the ...
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
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;" ...
4
votes
1answer
735 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 ...
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
152 views

Calculated columns, columns names and localization

I provision a list in SharePoint 2010 with two date fields: one for a start date and one for an end date. I would like to add a third column for the duration. Naturally, I could add a calculated ...
1
vote
1answer
138 views

How can I provision the search center to my visual studio solution?

How can I provision the search center to my visual studio solution? I have edited my page layout and master page to be able to have the search center in the maincontent of my site collection. Maby ...
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 ...
1
vote
1answer
544 views

aspx page in module and ghosted web parts

I am making a webtemplate. This webtemplate activates a hidden feature which contains a module, deploying the default.aspx page. The module looks like this: <?xml version="1.0" ...
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 ...
0
votes
1answer
183 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 ...