foreach(xmlIteminxmlData.data.row)// TODO: replace "for each (.. in ..)" with for (.. of ..) when the designer supports it (the server already supports it). As it's deprecated in js https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Statements/for_each...in
@@ -596,7 +596,7 @@ function arrDiff (arr1, arr2) {
// checks input array if each element is a valid input, returns true if valid, otherwise false
functioncheckInput(pInputArr){
foreach (varinputinpInputArr){
foreach (varinputinpInputArr){// TODO: replace "for each (.. in ..)" with for (.. of ..) when the designer supports it (the server already supports it). As it's deprecated in js https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Statements/for_each...in
@@ -23,7 +23,7 @@ var entitiesUsePermFlagSet = []; // array, which contains ids of entities with u
varroleInternalEveryone="INTERNAL_EVERYONE";
// gets all names of the entites which have the 'usePermission'-flag set (positive list)
foreach (letentityMetaDatainentitiesMetaData){
foreach (letentityMetaDatainentitiesMetaData){// TODO: replace "for each (.. in ..)" with for (.. of ..) when the designer supports it (the server already supports it). As it's deprecated in js https://developer.mozilla.org/de/docs/Web/JavaScript/Reference/Statements/for_each...in
if (entityMetaData[6]=="true"){
entitiesUsePermFlagSet.push(entityMetaData[0])
if (PermissionUtil.getNumberOfPermissions(entityMetaData[0])==0){