Hi All,
I am trying to unhide the "Order" column for SharePoint list(SPO 2013), tried doing below script but it keeps giving me error :
Exception setting "Order": "The property 'Order' cannot be found on this object. Verify that the property exists and can be set."
$siteUrl = "https://mysite.sharepoint.com/sites/Test"; # YOUR SITE URL
Connect-PnPOnline -Url $siteUrl -UseWebLogin
$listName="JinivTest"
$fieldName="Order"
$formula="FALSE"
$field = Get-PnPField -List $listName -Identity $fieldName
[xml]$schemaXml=$field.SchemaXml
$schemaXml.Field.Order=$formula
Set-PnPField -List $listName -Identity $fieldName -Values @{SchemaXml=$schemaXml.OuterXml}Reference : https://www.eliostruyf.com/order-list-items-like-in-a-meeting-workspace-part-1/
Please guide.
Thanks in Advance, Jiniv Thakkar