Skip to content

Commit b333f6a

Browse files
nanddeepnVesaJuvonen
authored andcommitted
Fixed Typo and added new section (#3918)
Resolved issue raised here: #3886 1. Corrected "Remove a navigation link" verb. 2. Added section - Handle special characters
1 parent fcc25e1 commit b333f6a

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

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

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,7 @@ Use the **removeNavLink** verb to remove a navigation link from the site.
634634

635635
#### JSON values
636636

637-
- **url** – The url of the link to add.
637+
- **url** – The url of the link to remove.
638638
- **displayName** – The display name of the link.
639639
- **isWebRelative** – **True** if the link is web relative; otherwise, **false**.
640640

@@ -668,6 +668,13 @@ Use the **removeNavLink** verb to remove a navigation link from the site.
668668
}
669669
```
670670

671+
#### Handle special characters
672+
The sites created in other languages than English may contain special characters. Use UTF-8 encoding to read the JSON content containing special characters.
673+
674+
```PowerShell
675+
Get-Content '<Folder_location_to_site_script>\site-script.json' -Raw -Encoding UTF8
676+
```
677+
671678
## Apply a theme
672679

673680
Use the **applyTheme** verb to add a custom theme to the site. For more information about how to construct and upload these themes, see [SharePoint site theming](site-theming/sharepoint-site-theming-overview.md). Note that this site action only works for applying custom themes; to apply one of our in-product SharePoint themes, create a copy as a custom one and reference that one.

0 commit comments

Comments
 (0)