You have to go through a three-step form wizard to enable this
Control, i.e., Design, Validation & Advance. Let’s explain
these steps below:
1st Step – Design
This is the first step of the “File Upload” 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.
Button Type: Defines the type or functionality of a button.
Enable Tooltip?: This button is set as “Yes” if you need to enable Tooltip Text in this
Control
Tooltip Text: Defines the text to be displayed in the tooltip when the user hovers
over the icon.
Select Tooltip Position: Select tooltip position from the following Top, Right,
Bottom or Left
Is traditional view: Specifies whether the component or interface should be displayed
in a traditional or classic layout style.
2nd Step – Validation
Allow Multiple select: "Yes" means that the user will upload multiple files using this
field in the form
Detailed Output: Output with name and url node
Detailed Output Key (mandatory): Specifies the required key for generating a
detailed output, typically including file name and URL.
Is Upload on submit: "Yes" means that the upload of the file will happen when the submit
button is selected on the form
Upload Items Property Mapping: Defines how each uploaded item's properties
are
mapped to the corresponding fields in the system.
File Size Limit (MB): Define in MBs the size limit of the files that the users shall
upload
Allow Files Types: The user shall select the file type acceptable for uploading using
this property
File Type Validation Message: Specifies the required key for generating a detailed
output, typically including file name and URL.
Is Mandatory?: This button is set as “Yes” if you need to apply this Control as mandatory
Error Message: Here, you can define the error message that will be displayed if this
control is left blank.
Upload Success Message: Message displayed when a file is successfully uploaded.
Upload Error Message: Message shown when a file upload fails.
3rd Step – Advance
Design
Display Text: Specifies the text to be shown on the interface.
API
Default Storage: Specifies the default storage configuration for storing and retrieving
data.
Data Connection: Defines the connection to the data source, such as a database or
API.
Method (mandatory): Indicates the HTTP method (e.g., GET, POST) used for API
requests.
API Url (mandatory): Specifies the endpoint URL for API requests.
Query Parameters: A set of parameters appended to the API URL to filter or
customize the request.
Key: The name of the query parameter.
Value: The value assigned to the query parameter.
Query Variable: A variable that dynamically replaces the parameter's value.
Select Type: Defines the type or format of the query parameter.
Headers: A collection of key-value pairs sent with the API request.
Name: The name of the header parameter.
Value: The value of the header parameter.
Others: Additional settings for the API request.
Enable raw query: Allows the use of raw query strings for custom API calls.
Header Param Name: Specifies the name of the header parameter to be sent with the
request.
Header Param Value (Attribute Name): Defines the corresponding value or attribute
name for the header parameter.
Delete API: Defines the corresponding value or attribute name for the header
parameter.
Data Connection: Connection to the data source for delete operations.
Method (mandatory): HTTP method used for delete requests.
API Url (mandatory): Endpoint URL for the delete API.
Query Parameters: Parameters to include in the delete request.
Key: The name of the query parameter.
Value: The value assigned to the query parameter.
Query Variable: A variable to replace the query parameter value
dynamically.
Select Type: Type or format of the query parameter.
Headers: Key-value pairs included in the delete API request.
Name: The name of the header parameter.
Value: The value of the header parameter.
Others: Additional delete API settings.
Enable raw query: Enables custom raw query strings for delete requests.
Mobile
Button Type: Specifies the type of button (e.g., primary, secondary) to be used in
the interface.
Size: Defines the size of the button (e.g., small, medium, large).
Button Active Background Color: Sets the background color of the button when it is in
an active state.
Button Color: Determines the default color of the button.
Button Active Color: Specifies the color of the button when it is active.
Mobile Icon: Defines the icon to be displayed on the button in mobile view.
Upload Button Label: Specifies the text displayed on the upload button.
Button Border Radius: Sets the radius of the button's corners for styling.
Mobile Documents Icon: Defines the icon for document upload functionality in mobile
view.
Mobile Camera Icon: Specifies the icon for camera upload functionality in mobile
view.
Form Control Margin Bottom: Adjusts the bottom margin of the form control for
spacing.
Enable Upload from Camera (No Documents): Allows users to upload directly from the
camera without selecting documents.
Button Type: Specifies the type of button for camera upload.
Align Self: Sets the alignment of the button (e.g., auto, center).
Enable Camera Upload With Documents: Enables the ability to upload from the camera
along with document uploads.
Show in Action List: Displays the camera and document options in an action list.
Action Sheet Camera Label: Specifies the label for the camera option in the
action sheet.
Action Sheet Document Label: Specifies the label for the document option in
the action sheet.
Other
Enable File Extraction?: Allows the system to extract and process data from uploaded
files.
Extraction Type: Choose from the following Lama extraction or AI extraction
Lama Extraction: Enables data extraction using Lama-based parsing or machine
learning models.
AI Extraction: Uses AI techniques to intelligently extract structured data from
unstructured sources.
Extract Schema: Automatically generates a data schema based on the extracted
content or file structure.
Send Body In Payload?: Specifies whether the request body should be included in the
API payload when sending data.
Send Model In Payload?: Determines if the entire model data should be sent as part of
the API payload.
Hide Delete File Icon?: Hides the icon or button used to delete uploaded files.
Hide View File Icon?: Hides the icon or button used to view uploaded files.
AI Image Analysis: Refers to the functionality that processes and analyzes images using
artificial intelligence models.
Google: Specifies the use of Google's AI services for image analysis.
Google AI Function Type: Defines the specific AI function or service used by
Google for image analysis (e.g., object detection, image recognition).
Azure: Refers to the use of Microsoft's Azure platform for image analysis.
Image Analysis Type: Specifies the type of image analysis performed through
Azure (e.g., classification, feature extraction).
Image Analysis Response Field: The field that holds the response or output generated
after processing the image through AI analysis, typically containing data like labels, categories, or
confidence scores.
Click “Confirm” and “File Upload” control is
configured.