directUpdateEnabled, importEnabled parameters

This commit is contained in:
Yurii
2025-12-24 10:33:12 +02:00
parent 2063e2cd1d
commit 40c0a74279
5 changed files with 25 additions and 7 deletions
@@ -201,6 +201,7 @@
"importDisabled": true,
"exportDisabled": true,
"directAccessDisabled": true,
"directUpdateEnabled": true,
"filtersEnabled": true,
"noLoad": true
},
@@ -213,7 +214,8 @@
"layoutMassUpdateDisabled": true,
"layoutFiltersDisabled": true,
"entity": "TargetList",
"directAccessDisabled": true
"directAccessDisabled": true,
"importEnabled": true
},
"originalLead": {
"type": "linkOne",
@@ -480,7 +480,8 @@
"layoutListDisabled": true,
"importDisabled": true,
"directAccessDisabled": true,
"filtersEnabled": true,
"filtersEnabled": true,,
"directUpdateEnabled": true,
"noLoad": true
},
"targetList": {
@@ -493,7 +494,8 @@
"layoutFiltersDisabled": true,
"exportDisabled": true,
"entity": "TargetList",
"directAccessDisabled": true
"directAccessDisabled": true,
"importEnabled": true
},
"portalUser": {
"type": "linkOne",
@@ -236,6 +236,7 @@
"layoutListDisabled": true,
"importDisabled": true,
"directAccessDisabled": true,
"directUpdateEnabled": true,
"filtersEnabled": true,
"noLoad": true
},
@@ -248,7 +249,8 @@
"layoutMassUpdateDisabled": true,
"layoutFiltersDisabled": true,
"entity": "TargetList",
"directAccessDisabled": true
"directAccessDisabled": true,
"importEnabled": true
},
"targetListIsOptedOut": {
"type": "bool",
+6 -2
View File
@@ -358,7 +358,9 @@ class Step2ImportView extends View {
(
d.disabled ||
d.importDisabled ||
d.utility
d.utility ||
d.directAccessDisabled && !d.importEnabled ||
d.directUpdateDisabled && !d.importEnabled && !d.directUpdateEnabled
)
) {
continue;
@@ -399,7 +401,9 @@ class Step2ImportView extends View {
(
defs.disabled ||
defs.importDisabled ||
defs.utility
defs.utility ||
defs.directAccessDisabled && !defs.importEnabled ||
defs.directUpdateDisabled && !defs.importEnabled && !defs.directUpdateEnabled
)
) {
continue;
+9 -1
View File
@@ -1100,12 +1100,16 @@
},
"directAccessDisabled": {
"type": "boolean",
"description": "Indicates that the field value is not accessed directly but through some additional logic. The filed won't be available in PDF Templates, Email Templates and some other tools."
"description": "Indicates that the field value is not accessed or written directly but through some additional logic. The field won't be available in PDF Templates, Email Templates, and some other tools."
},
"directUpdateDisabled": {
"type": "boolean",
"description": "Indicates that updating the field directly is not possible."
},
"directUpdateEnabled": {
"type": "boolean",
"description": "Indicates that updating the field directly is possible. To be used if directAccessDisabled is true to indicate that update is possible. As of v9.3.0."
},
"foreignAccessDisabled": {
"type": "boolean",
"description": "Indicates that access to the field through a link is not feasible."
@@ -1118,6 +1122,10 @@
"type": "boolean",
"description": "Disables the ability to import the field."
},
"importEnabled": {
"type": "boolean",
"description": "Indicates that import for the field is allowed even if directAccessDisabled or directUpdateDisabled are true. As of v9.3.0."
},
"exportDisabled": {
"type": "boolean",
"description": "Disables the ability to export the field."