-
Notifications
You must be signed in to change notification settings - Fork 1k
Site Script for associateListViewCommandSet always failed #7128
Copy link
Copy link
Closed
Labels
area:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devarea:site-designCategory: Site Designs/Site ScriptsCategory: Site Designs/Site Scriptshelp wantedLooking for someone to help with this issue (documentation fix, etc).Looking for someone to help with this issue (documentation fix, etc).type:archive-old-issueIssues which are closed as tool old for active workIssues which are closed as tool old for active worktype:questionQuestion... if answered, will be tagged as such.Question... if answered, will be tagged as such.
Metadata
Metadata
Assignees
Labels
area:docs-commentCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devCategory: Comment left on bottom of a docs page here: https://docs.microsoft.com/sharepoint/devarea:site-designCategory: Site Designs/Site ScriptsCategory: Site Designs/Site Scriptshelp wantedLooking for someone to help with this issue (documentation fix, etc).Looking for someone to help with this issue (documentation fix, etc).type:archive-old-issueIssues which are closed as tool old for active workIssues which are closed as tool old for active worktype:questionQuestion... if answered, will be tagged as such.Question... if answered, will be tagged as such.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Hi,
I have a SPO ListViewCommandSet extension which uploaded to the tenant app catalog and can successfully added in sharepoint sitecollections manully.
I wanna to install the app within the Sharepoint Site Design. But the task alway run failed. Can anyone help on this ?
Site Scripts:
{
"$schema":"schema.json",
"actions":[
{
"verb":"createSPList",
"listName":"Documents",
"templateType":101,
"subactions":[
{
"verb":"addSPFieldXml",
"addToDefaultView": true,
"schemaXml":"<Field ID="{a8793ace-8e95-4dca-8970-5bb2710f567a}" Type="Choice" DisplayName="Tag" Required="False" Format="Dropdown" StaticName="Tag" Name="Tag">NANAControl DocumentNon-Control Document"
},
{
"verb": "associateListViewCommandSet",
"title": "GPMSCommandSet",
"location": "ContextMenu",
"clientSideComponentId": "64ccd979-8814-4e31-9ddf-18b1b7198503"
}]
}
],
"bindata":{},
"version":5
}
Sharepoint Online Management shell result:
OrdinalIndex : 0
SiteScriptID : 61a69424-bafa-4955-9c03-ebb70eb1ae12
SiteScriptTitle : GPMS SiteScript 6
SiteScriptIndex : 0
ActionIndex : 0
ActionTitle : Create or update library "Documents"
ActionKey : 00000000-0000-0000-0000-000000000000
OutcomeCode : NoOp
OutcomeText : List with name Documents already exists.
OrdinalIndex : 1
SiteScriptID : 61a69424-bafa-4955-9c03-ebb70eb1ae12
SiteScriptTitle : GPMS SiteScript 6
SiteScriptIndex : 0
ActionIndex : 0
ActionTitle : Add list column "Tag"
ActionKey : 00000000-0000-0000-0000-000000000000
OutcomeCode : Success
OutcomeText :
OrdinalIndex : 2
SiteScriptID : 61a69424-bafa-4955-9c03-ebb70eb1ae12
SiteScriptTitle : GPMS SiteScript 6
SiteScriptIndex : 0
ActionIndex : 0
ActionTitle : Associate command set "GPMSCommandSet"
ActionKey : 00000000-0000-0000-0000-000000000000
OutcomeCode : Failure
OutcomeText : Something went wrong and we could not complete this action.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.