Nov 25 2016 12:48 AM
Is it possible to add a description to the field in a custom list using Add-PnPField? Or does anyone have a way of programmatically adding a description after the field has been created.
Nov 25 2016 01:02 AM
Hi @Matt Munslow,
The description seems to be missing.
Maybe a bit of a heavy way of doing this but you could use
Get-PnPProvisioningTemplate -Out test.xml
Then update the xml by editing it manually
Apply-PnPProvisioningTemplate -Path test.xml
I'm assuming that you prefer to stick to PowerShell.
Nov 25 2016 06:30 AM - edited Nov 25 2016 06:31 AM
This works:
$field = Get-PnPField -List Risks -Identity Likelihood
$field.Description
$field.Description="This works"
$field.Update()
Nov 24 2022 08:14 AM