Stack Exchange Network

Stack Exchange network consists of 174 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

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

0
votes
0answers
11 views

Update an Event receiver with csom

i just finished writing my methods for registering and deleting an event receiver from a sharepoint list. My questions is if it is possible to update an event receiver on a sharepoint list without ...
1
vote
1answer
18 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
20 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 ...
0
votes
1answer
97 views

How to deploy display templates with pnp?

On SP 2016 on-prem I am trying to write a console application to upload files, mainly display templates. I create a dummy site collection, and upload display template in "_catalogs/display templates/...
0
votes
2answers
132 views

Provision sharepoint list & columns without creating content type using schema.xml SPFX

https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/provision-sp-assets-from-package In the documentation it specifically told us to create fields, add to content type, then add ...
0
votes
1answer
44 views

SharePoint Search service error

I am trying to to install search service on SharePoint 2010 farm, and getting following error Errors were encountered during the configuration of the Search Service Application. In logs I found ...
1
vote
2answers
100 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" ...
0
votes
1answer
404 views

How create publishing page via CSOM or Powershell (SharePoint Online)

I would like to automate creation of a subsite and of a publishing site. Is it possible to create a publishing site and also dynamically add webparts to it e.g create also a document library on the ...
2
votes
1answer
244 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?
0
votes
1answer
60 views

SPFx, provisioning the DisplayName

I'm trying to provision a sitecolumn in Office365. I'm using the following syntax: <Field ID="{40f80a77-d528-45ae-aafe-e7b15ffa8e6a}" Name="LF_Company" DisplayName="Company" ...
0
votes
1answer
19 views

Service Applications not installing to correct server

I have set up a 2016 farm with 2xWFE, 2xAPP, 1xSQL. I'm trying to install and provision service applications specifically to APP1, but am having trouble. The "Visio Graphics Service" application only ...
4
votes
0answers
72 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 ...
2
votes
0answers
23 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
32 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 ...
3
votes
2answers
315 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 ...
1
vote
1answer
301 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
82 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
3answers
144 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
35 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
203 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
1answer
68 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 ...
0
votes
1answer
1k views

Allow multiple selections on Person or Group field

In SharePoint 2013 on-premise I am trying to create a Person or Group field to use it in a content type. My problem with the field is that I cannot select more than 1 person. I have been googling a ...
1
vote
2answers
442 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 ...
0
votes
0answers
40 views

Site Provisioning should work with both on-premises and Online

I'm new to site provisioning concept. Currently I'm looking for some POC's that should create a Site Collection with sub-sites. And it should be work with both Online & On-Premises. I got some ...
0
votes
2answers
187 views

Provision property bag for document library declaratively via sandbox

I have a no-code sandbox solution that I use to provision artefacts. One is a document library to which I want to attach a property bag to be set by a user via custom setting page. I learned that one ...
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 ...
0
votes
2answers
3k views

Provisioning One Drive Sites

My issue is similar to another posted here on the site but still happening(Office 365 pre-provision my site issue with Powershell). I've tried to run this on 3 different machines and 1 works, the ...
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 ...
0
votes
2answers
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....
3
votes
1answer
891 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" ...
0
votes
1answer
221 views

Setting default values for my new sub site during the sub site creation process

I have a site collection column named “Sub site Manager” which is associated with a security group named “Site Admis”. And inside our sub sites list, users select the related admin user when create/...
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 ...
2
votes
1answer
236 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
2answers
2k 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
724 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 ...
1
vote
1answer
614 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: Connect-...
0
votes
1answer
322 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
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
586 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
110 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! ...
1
vote
1answer
366 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
272 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
879 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
67 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
558 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
2answers
473 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 by ...
0
votes
1answer
102 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 site"...
0
votes
1answer
132 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
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 ...
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....