Implement setValue in PCF Custom Control

995 Views Asked by At

My custom control does not react to getAttribute("abc").setValue("123") from form js.

Do I have implement something in PCF Custom Control code?

1

There are 1 best solutions below

0
On

Pls verify these.

  1. Debug and see whether the updateView() in PCF index.ts is hitting, your control will be rendering there to get updated for any change in its property bag
  2. Validate you have usage="bound" for the property in ControlManifest.Input.xml file