Skip to main content

Advanced

Specialized commands for custom data responses, authentication flows, and development tooling.


CustomResponse

Returns a custom data object to the frontend.

When to use: Sending arbitrary payload data back to the frontend — most commonly used with the onGetCustomResponse event for autocomplete or dynamic field population.

JSON Response:

{
"feCommand": {
"CustomResponse": {
"items": ["Option A", "Option B", "Option C"]
}
}
}

Parameters:

  • (any object) - Any serializable object the frontend is expecting