I'm trying to add quicklinks webpart with powershell. The webpart is created but the link is not displayed.
I managed to add many Web Parts using the minimum amount of Web Parts data, the json format complicates handling, but I am in trouble with the Quicklinks Web Part. Below is the code I tried using:
Add-PnPClientSideWebPart -Page $page -DefaultWebPartType "QuickLinks" -WebPartProperties @{title="QuickLinksTest";items=@(@{id=1;title="Google";sourceItem=@{url="https://www.google.com"};description="Description 1";altText="altText 1"})}
Can anyone help with this please?
Thank you.