Update Category Action Application Steps

1. Creating the Update Form

  • A dynamic form is designed on the UI:
    • Select Box / Table → Select existing category
    • Text Input → Category name
    • Text Input → Description (optional)
    • Dropdown → Select parent category (optional)
    • Button → ‘Update’ button

2. Retrieving the Selected Category's Information

  • The Get Category action distributes the existing information for the selected category to the form components.

3. Add the Update Category Action

  • When the ‘Update’ button is clicked:
    • + ADD ACTION > OnClick > EAV > Category > Update Category action is added.
  • Parameter mappings are done as follows:
    • Id → Symbol Picker > Action Result > Get Category > Id
    • Name → Symbol Picker > Form Component > Text Input
    • Description → Symbol Picker > Form Component > Text Input
    • ParentId → Symbol Picker > Form Component > SelectBox