[BUG] Flex Repeater Error

I having trouble with the flex repeater.
I have set 6 instances as custom property’s.
At the instance of my flex repeater i have a case which choose the instance based on a integer.
The integer is displaying the right value but the flex repeater is giving a red area with the text Flex Repeater Error.

I even tried to add an extra instance to the custom property with that switch statement and just bound that as property in the flex repeater.

What is causing this problem?

@joostjojo, could you export your project/the JSON for this view (hold shift and right click the view in the project browser) so we can try to see what’s going on in-house?

Yes, sorry it took so long.
There was an error in the nightly builds that caused that perspective did not work in the designer.
But here is the json of the form with the flex repeater:

{
  "resourceId": 0,
  "editCount": 0,
  "root": {
    "type": "ia.container.coord",
    "meta": {
      "name": "root"
    },
    "children": [
      {
        "type": "ia.display.flex-repeater",
        "props": {
          "path": "Productie/Sectie Informatie/SectieParameters",
          "direction": "column",
          "key": {}
        },
        "meta": {
          "name": "FlexRepeater_0_0"
        },
        "position": {
          "height": 584,
          "width": 838,
          "x": 5,
          "y": 7
        },
        "propConfig": {
          "props.instances": {
            "binding": {
              "type": "expr",
              "config": {
                "expression": "case({view.params.WeergaveNr}\r\n,11,{view.custom.Instance11}\r\n,12,{view.custom.Instance12}\r\n,13,{view.custom.Instance13}\r\n,14,{view.custom.Instance14}\r\n,15,{view.custom.Instance15}\r\n,17,{view.custom.Instance17}\r\n,11\r\n)"
              }
            }
          }
        }
      },
      {
        "type": "ia.display.label",
        "props": {
          "style": {
            "backgroundColor": "#C04AB8"
          }
        },
        "meta": {
          "name": "Label"
        },
        "position": {
          "height": 20,
          "width": 225,
          "x": 313.79998779296875,
          "y": 643
        },
        "propConfig": {
          "props.text": {
            "binding": {
              "type": "property",
              "config": {
                "path": "view.params.WeergaveNr"
              }
            }
          }
        }
      }
    ]
  },
  "props": {},
  "custom": {},
  "params": {
    "LijnNr": 1,
    "SectieNaam": "Stickerafspuiter 2",
    "RotatiezeefNaam": "Rotatiezeef 5",
    "SpoorNr": 2,
    "WeergaveNr": 12
  },
  "propConfig": {
    "custom.TemplateParameters11[1][0]": {
      "binding": {
        "type": "expr",
        "config": {
          "expression": "true"
        },
        "transforms": [
          {
            "code": "\tinstance \u003d []\n\tdata \u003d {}\n\t\n\tdata \u003d {\"Parameter\":\"Titel Hoofdwas 1\"\n\t,\"Datatype\":\"Int\"\n\t,\"Sectie\": self.view.params.SectieNaam\n\t,\"LijnNr\": self.view.params.LijnNr\n\t}\n\t\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Setpoint Temperatuur\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Hysterese Temperatuur\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Alarmniveau minimum temperatuur\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Delay bijvullen\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Nalooptijd CV pomp\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\t\n\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Maximale stroom Sproeipomp\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Delay stroom alarm\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Titel Afzuiging\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Inschakeltemperatuur\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Titel Roterende zeef\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Vertraging deur alarm\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\treturn instance",
            "type": "script"
          }
        ]
      }
    },
    "params.Lij": {
      "paramDirection": "input"
    },
    "custom.TemplateParameters11": {
      "persistent": true
    },
    "custom.TempParams[\u002711\u0027]": {
      "binding": {
        "type": "expr",
        "config": {
          "expression": "true"
        },
        "transforms": [
          {
            "code": "\tinstance \u003d []\n\tdata \u003d {}\n\t\n\tdata \u003d {\"Parameter\":\"Titel Hoofdwas 1\"\n\t,\"Datatype\":\"Int\"\n\t,\"Sectie\": self.view.params.SectieNaam\n\t,\"LijnNr\": self.view.params.LijnNr\n\t}\n\t\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Setpoint Temperatuur\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Hysterese Temperatuur\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Alarmniveau minimum temperatuur\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Delay bijvullen\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Nalooptijd CV pomp\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\t\n\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Maximale stroom Sproeipomp\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Delay stroom alarm\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Titel Afzuiging\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Inschakeltemperatuur\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Titel Roterende zeef\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Vertraging deur alarm\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\treturn instance",
            "type": "script"
          }
        ]
      }
    },
    "params.WeergaveNr": {
      "paramDirection": "input"
    },
    "params.SpoorNr": {
      "paramDirection": "input"
    },
    "params.SectieNaam": {
      "paramDirection": "input"
    },
    "custom.Instance17": {
      "binding": {
        "type": "expr",
        "config": {
          "expression": "true\r\n"
        },
        "transforms": [
          {
            "code": "\t\n\tInstance \u003d []\n\tdata \u003d {\"Parameter\":\"Titel Transport sectie\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Setpoint snelheid\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\t\n\t\n\n\treturn Instance\n",
            "type": "script"
          }
        ]
      }
    },
    "params.RotatiezeefNaam": {
      "paramDirection": "input"
    },
    "params.Lijn": {
      "paramDirection": "input"
    },
    "params.Li": {
      "paramDirection": "input"
    },
    "custom.Instance13": {
      "binding": {
        "type": "expr",
        "config": {
          "expression": "true\r\n"
        },
        "transforms": [
          {
            "code": "\t\n\tInstance \u003d []\n\tdata \u003d {\"Parameter\":\"Titel Stickerafspuiter 1\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Setpoint Temperatuur\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Hysterese Temperatuur\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Alarmniveau minimum temperatuur\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Hoge Fusten\",\"Datatype\":\"Bool\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Delay bijvullen\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Nalooptijd CV pomp\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Maximale stroom Sproeipomp\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Delay stroom alarm\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\t\n\tdata \u003d {\"Parameter\":\"Titel Transport Sectie 1\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Setpoint snelheid\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\t\n\tdata \u003d {\"Parameter\":\"Titel Roterende zeef\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Vertraging deur alarm\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\t\n\n\treturn Instance\n",
            "type": "script"
          }
        ]
      }
    },
    "custom.Instance14": {
      "binding": {
        "type": "expr",
        "config": {
          "expression": "true\r\n"
        },
        "transforms": [
          {
            "code": "\t\n\tInstance \u003d []\n\tdata \u003d {\"Parameter\":\"Titel Draaistation\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Setpoint snelheid\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Alarm delay volloop\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\t\n\treturn Instance\n",
            "type": "script"
          }
        ]
      }
    },
    "params.key": {
      "paramDirection": "input"
    },
    "custom.Instance15": {
      "binding": {
        "type": "expr",
        "config": {
          "expression": "true\r\n"
        },
        "transforms": [
          {
            "code": "\t\n\tInstance \u003d []\n\tdata \u003d {\"Parameter\":\"Titel Stickerafspuiter 2\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Setpoint Temperatuur\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Hysterese Temperatuur\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Alarmniveau minimum temperatuur\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Hoge Fusten\",\"Datatype\":\"Bool\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Delay bijvullen\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Nalooptijd CV pomp\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Maximale stroom Sproeipomp\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Delay stroom alarm\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\t\n\t\n\tdata \u003d {\"Parameter\":\"Titel Roterende zeef\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Vertraging deur alarm\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\t\n\n\treturn Instance\n",
            "type": "script"
          }
        ]
      }
    },
    "params.LijnNr": {
      "paramDirection": "input"
    },
    "custom.Instance11": {
      "binding": {
        "type": "expr",
        "config": {
          "expression": "true\r\n"
        },
        "transforms": [
          {
            "code": "\t\n\tInstance \u003d []\n\tdata \u003d {\"Parameter\":\"Titel Hoofdwas 1\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Setpoint Temperatuur\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Hysterese Temperatuur\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Alarmniveau minimum temperatuur\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Delay bijvullen\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Nalooptijd CV pomp\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Maximale stroom Sproeipomp\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Delay stroom alarm\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Titel Afzuiging\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Inschakeltemperatuur\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Titel Roterende zeef\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Vertraging deur alarm\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\t\n\n\treturn Instance\n",
            "type": "script"
          }
        ]
      }
    },
    "custom.Instance12": {
      "binding": {
        "type": "expr",
        "config": {
          "expression": "true\r\n"
        },
        "transforms": [
          {
            "code": "\t\n\tInstance \u003d []\n\tdata \u003d {\"Parameter\":\"Titel Hoofdwas 2\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Setpoint Temperatuur\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Hysterese Temperatuur\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Alarmniveau minimum temperatuur\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Delay bijvullen\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Nalooptijd CV pomp\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Maximale stroom Sproeipomp\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Delay stroom alarm\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\t\n\tdata \u003d {\"Parameter\":\"Titel Roterende zeef\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\tdata \u003d {\"Parameter\":\"Vertraging deur alarm\",\"Datatype\":\"Int\",\"Sectie\": self.params.SectieNaam,\"LijnNr\": self.params.LijnNr }\n\tInstance.append(data)\n\t\n\n\treturn Instance\n",
            "type": "script"
          }
        ]
      }
    },
    "custom.TemplateParameters12[0]": {
      "binding": {
        "type": "expr",
        "config": {
          "expression": "true"
        },
        "transforms": [
          {
            "code": "\tinstance \u003d []\n\tdata \u003d {}\n\t\n\tdata \u003d {\"Parameter\":\"Titel Hoofdwas 1\"\n\t,\"Datatype\":\"Int\"\n\t,\"Sectie\": self.view.params.SectieNaam\n\t,\"LijnNr\": self.view.params.LijnNr\n\t}\n\t\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Setpoint Temperatuur\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Hysterese Temperatuur\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Alarmniveau minimum temperatuur\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Delay bijvullen\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Nalooptijd CV pomp\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\t\n\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Maximale stroom Sproeipomp\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Delay stroom alarm\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Titel Afzuiging\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Inschakeltemperatuur\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Titel Roterende zeef\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\tdata \u003d {}\n\tdata \u003d {\"Parameter\":\"Vertraging deur alarm\"\n\t\t,\"Datatype\":\"Int\"\n\t\t,\"Sectie\": self.view.params.SectieNaam\n\t\t,\"LijnNr\": self.view.params.LijnNr\n\t\t}\n\tinstance.append(data)\n\t\n\treturn instance",
            "type": "script"
          }
        ]
      }
    },
    "custom.Instance": {
      "binding": {
        "type": "expr",
        "config": {
          "expression": "case({view.params.WeergaveNr}\r\n,11,{view.custom.Instance11}\r\n,12,{view.custom.Instance12}\r\n,13,{view.custom.Instance13}\r\n,14,{view.custom.Instance14}\r\n,15,{view.custom.Instance15}\r\n,17,{view.custom.Instance17}\r\n,11\r\n)"
        }
      }
    }
  },
  "events": null,
  "permissions": null
}

