User Manual

Create Category

28/7/25
Create Category

Kuika's Create Category action is used to define a new category within the EAV (Entity-Attribute-Value) data model. This action is used to group attributes, simplify management, and create hierarchical structures. It allows fields to be classified in an organised manner, especially in large systems.

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

Technical Specifications

  • Category Definition (EAV Panel): The Create Category action works with the following parameters:
    • Required Parameters:
      • Name (String): The name of the category to be created in the system. It should be a unique and meaningful name that identifies the category.
    • Optional Parameters:
      • Description (String): The description of the category. It is used to provide information about the category to the user or developer.
      • ParentId (Guid): The ID of the parent category of the category to be created. This field allows categories to be defined in a hierarchical structure
  • Data Source Compatibility: All parameters can be defined from the following sources via the Symbol Picker in Kuika:
    • Fixed
    • Form Component (Text Input, Select Box)
    • Screen Input
    • Action Result
    • Current
  • Web & Mobile Support: The Create Category action works in both web and mobile applications.

Create Category Action Application Steps

1. Defining Categories in UI Design Creating a Dynamic Form

  • A screen where a new category is to be added opens.
  • The following elements are added to the Dynamic Form element below:
    • Text InputCategory Name
    • Text InputDescription - Optional
    • Select BoxParent Category (ParentId) - Optional
    • Button‘Create Category’

2. Add Action

  • When the ‘Create Category’ button is clicked:
    • + ADD ACTION > OnClick > EAV > Category > Create Category action is added.
    • Parameter matches:
  • Name → Symbol Picker > Form Component > Text Input
  • Description (Optional) → Symbol Picker > Form Component > Text Input
  • ParentId (Optional) → Symbol Picker > Component > Select Box / Fixed Guid

3. Display Success or Error Result

  • When the category is successfully created, a toast notification can be displayed to the user.
  • Pre-validation can be performed for incorrect or incomplete entries (e.g., display a warning if Name is empty).

Usage Scenario: Creating Hierarchical Categories

An administrator wants to create a category and subcategory structure to group the fields in the system in a more organised manner.

  • The administrator logs into the administrator panel.
  • They click the ‘Add Category’ button.
  • They enter the following information as the parent category:
    • Category Name: User Information
    • Description: Contains basic information about the user.
    • ParentId: Blank (because it is the parent category)
  • Saves and the system automatically assigns an ID to this category (for example: 123).
  • The administrator clicks the ‘Add Category’ button again.
  • Entering the following information as a subcategory:
    • Category Name: Contact Information
    • Description: Contains contact fields such as phone and email.
    • ParentId: 123 (ID of the parent category)
  • The administrator adds another subcategory in the same way:
    • Category Name: Address Information
    • Description: Contains fields such as home and work addresses.
    • ParentId: 123
  • The system organises the categories hierarchically according to this structure.

Create Category Action Advanced Customisations

  • Updating the Category List: After a new category is created, the category Select Box on the page can be reloaded.
  • Conditional Visibility: The category creation area can be displayed only for administrators.
  • Hierarchical Visualisation: Categories can be displayed in a tree structure.

Technical Risks

  • Empty or Duplicate Name: The Name parameter must not be left blank, and the system may return an error if a category with the same name already exists.
  • Invalid ParentId: The operation may fail if an undefined ParentId is entered.
  • Beta Version Risk: The action is in beta, so instability or temporary limitations may occur.

The Create Category action is used to organise attribute groups in a logical, organised, and sustainable manner on the Kuika platform. It ensures that the category system is defined in accordance with a hierarchical structure and can be dynamically expanded. It offers significant convenience and scalability, especially in applications that work with a large number of fields.

Other Related Content

No items found.

Glossary

No items found.

Alt Başlıklar