Forum Discussion
john john
Jan 25, 2019Iron Contributor
Method invocation failed because [Microsoft.SharePoint.Client.Field] doesn't contain a method named
We have a classic sharepoint team site collection. and we have a field named "AutomaticallyCreated" which is set a hidden inside the Create, Edit and Display forms. now i want to show the field insid...
fainpablo
Jan 25, 2019Brass Contributor
Hi,
Could you please try:
$customfield.SetShowInEditForm($true)
$customfield.SetShowInDisplayForm($true)
Instead of:
$customfield.ShowInEditForm($true)
$customfield.ShowInDisplayForm($true)