Skip to main content
All CollectionsData model
Additional model settings
Additional model settings

This article explains the such additional settings of a model as deduplication, log mutations and dependent items.

Betty Blocks avatar
Written by Betty Blocks
Updated over 11 months ago

Warning!

This is a legacy document. The features described below are only usable within the classic-generation environment.

Currently, Betty Blocks offers faster and more advanced options that are available in next-gen. Before you start working on some new features in your application, consider doing it using the next-gen version. Good luck!

The Settings tab provides access for establishing the settings for the model, in this case, the ModelName model. An explanation of the various fields is provided.

Note: To work with other settings (Deduplication, Log mutations and Dependent items) switch to the previous environment by clicking on any of these grey buttons. You are requested to provide your user login details when you first switch environments.

Deduplicate settings reference

You can use this setting to avoid creating duplicate records in your database. This reduces possible errors while ensuring optimum response time to queries. You can deduplicate existing or newly added data in your database.

When you activate the previous environment from the Setting tab, you will see the Model's Log mutations settings (A). Use the scroll bar to navigate to the Deduplicate (B) setting. When you activate the setting with the checkbox, the frame expands downwards to show the deduplicate settings (C).

This option can be checked if you want to deduplicate existing or newly added data in your database.

As shown in the example, you can specify the property (A) from the model and the basis on which you want to qualify the duplication (B) using the drop-down menu options.

Match on (A):

Choose a property (B) for determining on which data should be deduplicated. Specify the basis used for the check (C).

Optional match on (D)

When the chosen property of your new/changed record matches the existing data with the Match on option, you can specify an optional check.

Update property on match (E)

Set the property/properties that should be updated when duplicate data is found. The new value overwrites existing data on the properties set in this field set.
Note: The oldest data value overwrite the newer data in your record on each property that is not set in this field set. The new data is removed.

When to deduplicate (D)

Use the checkboxes to specify at what point deduplication is performed:

create - deduplicates on all Create operations of the model.
update -deduplicates on all Update operations of the model.
save - deduplicates on all Save operations of the model even where the record is unchanged. This setting, overules the create and update.

You can add additional rows for different properties in your model.

Dependent items settings reference

Provides details on the dependencies in relation to the model. If a Back office grid is generated or included in an expression, it is shown here.

Additional information is available in What are Dependencies?

Changes [⇄]

Click on the Changes button in the menu bar (previous environment) to show application metadata (structural) changes. Details when a change was applied and by which user.

Additional information is available in What are Changes and HowTo use them?

Did this answer your question?