formData.setSaveEndpoint

Overrides the default save mechanism of the form and replaces it with a call to a given endpoint.

This is useful if you wish to manipulate the data before saving it to the database or if the current user doesn't have writing privileges on the form's entity, by running a custom on-demand automation script instead of the default save function.

Syntax

Copy
formData.setSaveEndpoint(endpointName: string): void
 
Parameter Description
endpointName Endpoint of the on-demand automation script that overrides the default save mechanism.

Example

For more information on how to override the default save mechanism, see the FintechOS Studio User Guide.