Update Category Aksiyonu Uygulama Adımları

1. Güncelleme Formu Oluşturma

  • UI üzerinde bir Dynamic form tasarlanır:
    • Select Box / Table → Mevcut kategori seçimi
    • Text Input → Kategori adı
    • Text Input → Açıklama (opsiyonel)
    • Dropdown → Üst kategori seçimi (opsiyonel)
    • Button → “Güncelle” butonu

2. Seçilen Kategorinin Bilgilerini Getirme

  • Get Category aksiyonu ile seçilen kategoriye ait mevcut bilgiler form bileşenlerine dağıtılır.

3. Update Category Aksiyonunu Ekleme

  • “Güncelle” butonuna tıklanınca:
    • + ADD ACTION > OnClick > EAV > Category > Update Category aksiyonu eklenir.
  • Parametre eşleştirmeleri şu şekilde yapılır:
    • 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