Every SharePoint site collection always contains multiple mostly hidden libraries (with exception of the site assets library) which are used for storing system data. This data is used to set specific settings of a site collection (e.g. layout, or available webparts).
Weiterlesen „Find SharePoint Hidden and System Libraries“Kategorie: SharePoint 2013
SharePoint Search Query Tool: InformationProtectionLabelId missing
The SearchQueryTool is an open source tool which helps to execute Search queries for SharePoint. This article explains how to find the special property InformationProtectionLabelId
.
CSOM: Check if a date is in a webs workdays and / or workhours
The following function checks if a datetime is in the workdays and / or workhours of a SharePoint web.
Weiterlesen „CSOM: Check if a date is in a webs workdays and / or workhours“
CSOM: Check if a web is the root web of a site collection
The following extension method checks if a web is the root web of a site collection:
Weiterlesen „CSOM: Check if a web is the root web of a site collection“
PNP PowerShell: Copy local term group from one Site Collection to another
The following function copies the local termgroups of one site collection to another site collection using the PNP PowerShell provisioning cmdlets.
The template is applied in memory using the Get-PnPProvisioningTemplate -OutputInstance parameter and the Apply-PnPProvisioningTemplate -InputInstance commands.
Weiterlesen „PNP PowerShell: Copy local term group from one Site Collection to another“
CSOM: Get ClientContext from absolute url
The following method shows how to get a ClientContext from an absolute url.
Weiterlesen „CSOM: Get ClientContext from absolute url“
CSOM: Get parent folder of a file
Since SharePoint 2013 the SharePoint Client API has a property to load the parent folder of a list item. For some unkown reasons this property does not work as intended.
Weiterlesen „CSOM: Get parent folder of a file“
CSOM: Delete List from quicklaunch „Recent“ node after creation
When creating a new list or document library in SharePoint your list will automatically be added to the „Recent“ tab of the quicklaunch navigation. In many cases this is not wanted.
Weiterlesen „CSOM: Delete List from quicklaunch „Recent“ node after creation“
CSOM: Exceptions when loading terms using LabelMatchInformation in Client API
You can load Terms using the SharePoint Client API. For this you need the LabelMatchInformation object.
Weiterlesen „CSOM: Exceptions when loading terms using LabelMatchInformation in Client API“
SharePoint: Disable Audit Logs on all Site Collections of a WebApplication
The following code snippet shows how to disable audit logs in PowerShell for all Site Collections of a WebApplication.
Weiterlesen „SharePoint: Disable Audit Logs on all Site Collections of a WebApplication“