shesha-io / shesha-framework

An open-source Low-Code development framework for .NET developers. Create .NET based business applications with 80% less code.
https://shesha.io
Apache License 2.0
380 stars 75 forks source link

Enhance Entity Configurator to allow a broader range of behaviours to be defined/overriden - Part 2 #694

Open Tshepiso-R opened 11 months ago

Tshepiso-R commented 11 months ago

Description This is an enhancement of #33032 to add additional configuration options

Acceptance Criteria

  1. At an entity level the user should be able to override/configure the following: i. Filtering: Should allow user to indicate which specifications to apply when returning data. ii. Display property - Specifies which property to use as the display property for the entity (equivalent to placing EntityDisplayName attribute on a property)
  2. For each of the entity's properties the user should be able to define the configure the following: a. DisplayFormat - Format string to specify how the data should be formatted when rendered in read-only mode (equivalent to DisplayFormat attribute)

    • I don't believe this is behaviour that is respected by our UI components but support for this can be implemented later as long as we provide a mechanisms to specify the format

    b. DefaultEditor - specifies the form component to use by default when the property is in edit mode (useful in cases where may not want the usual default editor) c. Reference List - only applies to reference list properties. Allows overriding the reference list to use. d. For properties that reference other entity:

    • Entity type: Allow user to override the type that is referenced e.g. to a more specific sub-class.
    • Entity display text: specify an expression that returns the display text for the entity being referenced. This should be optional
Tshepiso-R commented 11 months ago

Alex Stephens commented Feb 23

Implemented configuration of CascadeUpdates

Tshepiso-R commented 11 months ago

Ian Houvet commented Sep 28, 2022

Copied with all links from User Story 33032