Understanding the Dynamic Logic Enhancement in Version 9.1
With the release of version 9.1, a significant enhancement has been introduced to streamline the management of dynamic logic in your system. Previously, dynamic logic definitions were stored in clientDefs
, but now they can be organized in a dedicated folder under metadata > logicDefs > {Scope}
. This change simplifies maintenance and improves scalability for complex applications.
Key Features of the Logic Enhancement
- Dedicated Folder Structure: Dynamic logic definitions are now stored in
logicDefs
, making it easier to locate and manage logic rules. - Improved Organization: Logic is categorized under
fields
,panels
, andoptions
, ensuring clarity and consistency. - Backward Compatibility: While the new structure is recommended, the system remains compatible with the older
clientDefs
approach.
Practical Example
Here’s how dynamic logic can be defined in the new structure:
{
"fields": {
"fieldName": {
"visible": {
"conditionGroup": []
},
"required": {
"conditionGroup": []
},
"readOnly": {
"conditionGroup": []
},
"readOnlySaved": {
"conditionGroup": []
},
"invalid": {
"conditionGroup": []
}
}
},
"panels": {
"panelName": {
"visible": {
"conditionGroup": []
}
}
}
}
This enhancement is designed to help business professionals and developers maintain dynamic logic more efficiently, reducing errors and improving system performance.