Skip to content

Commit aa76d82

Browse files
hermansolbergVesaJuvonen
authored andcommitted
Update site-design-json-schema.md (SharePoint#4549)
Updated addNavLink and removeNavLink section to include instruction on how to manage links in the site footer. Also added the showFooter parameter to the setSiteBranding verb.
1 parent be5b611 commit aa76d82

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

docs/declarative-customization/site-design-json-schema.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ Use the **addNavLink** verb to add a new navigation link to the site QuickLaunch
610610

611611
- **url** – The url of the link to add.
612612
- **displayName** – The display name of the link.
613-
- **navComponent** – The component where to add the link, QuickLaunch or Hub. The default is **QuickLaunch**.
613+
- **navComponent** – The component where to add the link, QuickLaunch, Hub or Footer. The default is **QuickLaunch**.
614614
- **isWebRelative** – **true** if the link is web relative; otherwise, **false**. The default is **false**.
615615
- **parentDisplayName** – An optional parameter. If provided, it makes this navigation link a child (sub link) of the navigation link with this displayName. If both this and parentUrl are provided, it searches for a link that matches both to be the parent.
616616
- **parentUrl** – An optional parameter. If provided, it makes this navigation link a child (sub link) of the navigation link with this url. If both this and parentDisplayName are provided, it searches for a link that matches both to be the parent.
@@ -640,6 +640,12 @@ Use the **addNavLink** verb to add a new navigation link to the site QuickLaunch
640640
"url": "https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-overview",
641641
"displayName": "SharePoint Site Design Overview",
642642
"parentDisplayName": "Documents"
643+
},
644+
{
645+
"verb": "addNavLink",
646+
"url": "https://docs.microsoft.com/en-us/sharepoint/dev/declarative-customization/site-design-json-schema#add-a-navigation-link",
647+
"displayName": "About Site Footer",
648+
"navComponent":"Footer"
643649
}
644650
```
645651

@@ -651,7 +657,7 @@ Use the **removeNavLink** verb to remove a navigation link from the site.
651657

652658
- **url** – The url of the link to remove.
653659
- **displayName** – The display name of the link.
654-
- **navComponent** – The component where to remove the link from, QuickLaunch or Hub. The default is **QuickLaunch**.
660+
- **navComponent** – The component where to remove the link from, QuickLaunch, Hub or Footer. The default is **QuickLaunch**.
655661
- **isWebRelative** – **True** if the link is web relative; otherwise, **false**.
656662

657663
#### Example
@@ -758,6 +764,7 @@ Use the **setSiteBranding** verb to specify the navigation layout, the header la
758764
- **navigationLayout** – Specify the navigation layout as Cascade or Megamenu
759765
- **headerLayout** – Specify the header layout as Standard or Compact
760766
- **headerBackground** – Specify the header background as None, Neutral, Soft or Strong
767+
- **showFooter** – Specify whether site footer should show or not
761768

762769
#### Example
763770

@@ -766,7 +773,8 @@ Use the **setSiteBranding** verb to specify the navigation layout, the header la
766773
"verb": "setSiteBranding",
767774
"navigationLayout": "Megamenu",
768775
"headerLayout": "Compact",
769-
"headerBackground": "Strong"
776+
"headerBackground": "Strong",
777+
"showFooter": true
770778
}
771779
```
772780

0 commit comments

Comments
 (0)