Multiple JSON Configuration Files
Overview
LiveTiles Intranet Hub now supports having a separate JSON configuration for a site collection. Before introducing this feature, there was only one JSON configuration per tenant. Now the administrators can provide a key for a site collection in order to have a separate configuration file for that respective site collection.
Prerequisites
-SharePoint Online Management Shell -PnP Package
Follow this tutorial for installing these prerequisites: Tutorial_PnP
Commands
In order for the tenant administrators to enable another configuration on a site collection, they would need to complete these steps:
Connect to the respective site collection:
Connect-PnPOnline -Url https://yourtenant.sharepoint.com/sites/yoursite
Enable scripts on the respective site collection:
Set-PnPTenantSite -Url https://yourtenant.sharepoint.com/sites/yoursite -NoScriptSite:$false
Set the name of the config key, that you want to be used in your respective site collection:
Set-PnPPropertyBagValue -Key MPHubConfigKey -Value name_of_the_config
The "-Key" property has to always be called "MPHubConfigKey". The "-Value" property represent the name of the new config for your site collection.