Field Customizer extension for list column

New Contributor

Dear friends,


I have created a field customizer but it needs to have a site column as per the documentations. I have got to apply to an existing list column, is there a way to do that? Please help.


Thanks in advance.

1 Reply

You can associate FieldCustomizer to existing list field by setting 'ClientSideComponentId' property of target list field with value of FieldCustomizer Id. You can do that either CSOM/REST or PowerShell. Below is sample code using PnP PowerShell.


Connect-PnPOnline -Url '<SiteURL>' -Credentials (Get-Credential)
$targetList = Get-PnPList -Identity "<List Title>"
$targetField = Get-PnPField -List $targetList -Identity "<Field Internal Name>"
$targetField.ClientSideComponentId = "<FieldCustomizer ID>"
$targetField.ClientSideComponentProperties = "<FieldCustomizer properties>"