Also when I add a flex repeater for every instance and either bind it to the custom property or give the params directly to the flex repeater and set the visibile based on the property: WeergaveNr
The flex repeater does work exactly as it would be in the designer, but does not display anything in the client.

joostjojo,

Sorry for the delayed response. Would it be possible to post the JSON for the Productie/Sectie Informatie/SectieParameters view as well? While I can see how this view is designed, without the view that is being contained in it it will be hard to identify an issue.

Also, are there any Browser console errors that are showing when viewing the page in a client? You can check this in most modern browsers by right clicking in the browser and selecting Inspect or Inspect Element.

Thanks,
Garth

Here’s the JSON for that view:

{
  "resourceId": 0,
  "editCount": 0,
  "root": {
    "type": "ia.container.flex",
    "meta": {
      "name": "root"
    },
    "children": [
      {
        "type": "ia.display.label",
        "props": {
          "style": {}
        },
        "meta": {
          "name": "Label"
        },
        "position": {
          "grow": 0,
          "shrink": 1,
          "basis": "476px"
        },
        "propConfig": {
          "props.style.classes": {
            "binding": {
              "type": "expr",
              "config": {
                "expression": "if(try(substring({view.params.Parameter}, 0, 6), 0) \u003d \"Titel \",\r\n\t\"Bold22\",\r\n\t\"Normal22\")"
              }
            }
          },
          "props.text": {
            "binding": {
              "type": "expr",
              "config": {
                "expression": "if(try(substring({view.params.Parameter}, 0, 6), 0) \u003d \"Titel \",\r\n\tsubstring({view.params.Parameter}, 6, len({view.params.Parameter})),\r\n\t{view.params.Parameter})"
              }
            }
          }
        }
      },
      {
        "type": "ia.input.numeric-entry-field",
        "props": {
          "value": 5,
          "inputBounds": {}
        },
        "meta": {
          "name": "NumericEntryField"
        },
        "position": {
          "grow": 0,
          "shrink": 1,
          "basis": "101px"
        },
        "propConfig": {
          "props.inputBounds.minimum": {
            "binding": {
              "type": "tag",
              "config": {
                "mode": "indirect",
                "tagPath": "Lijn {1}/Waslijn/{2}/{3}/{4}.EngLow",
                "references": {
                  "1": "{view.params.LijnNr}",
                  "2": "{view.params.Sectie}",
                  "3": "{view.custom.ReceptString}",
                  "4": "{view.params.Parameter}"
                }
              }
            }
          },
          "props.inputBounds.maximum": {
            "binding": {
              "type": "tag",
              "config": {
                "mode": "indirect",
                "tagPath": "Lijn {1}/Waslijn/{2}/{3}/{4}.EngHigh",
                "references": {
                  "1": "{view.params.LijnNr}",
                  "2": "{view.params.Sectie}",
                  "3": "{view.custom.ReceptString}",
                  "4": "{view.params.Parameter}"
                }
              }
            }
          },
          "meta.visible": {
            "binding": {
              "type": "expr",
              "config": {
                "expression": "if(try(substring({view.params.Parameter}, 0, 6), 0) \u003d \"Titel \",\r\n\t0,\r\n\t1)"
              }
            }
          },
          "custom.Path": {
            "binding": {
              "type": "tag",
              "config": {
                "mode": "indirect",
                "tagPath": "Lijn {1}/Waslijn/{2}/{3}/{4}",
                "references": {
                  "1": "{view.params.LijnNr}",
                  "2": "{view.params.Sectie}",
                  "3": "{view.custom.ReceptString}",
                  "4": "{view.params.Parameter}"
                }
              }
            }
          }
        }
      },
      {
        "type": "ia.display.label",
        "meta": {
          "name": "Label_0"
        },
        "position": {
          "grow": 0,
          "shrink": 1,
          "basis": "50px"
        },
        "propConfig": {
          "meta.visible": {
            "binding": {
              "type": "expr",
              "config": {
                "expression": "if ({view.params.Parameter}\u003d \"\",\r\n\t0,\r\n\tif(try(substring({view.params.Parameter}, 0, 6), 0) \u003d \"Titel \",\r\n\t\t0,\r\n\t\t1))"
              }
            }
          },
          "props.text": {
            "binding": {
              "type": "tag",
              "config": {
                "mode": "indirect",
                "tagPath": "Lijn {1}/Waslijn/{2}/{3}/{4}.EngUnit",
                "references": {
                  "1": "{view.params.LijnNr}",
                  "2": "{view.params.Sectie}",
                  "3": "{view.custom.ReceptString}",
                  "4": "{view.params.Parameter}"
                }
              }
            }
          }
        }
      }
    ]
  },
  "props": {
    "defaultSize": {
      "width": 627,
      "height": 37
    }
  },
  "custom": {},
  "params": {
    "Recept": false,
    "Sectie": "text",
    "Parameter": "ooktext",
    "LijnNr": 1,
    "Datatype": "Int"
  },
  "propConfig": {
    "params.St": {
      "paramDirection": "input"
    },
    "params.Datatyp": {
      "paramDirection": "input"
    },
    "params.Stap": {
      "paramDirection": "input"
    },
    "params.Datatype": {
      "paramDirection": "input"
    },
    "params.Ena": {
      "paramDirection": "input"
    },
    "custom.Stapnummer": {
      "binding": {
        "type": "tag",
        "config": {
          "mode": "indirect",
          "tagPath": "Lijn {1}/Waslijn/Algemeen/STS/Stapnummer",
          "references": {
            "1": "{view.params.LijnNr}"
          }
        }
      }
    },
    "params.Line": {
      "paramDirection": "input"
    },
    "params.Pa": {
      "paramDirection": "input"
    },
    "params.L": {
      "paramDirection": "input"
    },
    "params.Stapnum": {
      "paramDirection": "input"
    },
    "params.Stapnummer": {
      "paramDirection": "input"
    },
    "custom.ReceptString": {
      "binding": {
        "type": "expr",
        "config": {
          "expression": "if({view.params.Recept},\"Recepten\",\"SysteemParameters\")\r\n"
        }
      }
    },
    "params.Linne": {
      "paramDirection": "input"
    },
    "params.Stapn": {
      "paramDirection": "input"
    },
    "params.Stapnumme": {
      "paramDirection": "input"
    },
    "params.LineNR": {
      "paramDirection": "input"
    },
    "params.Lijn": {
      "paramDirection": "input"
    },
    "params.E": {
      "paramDirection": "input"
    },
    "params.Lijne": {
      "paramDirection": "input"
    },
    "params.Sta": {
      "paramDirection": "input"
    },
    "params.Par": {
      "paramDirection": "input"
    },
    "params.Sectie": {
      "paramDirection": "input"
    },
    "params.Li": {
      "paramDirection": "input"
    },
    "params.Da": {
      "paramDirection": "input"
    },
    "params.Parameter": {
      "paramDirection": "input"
    },
    "params.Lij": {
      "paramDirection": "input"
    },
    "params.LijnNr": {
      "paramDirection": "input"
    },
    "params.Paramete": {
      "paramDirection": "input"
    },
    "params.R": {
      "paramDirection": "input"
    },
    "params.Lin": {
      "paramDirection": "input"
    },
    "params.LijnN": {
      "paramDirection": "input"
    },
    "params.Rece": {
      "paramDirection": "input"
    },
    "params.Data": {
      "paramDirection": "input"
    },
    "params.Parame": {
      "paramDirection": "input"
    },
    "params.Dataty": {
      "paramDirection": "input"
    },
    "params.Enabled": {
      "paramDirection": "input"
    },
    "params.Enable": {
      "paramDirection": "input"
    },
    "params.Para": {
      "paramDirection": "input"
    },
    "params.Recept": {
      "paramDirection": "input"
    },
    "params.key": {
      "paramDirection": "input"
    }
  },
  "events": null,
  "permissions": null
}

If I understand your issue correctly, I think an error exists with the Expression Binding for FlexRepeater_0_0.props.instance. Your default value is returning 11 which doesn’t supply any data to the repeater should the value for WeergaveNr be anything other than [11,12,13,14,15,17]. Try updating it to the following and let me know if it resolves your issue.:

case({view.params.WeergaveNr}
,11,{view.custom.Instance11}
,12,{view.custom.Instance12}
,13,{view.custom.Instance13}
,14,{view.custom.Instance14}
,15,{view.custom.Instance15}
,17,{view.custom.Instance17}
,{view.custom.Instance11}
)

Garth