Mathias Osterkamp

Specialist – focus development Microsoft technology stack

PnP Powershell 2019 Documentation

PnP Powershell 2019 Documentation
PnP Powershell 2019 Documentation Microsoft’s Patterns and Practices (PnP) initiative is a set of community-driven guidelines, practices, and libraries that aim to help developers build better solutions on the Microsoft 365 and SharePoint platforms. As part of the PnP initiative, PowerShell commands have been developed to simplify the management and automation of tasks within these ecosystems. This collection of PowerShell cmdlets is known as Microsoft PnP PowerShell. In this article, we’ll explore the documentation resources available for Microsoft PnP PowerShell, providing developers with a valuable guide to mastering this powerful toolset.

Mysite - Redirects

Mysite - Redirects

Redirect Mysite to a modern Page Goal SharePoint 2019 OnPremise has still the classic MySite. To support a modern page you could build it on top of the default MySite host, but this is not the best way. With a redirect based solution you don’t change anything to existing code. Just build your new MySite features on a new page on a different WebApplication and SiteCollection based on modern theme. All important links should be redirected.

Powershell - Create Navigation

Powershell - Create Navigation

Managed Navigation with Powershell Goal Our goal is a complete setup for a test site collection with managed metadata navigation and existing pages with different levels. The challenge is the correct configuration for the site with powershell and also create the correct terms. With the script you can set the amount of navigation entries. Preparation We use SharePoint PnP Powershell Package to get help with some tasks. PnP Powershell 2019 Download CSOM dlls “Microsoft.

Site termgroup add contributor or manager

Site termgroup add contributor or manager

Add site collection term group Managers and Contributors using JSOM On client side for CSOM we have already a solution for adding managers or contributors for term groups. You can have a look here for the original article. ClientContext clientContext = GetClientContext(); var taxonomySession = TaxonomySession.GetTaxonomySession(clientContext); var termStore = taxonomySession.GetDefaultSiteCollectionTermStore(); var myTermGroup = termStore.Groups.GetByName("My Custom Terms Group"); //Add Group Managers myTermGroup.AddGroupManager("i:0#.f|membership|...@tenant.onmicrosoft.com"); //Add Group Contributors myTermGroup.AddContributor("i:0#.f|membership|...@tenant.onmicrosoft.com"); myTermGroup.AddContributor("i:0#.f|membership|...@tenant.onmicrosoft.com"); clientContext.Load(myTermGroup, group => group.GroupManagerPrincipalNames, group => group.

SPFX Showcase - MySite

SPFX Showcase - MySite

Modern Mysite on SharePoint 2019 I like to share some ideas from current project to have a modern MySite on a SharePoint 2019. It is completely created by a SPFX solution with multiple webparts. Unfortunately it is a customer project and i can not share any code. It comes with three webparts: Userprofile The user profile webpart shows your user profile information together with your profile picture in smart grouped categories.

SPFX 2019 - speed up npm performance

SPFX 2019 - speed up npm performance

Problem For current sharepoint projects we have huge node_modules folders. With every new project we have to download everything again. I started to look for a better solution and found pnpm. Solution pnpm is a complete custom package manager designed for better performance, but compatible with npm. Instead of heaving multiple packages it uses symlinks and reuses packages. They published a speed comparison, in some tests it is pretty fast, especial if you already have some projects.

SharePoint Server Subscription Edition - First Review

SharePoint Server Subscription Edition - First Review

New SharePoint OnPremise Version Four days ago a new SharePoint OnPremise version is released for preview. It is called SharePoint Server Subscription Edition and comes with some promising headlines: Today we’re excited to open the window to our vision, strategy, and future for SharePoint and provide a first look at the most recent developments with SharePoint Server. We designed SharePoint Server SE around the core principles of: Always up to date, Secure and reliable, Designed for you

Javascript - Publish classic list form webparts

Javascript - Publish classic list form webparts

Problem For classic SharePoint 2019 libraries you still need your EditForm.aspx and DispForm.aspx to edit your properties. If you like to make any changes, create another form page or repair it by code, it is a little bit more complicated. Most time you try to edit the “DefaultEditFormUrl” property of your list. If you try to change the “DefaultEditFormUrl” property it leads some time to the following error: Unable to find an SPForm matching URL.