2
votes
Is it viable to manage a SharePoint Online site via PnP templates in source control with automated deployments?
This is a fairly common workflow, one I've used in multiple projects. The templates can be safely repeatedly deployed to the same site but watch for templates that do upgrades to existing sites, the ...
2
votes
Accepted
Difference between Elements.xml and Schema.xml
I think the accepted answer you're pointing is not completely accurate.
The question raised in that post is more probably "Why do all examples I see insert the fields twice?" instead of "Why do I need ...
2
votes
Accepted
SharePoint PnP PowerShell Provision world clock webpart on Modern page
I would add the web part as custom using the ID, for example:
Add-PnPClientSideWebPart -Page $homePage -Component "b519c4f1-5cf7-4586-a678-2f1c62cc175a" -Section 1 -Column 1
You can find the ID by ...
2
votes
Accepted
Not able to browse PnP PowerShell documentation on Microsoft site
PnP PowerShell documentation migrated to new URL.
This is new URL: PnP PowerShell documentation.
You can find the cmdlets under the Cmdlets tab.
Related thread: Not able to access PnP PowerShell ...
1
vote
Accepted
SPFX provisioning list, how to index column?
Make sure in the XML definition of the column to make the parameter Indexed="TRUE". That way once it's added to the list it will automatically appear as indexed on the list.
1
vote
How to include folders in document libraries when provisioning from a template
By default GetProvisioningTemplate method will not support extracting Folder information from library.
For that you need to create custom extensibility handler and write your own logic.
I have created ...
1
vote
Accepted
URL to provision Microsoft New Employee Onboarding sites
The New Employee Onboarding (NEO) sites can be provisioned from here:
NEW EMPLOYEE PRE-ONBOARDING SITE
NEW EMPLOYEE CORPORATE ONBOARDING SITE
NEW EMPLOYEE DEPARTMENTAL ONBOARDING SITE
1
vote
Creating a channel on microsoft teams with site design schema
Agree with Ganesh Sanap. Per my understanding, this requirement is currently not supported.
1
vote
Accepted
Creating a channel on microsoft teams with site design schema
I don't think it is possible using site design script.
You can check currently supported list of actions at: Site design JSON schema
1
vote
Accepted
Can I set List Validation Settings programmatically?
You can use the below code to set validation for a list field using JSOM,
$(document)
.ready(function()
{
SP.SOD.executeFunc('sp.js', 'SP.ClientContext', SetValidation);
})...
1
vote
Programatically define document set default view
(At least today) this is quite easy, albeit that indeed no dedicated function exists. But one can set the default welcome page view combining PnP and XML:
$welcomePageView = Get-PnPView -Identity $...
1
vote
Accepted
Never ending site creation
You can perform Test-SPOSite command to know whether those site collection is created under your tenant, if you get any unknown error then you can conclude that those site collection are not created ...
1
vote
Accepted
Include new page layout in the page lauout drop down
You are using RootWebOnly="TRUE" which will only show the page layout on the top level site of the Site Collection. Also it looks like you are missing some values from your elements file. This is an ...
1
vote
Disable Teams Site Creation
Users probably create this Team Site on https://company.sharepoint.com/_layouts/15/sharepoint.aspx right?
For hiding this option go:
SharePoint Online Central Administration > Settings > Site ...
1
vote
Accepted
How to deploy display templates with pnp?
I did some research on this and it seems it is not yet included in PnP Powershell. The suggestion was raised, but no inclusion in pnp-powershell till date for supporting display templates.
Issue ...
1
vote
Accepted
Provision sharepoint list & columns without creating content type using schema.xml SPFX
The sharepoint framework assets provisioning model relies on the feature framework provisioning model (a subset of it).
It's generally a best practice to leverage site columns and content types for ...
1
vote
How create publishing page via CSOM or Powershell (SharePoint Online)
PublishingPageInformation publishingPageInfo = new PublishingPageInformation();
publishingPageInfo.Name = pageFileName // Set file name here;
publishingPageInfo.PageLayoutListItem = layout // Url of ...
1
vote
How to provisioning a SPFx web part using CSOM OnPrem (SP2016)
First, Set up your SharePoint client-side web part development environment
Install developer tools
Install NodeJS version 6.x.
Install a code editor. You can use any code editor or IDE that ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
provisioning × 117sharepoint-online × 29
2013 × 14
powershell × 9
sharepoint-enterprise × 8
2010 × 8
content-type × 8
pnp-powershell × 8
development × 7
web-part × 7
site-template × 7
spfx × 6
pnp × 6
site-definition × 6
list × 5
web-template × 5
sharepoint-server × 4
csom × 4
spfx-webparts × 4
site-collection × 4
feature-activation × 4
xslt-list-view-web-part × 4
pnp-provision × 4
feature-stapling × 4
event-receivers × 3