Map Entity Attribute Action Advanced Customisations

  • Add Attribute One by One: The action works for only one attribute at a time. If multiple additions are desired, the MapEntityAttribute action must be triggered one by one with a loop after selection.
  • Conditional SortOrder Assignment: The SortOrder value can be dynamically determined based on the attribute type.
  • Preview: A form preview can be presented to the user before the attribute is added.

Technical Risks

  • Invalid IDs: If EntityId or AttributeId is missing or incorrect, the mapping will fail.
  • Duplicate Mappings: If the same attribute has already been mapped to the same entity, the system may throw a conflict or ignore the mapping.
  • Order Conflict: If the same SortOrder is assigned to different attributes, unexpected sorting errors may occur in the UI.

The MapEntityAttribute action is one of the fundamental building blocks of Kuika's EAV-based architecture, enabling flexible field definitions for entities. It is ideal for creating customisable data models and developing user-specific forms.