Access Control
You have to go through a three-step form wizard to enable this
Control, i.e., Design, API & Advance. Let’s explain
these steps below:
1st Step – Design
This is the first step of the “Access Control” control form wizard. Here you are required to fill in the
following details:
-
Database Field Name (mandatory): Defines the name of the database field to which the component's data will be mapped and stored.
- Label Name: Specifies the display name or title for a field or control in the user interface.
- Column Width: Specifies the width of a column in a layout or grid system, allowing control over how much space the column occupies relative to others.
2nd Step – API
- Data API
-
Data Source: Select the data source from the available options: AI, HTTP, Workflow, No SQL, or RDBMS.
-
HTTP: Use the HTTP protocol for data fetching.
-
Data Connection: Configure the connection to the HTTP endpoint.
-
Method (mandatory): Select the HTTP method to be used, such as GET, PUT, POST, PATCH, DELETE, or POCO.
-
API URL (mandatory): Provide the URL of the API endpoint.
-
Query Parameters: Specify the query parameters to be appended to the API call.
-
Key: Enter the name of the query parameter.
-
Value: Provide the value for the query parameter.
-
Query Variable: Define a variable to dynamically populate the parameter.
-
Select Type: Choose the data type for the query parameter.
-
Headers: Configure the HTTP headers for the API call.
-
Name: Specify the header name.
-
Value: Provide the value for the header.
-
Others: Additional HTTP settings.
-
Enable raw query: Enable sending raw query data in the API call.
-
Enable raw query: Toggle to allow sending raw query data in the request.
-
Response Attribute: Define the attribute to extract data from the API response.
- Mapping
-
Title Field: Define the field used for the title in the form or display.
-
Icon Field: Specify the field that will hold the icon.
3rd Step – Advance
-
View Label: Label used when viewing the data or information.
-
Create Label: Label displayed when creating a new entry or record.
-
Update Label: Label shown when updating an existing entry.
-
Delete Label: Label shown when deleting an entry or record.
Click “Confirm” and “Access Control” control is
configured.