Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

« Previous Version 2 Next »

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

See that the @Dato1 and @Dato2 are connected to the inputbox controls and the grid_column controls previously created in Wayfast. Once that the Stored Procedure is created, we can go back to Wayfast application and synchronize the SP in the environment.

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.

  • No labels