Databinding is the process of displaying data calculated by various actions through components in the interface. In this learning content, we will perform databinding operations to simple components on form screens, SelectBox element and list screens.
Databinding is the process of displaying the data calculated by various actions through components in the interface. Let's take a personnel registration and update screen as an example.
In this screen, the data of the personnel for the update process is bound to the components on the screen through a SQL action, and the data contained in the SQL is displayed in these components. In this learning content, we will examine Databinding to Simple Components in Form Screens, Databinding to SelectBox elements in Form Screens, and Databinding in List Screens.
To perform this operation, the Value property in the Properties panel of the elements is used. The Symbol Picker in the Value property shows the different variables previously added to the related interface in groups.
These groups include; results of previously executed actions Action Results, variables passed to the interface as parameters Screen Input, fixed data Fixed Value, system variables Default, and so on.
Continuing with the example of adding a new personnel screen, let's assume that we are going to update the information of a personnel or create a new personnel. First, we need to define a Screen Input of Guid type called PersonnelPrm. This Screen Input is the key value of the personnel to be displayed in the interface. We need to run an Initial Action to access all the data of the relevant personnel. Let's create a SQL action named SelectPersonnelById for this Initial Action.
Then, let's perform the Data Bind operations of the elements on the user, that is, the personnel list screen, where we created the Page Init event setup in the previous learning content.
We will link the total number of ideas suggested by the users in the table in the Builder 2 course.
In this scenario, we linked data to an existing list screen design with a Page Init action added. If your screen design is not ready and you are following a data-first approach, you can quickly get a data-linked table design when you add the action you created first as an Initial Action and drag and drop it from the Action List panel to the screen.
In similar need situations, you can create the relevant action and provide Data Binding operations.
Databinding is the process of displaying data calculated by various actions through components in the interface. In this learning content, we will perform databinding operations to simple components on form screens, SelectBox element and list screens.
Databinding is the process of displaying the data calculated by various actions through components in the interface. Let's take a personnel registration and update screen as an example.
In this screen, the data of the personnel for the update process is bound to the components on the screen through a SQL action, and the data contained in the SQL is displayed in these components. In this learning content, we will examine Databinding to Simple Components in Form Screens, Databinding to SelectBox elements in Form Screens, and Databinding in List Screens.
To perform this operation, the Value property in the Properties panel of the elements is used. The Symbol Picker in the Value property shows the different variables previously added to the related interface in groups.
These groups include; results of previously executed actions Action Results, variables passed to the interface as parameters Screen Input, fixed data Fixed Value, system variables Default, and so on.
Continuing with the example of adding a new personnel screen, let's assume that we are going to update the information of a personnel or create a new personnel. First, we need to define a Screen Input of Guid type called PersonnelPrm. This Screen Input is the key value of the personnel to be displayed in the interface. We need to run an Initial Action to access all the data of the relevant personnel. Let's create a SQL action named SelectPersonnelById for this Initial Action.
Then, let's perform the Data Bind operations of the elements on the user, that is, the personnel list screen, where we created the Page Init event setup in the previous learning content.
We will link the total number of ideas suggested by the users in the table in the Builder 2 course.
In this scenario, we linked data to an existing list screen design with a Page Init action added. If your screen design is not ready and you are following a data-first approach, you can quickly get a data-linked table design when you add the action you created first as an Initial Action and drag and drop it from the Action List panel to the screen.
In similar need situations, you can create the relevant action and provide Data Binding operations.