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 Input → Category Name
- Text Input → Description - Optional
- Select Box → Parent 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).