Link Search Menu Expand Document

Forgot Password

In order for a user to request a reset password in your application, you will need to create a new Datasource.

Reset Password Datasource

  1. Create a new Forgot Password Screen.
  2. Add a Text Field for the email.
  3. Press the Datasource button, and then the + Create datasource button.
  4. Select the Kodika Server tab.
  5. Select User Data Type.
  6. Select Forgot Password User.
  7. Bind the Email parameter with the respective Text Field.
  8. Connect at least the parameter of the On Success response.
  9. Press Save.
  10. Close Datasource popup.
  11. Add a Button and change its title to Request Password Reset.
  12. Create a Start a Datasource Request Event Action in the On Click Event of the Button and select the newly created Datasource.

Request Parameters


The email of the user that password reset email will be requested.


Note: If any of the validations failed, the On Success response is not called, and only the respective failure response is called.

On Success

Called when the reset password email has been sent.


  • Success: A Boolean with true value.

On Error

Called when there is an unknown error that is not handled by the other responses.


  • Error: A text with an error message.

When Offline

Called when the user has no Internet connection.


  • Error: A text with an error message.

Datasource automation

We would suggest setting the Datasource Spinner to ON and Auto start when Screen First Loads to OFF for this request, as we want to show a spinner during the request and execute the request only when the Button is pressed.