I’m trying to implement updating a custom profile field using a Connector and the Widget Service SDK (PUT method), and I’d appreciate guidance on the correct implementation approach.
Specifically:
-
What is the recommended way to update a custom profile field via the Widget SDK?
-
How should dynamic path parameters (e.g.,
{{userId}},{{field}},{{value}}) be configured in the connector? -
How should those parameters be passed from
sdk.connectors.execute()? -
If the field value contains JSON, what is the proper way to handle it?
It would be extremely helpful if someone could share a working example of:
-
The connector configuration, and
-
The corresponding
sdk.connectors.execute()implementation in the widget.
Looking forward to guidance and best practices.