SharePoint.BuildingBlocks.Navigation
Building blocks to manage the navigation.
Clear Navigation
Remove all links from the top link bar and/or quick launch.
Input Fields
Name | Required? | Description |
---|---|---|
Quick Launch | optional | If set to true the item is added to the Quick Launch |
Top Link Bar | optional | If set to true the item is added to the Top Link Bar |
Url | optional | The url of the subsite or site collection. The url can also be specified with other context fields named 'Website' or 'CaseRootUrl'. |
Delete From Navigation
Deletes a navigation link from the top link bar or quick launch.
Multiple navigation items can be deleted by giving multiple titles and web addresses separated by a semicolon.
Input Fields
Name | Required? | Description |
---|---|---|
Parent Title | optional | The link will be added as a sub link under an existing navigation item. If the parent item is not found the new link will not be added. |
Quick Launch | optional | If set to true the item is added to the Quick Launch |
Title | required | Title of the navigation link. Multiple titles can be given separated by a semicolon. |
Top Link Bar | optional | If set to true the item is added to the Top Link Bar |
Url | optional | The url of the subsite or site collection. The url can also be specified with other context fields named 'Website' or 'CaseRootUrl'. |
Ensure On Navigation
Ensures a navigation link with the given properties on the quick launch and/or top link bar. Default a link is added as the last item on the navigation collection. When an item with the same title is found the address link is updated.
Multiple navigation items can be ensured by giving multiple titles and web addresses separated by a semicolon.
Input Fields
Name | Required? | Description |
---|---|---|
Parent Title | optional | The link will be added as a sub link under an existing navigation item. If the parent item is not found the new link will not be added. |
Previous Title | optional | The item will be added after the item with the given title. If the previous item is not found the new navigation item will be added as the last item. |
Quick Launch | optional | If set to true the item is added to the Quick Launch |
Title | required | Title of the navigation link. Multiple titles can be given separated by a semicolon. |
Top Link Bar | optional | If set to true the item is added to the Top Link Bar |
Url | optional | The url of the subsite or site collection. The url can also be specified with other context fields named 'Website' or 'CaseRootUrl'. |
Web Address | required | Address to which the item navigates. Addresses without http(s):// are handled as relative url's withing the SharePoint site. Multiple web addresses can be given separated by a semicolon. |
Ensure Quick Launch
Enables or disables the quick launch.
Input Fields
Name | Required? | Description |
---|---|---|
Quick Launch Enabled | optional | If set to false, there will be no quick launch on the site. |
Url | optional | The url of the subsite or site collection. The url can also be specified with other context fields named 'Website' or 'CaseRootUrl'. |