mDIS Behaviors - Detailed Visual Guide
mDIS Behaviors - Detailed Visual Guide
This document provides detailed screenshots and information about each configurable behavior available in the mDIS Template Manager.
Related: System Behaviors Catalog - focus on non-configurable behaviors.
In the mDIS Template Manager, the behavior selection and configuration is done through a user-friendly interface. The behavior list is displayed after clicking the "ADD" button at the bottom of the page.
How to find the ADD button | List of Behaviors |
---|---|
In any Model Designer of the Template Manager...:![]() Scroll down to end of page..., click this "ADD" button. | Dropdown list opened by clicking on the "ADD" behavior button. It can be filtered when making a selection. ![]() |
Note that the list of available behaviors may vary depending on the context and the specific model being edited.
Create or Update Core Box
Parameters:
- coreboxNameColumn - The column that contains the name of the core box
- coreboxIdColumn - The column that holds the id of the generated or assigned core box
Description: Coming Soon
Usage: This behavior can be added to any compatible model in the Template Manager.
Cumulative Section Length
Parameters:
- minRelativeLength - The lower cut-off value for core validation (ratio, between 0.8 and 1.0).
- maxRelativeLength - The upper cut-off value for core validation (ratio, between 1.0 and 1.2).
Description: Coming Soon
Usage: This behavior can be added to any compatible model in the Template Manager.
Default Value from Other Column
Parameters:
- sourceColumn - The column from where to copy the default value
- targetColumn - The column to copy the value to if it is empty or the sourceColumn value was changed
Description: Coming Soon
Usage: This behavior can be added to any compatible model in the Template Manager.
Default from Parent
Parameters:
- parentSourceColumn - The parent column that contains the value you want to copy
- destinationColumn - the column name that holds the copied value
Description: Coming Soon
Usage: This behavior can be added to any compatible model in the Template Manager.
Default from Sibling
Parameters:
- parentRefColumn - The column that contains the id of the parent record
- sourceColumn - The sibling column that contains the value you want to copy
- destinationColumn - the column name that holds the copied value
Description: Coming Soon
Usage: This behavior can be added to any compatible model in the Template Manager.
Default from Sibling Units
Parameters:
- unitsRelationName - The name of the relation from section-split to unit. See definitions (@) in BaseCurationSectionSplit.php.
- positionOnSectionColumnName - Name of the column that holds the position measurement on the core section.
Description: Coming Soon
Usage: This behavior can be added to any compatible model in the Template Manager.
Leading Zeros
Parameters:
- column - The Column to add leading zeros to
- length - The length of the resulting numeric values
Description: Coming Soon
Usage: This behavior can be added to any compatible model in the Template Manager.
Sample Fraction Taken from Sample Size
Parameters:
- defaultDiameter - The default diameter of the core [mm] (if not given in CoreCore.core_diameter)
Description: Coming Soon
Usage: This behavior can be added to any compatible model in the Template Manager.
Siblings Limit
Parameters:
- parentRefColumn - The column that contains the id of the parent record
- limit - Maximum number of sibling records
Description: Coming Soon
Usage: This behavior can be added to any compatible model in the Template Manager.
Children Limit From Parent
Parameters:
- parentRefColumn - The column that contains the id of the parent record
- parentSourceColumn - The column in parent that has the limit value
Description: Coming Soon
Usage: This behavior can be added to any compatible model in the Template Manager.
Splittable Section
Parameters:
- splitsModel - The table where the splits will be saved e.g. CurationSectionSplit
Description: Coming Soon
Usage: This behavior can be added to any compatible model in the Template Manager.
Unique Combination Auto Increment
Parameters:
- searchFields - columns names (comma separated) that build the group in which a unique value should be created
- fieldToFill - column name to be filled by the calculated value
- useAlphabet - use A-Z values for auto increment? (y/n) or (true/false)
Description: Coming Soon
Usage: This behavior can be added to any compatible model in the Template Manager.
Validate Origin Split Type Value
Description: Coming Soon
Usage: This behavior can be added to any compatible model in the Template Manager.
Summary
Behavior Name | Parameters Count | Screenshot |
---|---|---|
Create or update core box | 2 | ![]() |
Cumulative section length | 2 | ![]() |
Default value from other column | 2 | ![]() |
Default from Parent | 2 | ![]() |
Default from Sibling | 3 | ![]() |
Default from Sibling Units | 2 | ![]() |
Leading Zeros | 2 | ![]() |
Sample: Fraction-Taken from Sample-Size | 1 | ![]() |
Siblings Limit | 2 | ![]() |
Children Limit From Parent | 2 | ![]() |
Splittable Section | 1 | ![]() |
Unique Combination Auto Increment | 3 | ![]() |
Validate Origin Split Type Value | 0 | ![]() |
Related: System Behaviors Catalog - focus on non-configurable behaviors.