Replies: 1 comment
-
Hi @JamesMil, Add-PnPCustomAction -Name "Announcements" `
-Title "Announcements" `
-Location "ClientSideExtension.ApplicationCustomizer" `
-ClientSideComponentId "dd7ec4fd-97aa-44c5-b6ad-87535862e0bf"
- -ClientSideComponentProperties="{"listName":"Site Announcements", "siteUrl":"/sites/Contoso"}"
+ -ClientSideComponentProperties "{"listName":"Site Announcements", "siteUrl":"/sites/Contoso"}" Could you try execute below command: Add-PnPCustomAction -Name "Announcements" -Title "Announcements" -Location "ClientSideExtension.ApplicationCustomizer" -ClientSideComponentId "dd7ec4fd-97aa-44c5-b6ad-87535862e0bf" -ClientSideComponentProperties "{"listName":"Site Announcements", "siteUrl":"/sites/Contoso"}" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Receiving the attached error, any help appreciated
Error:
Add-PnPCustomAction : A positional parameter cannot be found that accepts argument
'-ClientSideComponentProperties={"listName":"Site Announcements",
"siteUrl":"/sites/Home-Test"}'.
At line:1 char:1
Beta Was this translation helpful? Give feedback.
All reactions