Link Search Menu Expand Document

Create a Record using Datasource

Tip: You can use Manage Records to create a Record without running the application.

For your users to create new Records in your application, you will need to add a Create a Record Datasource.
Note: To create a Record of the special User Data Type, you will need to use the Register User Datasource.

  1. Navigate to the Screen that you want to add the Datasource.
  2. Press the Datasource button.
  3. Press the + Create datasource button.
  4. Select the Kodika Server tab.
  5. Select the Data Type of the Record that you want to create.
  6. Select Create a Data Type Name.
  7. Bind the parameter values.
  8. Connect at least the parameters of the On Success response.
  9. Press Save.
  10. Close Datasource popup.
  11. Create a Start a Datasource Request Event Action and connect it to an Event.

Request Parameters

Updated Properties

Bind the properties of the new Record with values.

Responses

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 Record is created successfully.

Parameters:

  • New Record: The new record.

On Error

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

Parameters:

  • Error: A text with an error message.

When Offline

Called when the user has no Internet connection.

Parameters:

  • Error: A text with an error message.