Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

Overview

...

The purpose of this lesson is explain what’s an Action in Wayfast. This “Actions” are events that allow us to interact with our Project DB. To make this connection, it’s mandatory to associate an action with a control. In previous lessons, we analyzed how to create controls and how they are connect to dataset. Actions will be connected to those entities when the application user has to interact with the interface.     

What are the preconditions to create Actions?

Preconditions

We need to create a Dataset and Controls in our project’s page:

  1. Inputbox: This control will allow us to insert data into our Project DB

  2. Button: This control will trigger the insert and it should be connected to the Action that we are going to create

  3. Grid_column: This control will display the values that we have stored into our Project DB 

...

This is the Page’s structure in preview on the Application environment.  

Also a Stored Procedure is needed to save the input information in the frontend

...

...

Click “End Task” button related to Project’s requirement. This step is only needed for synchronization of the new Table and Stored Procedure generated in DB.

...

Now we have the new objects available in Wayfast Application to associate with Controls and Actions.

...