1. Creating the Required Form in UI Design
- A Dynamic Form screen is prepared to display and edit the attribute data to be updated.
- Required elements:
- Text Input → Name
- Select Box → DataType
- Text Input → Description (optional)
- Switch / Checkbox → IsRequired
- Text / Number Input → DefaultValue
- SelectBox (or fixed) → CategoryId
- Button → ‘Update’
2. Filling the Form with the Get Attribute Action
- When the page is loaded or an attribute is selected, the Get Attribute action is executed.
- The returned information is distributed to the Dynamic Form element (binding is performed).
3. Adding the Update Attribute Action
- When the ‘Update’ button is clicked:
- + ADD ACTION > OnClick > EAV > Attribute > Update Attribute action is selected.
- Parameters are taken from the Dynamic Form element:
- Id → Symbol Picker > Action Result > Get Attribute > Id
- Name → Symbol Picker > Form Component > Text Input
- DataType → Symbol Picker > Form Component > SelectBox
- Description → (optional)
- IsRequired → (optional)
- DefaultValue → (optional)
- CategoryId → (optional)
4. Processing the Update Result
- After a successful operation, a modal notification can be displayed to the user.
- The Dynamic Form can be automatically cleared or the list can be updated.