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).