And I always get this result even when i tried different url format for Url property:
_Execute-PnPQuery : Invalid URL: Microsoft.SharePoint.Client.FieldUrlValue.
At line:1 char:1
My eventual goal is to set property "Parent_x0020_Page" for pages to "/sites/Wiki/Pages/Licensing, Vendors, and Contracts/Licensing.aspx".
I also tried next approach but it severs my url for url and description that breaks my url, the cause of this is commas so SharePoint thinks that i separated url and description by first comma.
$item["Parent_x0020_Page"] = "/sites/Wiki/Pages/Licensing, Vendors, and Contracts/Licensing.aspx"
I run next chunk of code:
And I always get this result even when i tried different url format for Url property: _Execute-PnPQuery : Invalid URL: Microsoft.SharePoint.Client.FieldUrlValue. At line:1 char:1
My eventual goal is to set property "Parent_x0020_Page" for pages to "/sites/Wiki/Pages/Licensing, Vendors, and Contracts/Licensing.aspx".
I also tried next approach but it severs my url for url and description that breaks my url, the cause of this is commas so SharePoint thinks that i separated url and description by first comma.
$item["Parent_x0020_Page"] = "/sites/Wiki/Pages/Licensing, Vendors, and Contracts/Licensing.aspx"
so eventually it becomes Description : Vendors, and Contracts/Licensing.aspx Url: https://company.sharepoint.com/sites/TechCorps-Wiki/Pages/Licensing TypeId: {fa8b44af-7b43-43f2-904a-bd319497011e}
Which version of the PnP-PowerShell Cmdlets are you using?
PnP PowerShell for SharePoint Online
What is the version of the Cmdlet module you are running?
Version : 2.20.1711.0
How did you install the PnP-PowerShell Cmdlets?
MSI Installed downloaded from GitHub