/
component.setField{}

component.setField{}

component.setField{} is used to update an existing custom field value. This API sets a new field value for a component’s custom field by passing the custom field name as the key and the value you wish to set.

For example, setting the custom field port value to 6543:

component.setField{key="port", value=6543}

You cannot create a new custom field using this function.

Related content

component.isStopping()
component.isStopping()
Read with this
Custom Fields
More like this
Using Custom Fields in Scripts
Using Custom Fields in Scripts
More like this
One model for how one can do custom fields
One model for how one can do custom fields
More like this
component.setTimer{}
component.setTimer{}
More like this
The Custom Fields
The Custom Fields
More like this