CMS
You have to go through a two-step form wizard to enable this
Control, i.e., Design & API. Let’s explain these steps below:
1st Step – Design
-
Database Field Name (mandatory): Defines the name of the database field to which the component's data will be mapped and stored.
-
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.
-
Chat GPT Max Tokens: Specify the maximum number of tokens (words or characters) the Chat GPT model can generate in a single response.
2nd Step – API
- Save
-
Choose Data Source: Select the data source to connect to, such as AI, HTTP, Workflow, No SQL, or RDBMS.
-
HTTP: Configure the HTTP connection settings to interact with APIs or services.
-
Data Connection: Specify the connection details for accessing the data.
-
Method (mandatory): Choose the HTTP method, such as GET, PUT, POST, PATCH, DELETE, or POCO.
-
API URL (mandatory): Enter the endpoint URL for the API request.
-
Query Parameters: Provide the necessary parameters to filter or modify the API request.
-
Key: Define the parameter name.
-
Value: Specify the value associated with the parameter key.
-
Query Variable: Map dynamic variables for the query.
-
Select Type: Choose the data type for the query parameter.
-
Headers: Add key-value pairs to specify additional information for the API request.
-
Name: Define the name of the header.
-
Value: Provide the value for the header.
-
Others: Configure advanced options for the HTTP request.
-
Enable raw query: Enable sending raw query strings for custom requests.
-
Response Attribute: Define the specific attribute or key to retrieve from the API response.
- Get
-
Choose Data Source: Select the data source for the operation, such as AI, HTTP, Workflow, No SQL, or RDBMS.
-
HTTP: Configure an HTTP connection to interact with external APIs or services.
-
Data Connection: Specify the connection details for accessing the data.
-
Method (mandatory): Select the HTTP method to use, such as GET, PUT, POST, PATCH, DELETE, or POCO.
-
API URL (mandatory): Enter the endpoint URL for the API request.
-
Query Parameters: Provide parameters to customize the API request.
-
Key: Define the name of the query parameter.
-
Value: Specify the value for the query parameter.
-
Query Variable: Map variables dynamically for query execution.
-
Select Type: Choose the type for the query parameter, such as string or number.
-
Headers: Add custom headers to the API request.
-
Name: Specify the header name.
-
Value: Provide the corresponding value for the header.
-
Others: Additional configuration for the HTTP request.
-
Enable raw query: Allow the use of raw query strings for custom requests.
-
Response Attribute: Specify the attribute or key to extract from the API response.
- Image Upload
-
Choose Data Source: Select the data source for the operation, such as AI, HTTP, Workflow, No SQL, or RDBMS.
-
HTTP: Configure an HTTP connection to interact with external APIs or services.
-
Data Connection: Specify the connection details to access the data.
-
Method (mandatory): Select the HTTP method to use, such as GET, PUT, POST, PATCH, DELETE, or POCO.
-
API URL (mandatory): Enter the endpoint URL for the API request.
-
Query Parameters: Provide parameters to customize the API request.
-
Key: Define the name of the query parameter.
-
Value: Specify the value for the query parameter.
-
Query Variable: Map variables dynamically for query execution.
-
Select Type: Choose the type for the query parameter, such as string or number.
-
Headers: Add custom headers to the API request.
-
Name: Specify the header name.
-
Value: Provide the corresponding value for the header.
-
Others: Additional configurations for the HTTP request.
-
Enable raw query: Allow the use of raw query strings for custom requests.
-
Response Attribute: Specify the attribute or key to extract from the API response.
Click “Confirm” and “CMS” control is configured.