Global Configuration
Configuration of global runtime behaviour with PowerShell. Properties can be set at Application or Farm level. Application level precedes Farm level. Properties are read at Application start up, so restart the Application (or iisreset), to apply your changes.
Hide/Show Code
modulerixNavigationGlobalConfigSiteURL
Configuration of a global Site Collection where configuration is stored. If this propertiy is not set, the configuration location is the current Site Collection.
Set the property at Farm level:
$val = "http://<site url>"
$prop = "modulerixNavigationGlobalConfigSiteURL"
$farm = Get-SPFarm
$farm.Properties.Add($prop, $val)
$farm.update()
Delete the property at Farm level:
$prop = "modulerixNavigationGlobalConfigSiteURL"
$farm = Get-SPFarm
$farm.Properties.Remove($prop)
$farm.update()
Set the property at Application level:
$val = "http://<site url>"
$prop = "modulerixNavigationGlobalConfigSiteURL"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Add($prop, $val)
$app.update()
Delete the property at Application level:
$prop = "modulerixNavigationGlobalConfigSiteURL"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Remove($prop)
$app.update()
modulerixNavigationGlobalMRUSiteURL
Configuration of a global Site Collection where data of opened nodes is stored. If this propertiy is not set, the configuration location is the current Site Collection.
Set the property at Farm level:
$val = "http://<site url>"
$prop = "modulerixNavigationGlobalMRUSiteURL"
$farm = Get-SPFarm
$farm.Properties.Add($prop, $val)
$farm.update()
Delete the property at Farm level:
$prop = "modulerixNavigationGlobalMRUSiteURL"
$farm = Get-SPFarm
$farm.Properties.Remove($prop)
$farm.update()
Set the property at Application level:
$val = "http://<site url>"
$prop = "modulerixNavigationGlobalMRUSiteURL"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Add($prop, $val)
$app.update()
Delete the property at Application level:
$prop = "modulerixNavigationGlobalMRUSiteURL"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Remove($prop)
$app.update()
modulerixNavigationGlobalSortSiteURL
Configuration of a global Site Collection where data of sorted nodes is stored. If this propertiy is not set, the configuration location is the current Site Collection.
Set the property at Farm level:
$val = "http://<site url>"
$prop = "modulerixNavigationGlobalSortSiteURL"
$farm = Get-SPFarm
$farm.Properties.Add($prop, $val)
$farm.update()
Delete the property at Farm level:
$prop = "modulerixNavigationGlobalSortSiteURL"
$farm = Get-SPFarm
$farm.Properties.Remove($prop)
$farm.update()
Set the property at Application level:
$val = "http://<site url>"
$prop = "modulerixNavigationGlobalSortSiteURL"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Add($prop, $val)
$app.update()
Delete the property at Application level:
$prop = "modulerixNavigationGlobalSortSiteURL"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Remove($prop)
$app.update()
modulerixNavigationGlobalFilterSiteURL
Configuration of a global Site Collection where data of filtered nodes is stored. If this propertiy is not set, the configuration location is the current Site Collection.
Set the property at Farm level:
$val = "http://<site url>"
$prop = "modulerixNavigationGlobalFilterSiteURL"
$farm = Get-SPFarm
$farm.Properties.Add($prop, $val)
$farm.update()
Delete the property at Farm level:
$prop = "modulerixNavigationGlobalFilterSiteURL"
$farm = Get-SPFarm
$farm.Properties.Remove($prop)
$farm.update()
Set the property at Application level:
$val = "http://<site url>"
$prop = "modulerixNavigationGlobalFilterSiteURL"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Add($prop, $val)
$app.update()
Delete the property at Application level:
$prop = "modulerixNavigationGlobalFilterSiteURL"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Remove($prop)
$app.update()
modulerixCustomSiteEnumeratorApplication
Configuration of a custom Site Enumerator Assembly to enumerate all Sites in a Application (See API description how to create a custom Site Enumerator). Deploy the Assembly to the GAC of all front servers. Insert in line 1 of the code your full Assembly name.
Set the property at Farm level:
$val = "modulerixCustomSiteEnumerator, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e658e32fd3e1726f"
$prop = "modulerixCustomSiteEnumeratorApplication"
$farm = Get-SPFarm
$farm.Properties.Add($prop, $val)
$farm.update()
Delete the property at Farm level:
$prop = "modulerixCustomSiteEnumeratorApplication"
$farm = Get-SPFarm
$farm.Properties.Remove($prop)
$farm.update()
Set the property at Application level:
$val = "modulerixCustomSiteEnumerator, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e658e32fd3e1726f"
$prop = "modulerixCustomSiteEnumeratorApplication"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Add($prop, $val)
$app.update()
Delete the property at Application level:
$prop = "modulerixCustomSiteEnumeratorApplication"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Remove($prop)
$app.update()
modulerixCustomSiteEnumeratorFarm
Configuration of a custom Site Enumerator Assembly to enumerate all Sites in the Farm (See API description how to create a custom Site Enumerator). Deploy the Assembly to the GAC of all front servers. Insert in line 1 of the code your full Assembly name.
Set the property at Farm level:
$val = "modulerixCustomSiteEnumerator, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e658e32fd3e1726f"
$prop = "modulerixCustomSiteEnumeratorFarm"
$farm = Get-SPFarm
$farm.Properties.Add($prop, $val)
$farm.update()
Delete the property at Farm level:
$prop = "modulerixCustomSiteEnumeratorFarm"
$farm = Get-SPFarm
$farm.Properties.Remove($prop)
$farm.update()
Set the property at Application level:
$val = "modulerixCustomSiteEnumerator, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e658e32fd3e1726f"
$prop = "modulerixCustomSiteEnumeratorFarm"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Add($prop, $val)
$app.update()
Delete the property at Application level:
$prop = "modulerixCustomSiteEnumeratorFarm"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Remove($prop)
$app.update()
modulerixDisableJQuery
Disables the script link for the jQuery library when the Navigation Web Part is rendered. Set this property when jQuery is already present in your Master Page.
Set the property at Farm level:
$val = "true"
$prop = "modulerixDisableJQuery"
$farm = Get-SPFarm
$farm.Properties.Add($prop, $val)
$farm.update()
Delete the property at Farm level:
$prop = "modulerixDisableJQuery"
$farm = Get-SPFarm
$farm.Properties.Remove($prop)
$farm.update()
Set the property at Application level:
$val = "true"
$prop = "modulerixDisableJQuery"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Add($prop, $val)
$app.update()
Delete the property at Application level:
$prop = "modulerixDisableJQuery"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Remove($prop)
$app.update()
modulerixDisableJQueryUI
Disables the script link for the jQuery UI library when the Navigation Web Part is rendered. Set this property when jQuery UI is already present in your Master Page.
Set the property at Farm level:
$val = "true"
$prop = "modulerixDisableJQueryUI"
$farm = Get-SPFarm
$farm.Properties.Add($prop, $val)
$farm.update()
Delete the property at Farm level:
$prop = "modulerixDisableJQueryUI"
$farm = Get-SPFarm
$farm.Properties.Remove($prop)
$farm.update()
Set the property at Application level:
$val = "true"
$prop = "modulerixDisableJQueryUI"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Add($prop, $val)
$app.update()
Delete the property at Application level:
$prop = "modulerixDisableJQueryUI"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Remove($prop)
$app.update()
modulerixAllowElevatedConfigWrite
Allows to write configuration data with the API with elevated privileges.
Set the property at Farm level:
$val = "true"
$prop = "modulerixAllowElevatedConfigWrite"
$farm = Get-SPFarm
$farm.Properties.Add($prop, $val)
$farm.update()
Delete the property at Farm level:
$prop = "modulerixAllowElevatedConfigWrite"
$farm = Get-SPFarm
$farm.Properties.Remove($prop)
$farm.update()
Set the property at Application level:
$val = "true"
$prop = "modulerixAllowElevatedConfigWrite"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Add($prop, $val)
$app.update()
Delete the property at Application level:
$prop = "modulerixAllowElevatedConfigWrite"
$web = Get-SPWeb http://<web url>
$app = $web.Site.WebApplication
$app.Properties.Remove($prop)
$app.update()
Write a Comment
comments powered by Disqus