Get Entity Attribute Value in Dynamic Form

Get Entity Attribute Value in Dynamic Form

Kuika's Get Entity Attribute Value in Dynamic Form action is used to retrieve the value of a specific attribute within a Dynamic Form component. This action allows user inputs or dynamic field values to be used in other operations. It is ideal for scenarios such as attribute-based data processing, validation, or transfer to other actions.

This action is currently available in beta version and is still under development. It is recommended to test it carefully before using it in a production environment.

This action only works on attributes defined within the Dynamic Form element. If the attribute does not yet exist in the form, the operation may fail.

Technical Specifications

  • Value Retrieval (EAV Panel): The Get Entity Attribute Value in Dynamic Form action works with the following two parameters:
    • Dynamic Form Component (Required): The dynamic form element from which the attribute value will be retrieved. Select the Dynamic Form element in the UI.
    • AttributeId (Guid - Required): The unique ID of the attribute whose value is to be retrieved. This ID must correspond to the attribute defined in the form.
  • Data Source Compatibility: Parameters can be retrieved from the following sources:
    • Dynamic Form Component > Dynamic Form selection
    • Symbol Picker > Fixed (a fixed GUID)
    • Symbol Picker > Action Result / Current / Screen Input (for attributeId)
  • Web Application Support: The Get Entity Attribute Value in Dynamic Form action works in web applications.
Get Entity Attribute Value in Dynamic Form Action Application Steps

1. Defining the Dynamic Form Element

  • A Dynamic Form element is added to the application interface.
  • This form dynamically loads attributes based on the EAV structure.

2. Define Action

  • After the attribute whose value you want to retrieve is loaded in the form, select the following to retrieve this value with an action:
    • + ADD ACTION > OnClick / OnChange / Custom Trigger > EAV > Dynamic Form > Get Entity Attribute Value in Dynamic Form.
  • Parameter configuration:
    • Dynamic Form Component → Form name
    • AttributeId → Symbol Picker > Fixed (GUID) or dynamic source

3. Using the Action Result

  • The action result can be used in a Set Value, If Condition, etc.
  • For example, the retrieved value can be written to a Text element or transferred to another process.
Usage Scenario: Conditional Calculation

In a form, the user fills in fields such as ‘Salary’ and ‘Number of Working Days’. The application wants to calculate the ‘Daily Earnings’ value.

  1. The user fills in the form.
  2. The ‘Calculate Daily Earnings’ button is clicked.
  3. The Get Entity Attribute Value in Dynamic Form actions run with the relevant attribute IDs.
  4. The results are obtained and the calculation is performed with the Divide action.
  5. The result is displayed to the user.
Get Entity Attribute Value In Dynamic Form Action Advanced Customisations
  • Dynamic Attribute ID Retrieval: Attribute IDs can be retrieved dynamically from the result of another action.
  • Automatic Retrieval After Form Loading: You can automatically retrieve attribute values when the page is opened and display them on the screen.
  • Multiple Action Chain: Comprehensive data processing can be performed by using Get Entity Attribute Value in Dynamic Form for multiple attributes one after another.

Technical Risks

  • If the AttributeId is Incorrect or Not Found in the Form: If the attribute with the specified ID is not found in the form, the value cannot be retrieved.
  • Data Format Compatibility: The attribute value must be in a format compatible with the element or process it will be used in.

The ‘Get Entity Attribute Value in Dynamic Form’ action in the Kuika platform allows you to read data entered by users in dynamic forms on an attribute basis. This flexibility provides a powerful foundation for creating conditional operations, calculations, validations, and customised data flows.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar