Get Category

Get Category

Kuika's Get Category action is used to retrieve the details of a previously created category record within the EAV (Entity-Attribute-Value) data model. This action is ideal for creating pre-filled forms for editing, viewing, or performing other operations on category information.

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

Technical Specifications

  • Get Category Details (EAV Panel): The Get Category action works with the following required parameter:
    • Id (Guid - Required): The unique ID of the category record to be retrieved. This parameter determines which category's data will be retrieved.
  • Data Source Compatibility: The Id parameter can be obtained from the following sources:
    • Component (SelectBox, Table)
    • Fixed (Fixed Guid)
    • Screen Input
    • Action Result
    • Current
  • Web & Mobile Support: The Get Category action can be used in both web and mobile applications.
Get Category Action Application Steps

1. Creating the Interface for Category Selection

  • An element (e.g. Select Box or Table) where the user can select a category is created.
  • The information belonging to the selected category is to be displayed in another form (e.g. category name, description, parent category).

2. Define the action

  • When a selection is made or a page is loaded:
    • + ADD ACTION > OnChange or OnPageLoad > EAV > Category > Get Category action is defined.
  • The Id parameter is linked to the category ID of the selected component.

3. Linking the Results to Components

  • The data returned by the action is distributed to the form components and the details are displayed to the user:
    • Name
    • Description
    • ParentId
Usage Scenario: Category Update Form

An administrator wants to edit an existing category. To do this:

  1. A row is selected from the category list.
  2. The Get Category action is triggered with this ID.
  3. The information for the selected category is displayed in a form:
    • Category name: ‘Contact Information’
    • Description: ‘Fields related to phone and email’
    • Parent Category: ‘User Information’
  4. The administrator makes changes and updates with the Update Category action.
Get Category Action Advanced Customisations
  • Automatic Form Filling: The result of the action can be written directly to form fields with Set Value actions.
  • Hiding ID: ID information can be stored in an invisible field or through a variable used only for the process.
  • Conditional Loading: The action can be cancelled if the ID is empty or invalid.

Technical Risks

  • Invalid or Empty ID: If the ID parameter is empty or does not exist in the system, the result may not be returned.
  • Data Format Incompatibility: Components linked to the action result must be configured according to the appropriate data types.
  • Beta Version Risk: As the feature is in beta, unstable behaviour may occur in some scenarios.

The Get Category action is an ideal solution for quickly accessing category details on the Kuika platform and displaying this data on the interface. It provides a powerful foundation for operations such as updating, viewing, and validating. Despite working with a single parameter, it offers high flexibility in data flow.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar