Salesforce

Inheritance - Model Properties (Magic xpa 4.x)

« Go Back

Information

 
Created BySalesforce Service User
Approval Process StatusPublished
Objective
Description

Inheritance - Model Properties (Magic xpa 4.x)

Magic xpa's inheritance mechanism works as follows:

When assigning a model to a new object, the object properties are inherited from the model.

Selecting or typing a new value in the properties will break the inheritance mechanism for the specific property.

When assigning a model to an existing object, only the properties that have not been set individually (modified) are inherited from the model.

For properties in the Form Designer, to control the inheritance mechanism, you right click on the property and select Inherit, As Data or Break. In the Form Designer's Model property, you also have the option to select Inherit All to inherit all of the properties defined in the model.

A modified property (a disinherited property) is displayed in bold. A property set As Data will appear with the following marking:.

The As Data option only appears for some properties and only when there is a value set in the Data property. When this option is selected, the property inherits its value from the Data property and not from the model.

For properties not in the Form Designer, you can control the inheritance mechanism for each property using the following toggle button.

Break Inheritance – Use this button to break the inheritance of the property.

Inherit Property – Use this button to inherit the property from the model.

This button displays the opposite of the current property's inheritance status. So, if the property is broken, the inheritance icon is displayed.

A modified property (a disinherited property) is displayed in blue and bold.

Breaking Model Properties

You can define an object value locally. When an object is defined locally, it will no longer inherit the current or updated property value of the associated model. Property values that have been “broken” can be re-inherited.

Selecting a Different Model for an Object

When a model is changed for another, the associated object will inherit the properties of the new model and will disregard the properties of the previous model.

Removing a Model from an Object

When you remove a model, the object that was associated with a user-defined mode will inherit the property values of the system-based model for that object.

Related Topics

Reference
Attachment 
Attachment