Kuika's Select Box element is the element in your application that allows users to choose from a specific set of options. With Select Box, they can easily switch between the available options via a drop-down menu and quickly select the option they want. In this tutorial, you will learn how to use the Select Box element and how to configure your options.
This training content consists of the following topics:
You can add text inside the Select Box element. You can give role based authorizations to the element and set its visibility with show/hide/conditional options.
In order to transfer data to the Select Box element in the application development process with Kuika, you must first perform some operations in the Datasources module. You can transfer your data to Select Box by following the steps below.
2.1. Adding a New Table
2.2. Adding Columns
In the screen that appears, you will see a column named Id of Guid type created by Kuika by default.
2.3 Completing Columns
3. Creating a Custom Action
After the table creation process, you should create a custom action that will list the data in the Select Box element.
3.1 Adding New SQL Action
3.2 Naming The Actions
On the screen that opens, name your action and click “Next”. For the example scenario, you can use the name SelectDepartment for the action that will list the departments in the Select Box.
3.3 Using SQL Action
A SQL Editor will greet you on the screen that opens. In the SQL Editor, write the SQL query required for the listing. You can use the following query to create the SelectDepartment action to be used in the example scenario:
SELECT * FROM Department
In Kuika, you can quickly and easily create a Select query without writing any query expression. To create the listing action quickly and easily, click Tables on the left menu of the SQL editor screen. Hover over theDepartment table with the cursor and open the detail menu.
By following these steps, you can successfully transfer data to the Select Box element.
After completing the operations in Datasource view mode, open the UI Design module. Then, select the screen you want to work with the Select Box element. In order to transfer data to the Select Box element, you must first add the custom action you have created as “Initial Action” to the screen where the Select Box element will be located.
1. Adding Initial Action
Follow the steps below to add an “Initial Action”:
2. Adding Select Box Element
Then drag and drop one Select Box element to the workspace.
2.1. Click on a Select Box Element
Click on the Select Box element you dragged and dropped to enable data transfer.
3. Select Box Element Data Binding Options
By following these steps, you will have successfully transferred data to the Select Box element.
You can customize user access with “Anonymous Access” and “All Roles Access” authorization options on the screens and elements of your application. While “Anonymous Access” enables access without any account information query, “All Roles Access” provides access by verifying user account information.
For element level authorization, you can manage the security and user experience of your application by selecting the relevant element and editing the “Authorization” settings from the Properties panel.
It allows you to adjust the visibility of screens or elements. Visibility in Elements allows you to regulate visibility based on a specific state or condition. For each element, you can make it always visible, hidden, or visible and hidden depending on a condition.
Allows you to make elements editable.
By customizing your elements with the Styling Panel, you can create unique and impressive user interfaces in your web and mobile applications.
Kuika contains system actions such as Arithmetic, Authorization, Condition, Device, Export, Geolocation, Invers, Local Storage, Multi Language, Navigation, Notification, Payment, UI Control, Process Administration, Process Automation, Trigger, Process Automation, Process Administration and String Operations.
In addition to system actions, you can also use SQL actions that you create yourself.
To add actions to elements, you can use the “+ADD ACTION” button from the Properties panel on the right side.