Nov 13 2020 05:45 AM - edited Nov 13 2020 05:45 AM
Hi,
Is there a way with PNP PowerShell to change a modern lists (SharePoint Online) default DefaultEditFormUrl. I know we can get the current values, but looking for a way to set it to my own custom page.
Connect-PnPOnline -Url "https://tenanr.sharepoint.com/sites/x"
$list = Get-PnPList -Identity "listane" -Includes DefaultDisplayFormUrl, DefaultEditFormUrl, DefaultNewFormUrl
$list.DefaultDisplayFormUrl
$list.DefaultEditFormUrl
$list.DefaultNewFormUrl
Thanks :)
May 25 2022 03:01 AM