Skip to content

Commit 77a153a

Browse files
authored
Update site-design-json-schema.md
There's a mismatch between the documentation and the Schema validation, the operation will fail if you dont have the ClientSideExtension.ListViewCommandSet. part first
1 parent b190054 commit 77a153a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ Associates a ListViewCommandSet to the list
432432
#### JSON values
433433

434434
- `title`: The title of the extension.
435-
- `___location`: A required parameter to specify where the command is displayed. Options are: ContextMenu or CommandBar.
435+
- `___location`: A required parameter to specify where the command is displayed. Options are: ClientSideExtension.ListViewCommandSet.ContextMenu or ClientSideExtension.ListViewCommandSet.CommandBar.
436436
- `clientSideComponentId`: The identifier (GUID) of the extension in the App Catalog. This property value can be found in the manifest.json file or in the elements.xml file.
437437
- `clientSideComponentProperties`: An optional parameter, which can be used to provide properties for the extension instance.
438438

@@ -466,7 +466,7 @@ Associates a ListViewCommandSet to the list
466466
{
467467
"verb": "associateListViewCommandSet",
468468
"title": "HelloWorld",
469-
"___location": "CommandBar",
469+
"___location": "ClientSideExtension.ListViewCommandSet.CommandBar",
470470
"clientSideComponentId": "13234283-d6c2-408f-a9ef-31a920c8ae78",
471471
"clientSideComponentProperties": "{\"sampleText\":\"added by a site template\"}"
472472
}

0 commit comments

Comments
 (0)