Forum Discussion
Can SPFX field customizer be applied to managed metadata type columns?
In that case, you can describe more on SPFx field customizer which you have created and share the code and let us know what is not working exactly.
- LaxmikantB2Sep 09, 2022Copper Contributor
kalpeshvaghela Forgot about business logic as of now. Lets confirm and test whether Field customizer can be applied to managed metadata column or not?
I have a managed metadata column having internal name - SAEFSecurityClassification . I just want to show some text as of now. For example: field sampletext:field value.
my on render cell code is :public onRenderCell(event: IFieldCustomizerCellEventParameters): void {// Use this method to perform your custom cell rendering.const text: string = `${this.properties.sampleText}: ${event.fieldValue}`;console.log(text);event.domElement.innerText = text}Its not working at allm however its very simple logic. same code working on other field. i am not getting anything is log also.
PS: I have defined sampletext and internal field name as well as library URL is serve.json file.
Let me know if you need any other details.- LaxmikantB2Sep 13, 2022Copper Contributorkalpeshvaghela Any inputs for my query?