Skip to main content

Web: How to override properties and attributes

  • Sep 23, 2021 7:09 PM UTC
  • 0 replies
  • 8 views

Jason Huggins
Forum|alt.badge.img
This example shows how to override properties declaratively and dynamically

When you model an entity, you define all fields and their properties with their standard property settings. When you copy a Modeled Field to the DSP structure they inherit these standard widget and property settings. You don't have to change anything as long as the modeled properties are sufficient for the actual development case. 

You can override the modeled settings from within the structure of your DSP if you need different functionality or behavior. It could be that a field is modeled as an Editbox Widget, but when you just want to display a field, a StaticText Widget might suffice. Another field might need different task-specific DSP Widget Properties, which can also be set in the component. When you override properties of modeled fields in your component, inheritance is broken. Overridden properties for modeled fields can be restored to inherit their original properties.

.