Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [provisioning]

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

8
votes
2answers
3k 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 ...
6
votes
1answer
113 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! ...
5
votes
1answer
4k 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 automatically....
5
votes
1answer
31 views

Is it viable to manage a SharePoint Online site via PnP templates in source control with automated deployments?

I am trying to gain some traction on a new SPO project and it's been indicated to me that they want to maintain the site programmatically with PnP templates (XML files basically). The idea is that we ...
5
votes
1answer
1k 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 ...
4
votes
1answer
1k 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 ...
4
votes
0answers
85 views

How to provision “Content types” in SharePoint online

Short version How do I provision Content Types and Site defs in Sharepoint online, onto my host web? I would prefer reusing existing content type definitions Long version We are migrating a fairly ...
4
votes
2answers
408 views

Fields missing from folder content types

I have several content types based on Folder with a couple of fields. Some of them are experiencing some strange behavior. The fields are there, and the data is being saved, because I can see them ...
3
votes
2answers
44 views

Disable Teams Site Creation

My mind is blown here. A regular use just created a Team from within MS Teams client application. This then created an O365 Group with inbox. It also created a new SharePoint site collection and ...
3
votes
1answer
1k views

Enable Labels (via Retention policy) in List: How?

In my SharePoint App, I want to provisioning a document library and set the following list setting: Information management policy settings > Set source of retention to "Library and folders" ...
2
votes
1answer
247 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 ...
2
votes
2answers
2k 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 After the "Delete" phase of the Project, it's stuck in " Waiting for Resources" - (...
2
votes
1answer
295 views

How to provisioning a SPFx web part using CSOM OnPrem (SP2016)

I have developed a SPFx web part. How do I provision the webpart part using CSOM to an OnPrem SharePoint 2016 server?
2
votes
3answers
1k 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 ...
2
votes
1answer
5k 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 ...
2
votes
1answer
3k 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 ...
2
votes
0answers
24 views

Consistency of Pages List Name between old Pages and new localized Paginas

We're in the process of converting a old SharePoint 2007 system to SharePoint 2013. We found that old sites have a pages list name in the url in English: "Pages", whereas newly created sites have it ...
2
votes
0answers
35 views

Provision a sharepoint hosted workflow to the host web via JSOM?

I know it's possible to create lists and groups in the host web. What I'd like to accomplish is to create a list on the host web and then be able to add a workflow to that list. Is this possible with ...
2
votes
0answers
49 views

How would I take a full inventory (architecture + content) of our entire SharePoint Intranet?

We have a SharePoint 2010 on Premise environment that I will be replacing soon - but first I want to just capture an inventory of everything we've currently got inside it. Both the structure of our ...
2
votes
1answer
599 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 ...
2
votes
0answers
295 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
564 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;" SetupPath="SiteTemplates\...
2
votes
0answers
157 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 ASP....
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" /...
2
votes
0answers
149 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 every time i am ...
2
votes
1answer
262 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 ...
1
vote
1answer
363 views

Difference between Elements.xml and Schema.xml

Let's say I have following elements in my solution: Site Column: <?xml version="1.0" encoding="utf-8"?> <Elements xmlns="http://schemas.microsoft.com/sharepoint/"> <Field ...
1
vote
1answer
70 views

Provisioning lists on site creation

What would be the way to go about this in SP2013/Online? I would like to have it so that if a user were to create a subsite, a custom "Comments" list is automatically created as well? I was thinking ...
1
vote
1answer
2k 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" ...
1
vote
1answer
228 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
672 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" encoding="utf-8"?&...
1
vote
1answer
91 views

Include new page layout in the page lauout drop down

I have created a page layout using module and aspx page MyLayout.aspx <%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> <%@ Register TagPrefix="SharePoint" Namespace="Microsoft....
1
vote
2answers
548 views

Examples Using XMLSharePointTemplateProvider

I am looking for examples or explanations for using the PnP XMLSharePointTemplateProvider. I have found exactly zero doing web searches. I am not clear on the constructor arguments for ...
1
vote
3answers
1k views

Error deploying taxonomy fields using the PnP provisioning engine

I am trying to deploy a multi-select taxonomy field using the PnP provisioning engine 1.5.915.0 and the termsetid token in the XML. If the term group and/or the term store have a space in the name (e....
1
vote
1answer
91 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
655 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 ...
1
vote
2answers
275 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
41 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 ...
1
vote
1answer
2k 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
2answers
1k 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 ...
1
vote
2answers
939 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 ...
1
vote
2answers
196 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.
1
vote
0answers
32 views

Update page after provisioning modern page

I'm using the Pnp framework to provision a modern site with some web parts on it. After adding Quick Links web part and open the page I see the text "We didn't find anything to show here." in that ...
1
vote
1answer
95 views

Provisioning Lookup field with reference to another provisioned list

I'm trying to provision two lists (List 1 and List 2). List 1 has a Title column and in List 2 i want to create a Lookup field with a reference to the Title column in List 1. The problem is that ...
1
vote
0answers
38 views

Teams -Reached catch method Error occurred while executing Code: GeneralException Message: Failed to start/restart provisioning of Team InnerError

I was trying to create Teams using Powershell script as below $GroupID = (New-Team -DisplayName $TeamName -AccessType Private -Description $TeamDescription).GroupId in general this code execute well ...
1
vote
2answers
216 views

Adding default webparts to pagelayout in office 365

I am trying to add a default webpart to PageLayout I tried using this <div class="col-3 col-md-3" id="sidebar"> <WebPartPages:ContentEditorWebPart webpart="true" runat="server" ...
1
vote
3answers
169 views

Solution to duplicate Site or Copy a site collection granularly

I'm a sharepoint admin and I'm receiving request everyday to duplicate a site or site collection. Site templates has limitations so I really want to have something to help me. I want to be able to ...
1
vote
1answer
36 views

What is the recommended way to provision a SharePoint portal using Visual Studio?

I'm needing to create a SharePoint portal with simple elements only like Document Libraries, custom application pages (some with Web Parts), and branding. The portal has around 5 subsites, each with ...
1
vote
0answers
216 views

SharePoint Online - Content type and required field issue

I'm quite desperate so let me reproduce my issue on SharePoint Online. I'm using Content Type Hub and I've published all content types to site collections (around 30 of them). Most of them work just ...
1
vote
0answers
24 views

How to create two child subsites one under the other by using web template?

I have this senario where I have to create a sub site and beneath that there will be another subsite created at the moment user creates the top subsite. Ex: Site1 (On siteCollection user will create ...