Types¶
For none Mercury installations tenant properties can be configured using PowerShell.
Warning
You must be part of the Owners group of the tenant or site app catalog to set the properties.
Types are the types of content available for the panoramSP webpart to be able to search again.
Types determine what sources, filters and display templates can be used.
The webpart will have a list of default enabled types, to enable/ disable types use the list below.
PowerShell¶
Before adding the properties ensure you have PnP PowerShell installed: PnpPowershell
Connect to your tenant, run:
If you are connecting to the site app catalog change the URL to the site.
- Copy the below JSON into your preferred editor.
[{"Key":"audio","Enabled":true},{"Key":"contentPages","Enabled":true},{"Key":"documents","Enabled":true},{"Key":"events","Enabled":true},{"Key":"images","Enabled":true},{"Key":"listItems","Enabled":true},{"Key":"news","Enabled":true},{"Key":"people","Enabled":true},{"Key":"sites","Enabled":true},{"Key":"videos","Enabled":true}] - Replace add the values for each property
- To add multiple values copy the first item including the {} and add comma after the closing }. Then paste the first item after the comma.
- Copy the below into the same editor and replace the everything between the "" for the value with the above.
- Change the Scope to Site or Tenant depending if you are adding the property to the site or tenant app catalog.
- Copy the new value, paste into your terminal and run the command.
For docCentrum installations add the below to the list of types: