Skip to main content
shubhama926776
Brainy
June 3, 2021
Question

How to save Data on Interface without using .(dot) notaion.??????

  • June 3, 2021
  • 1 reply
  • 0 views

My use case is i need to create editable grid for 100 columns from one table.

While building interface type of data is fixed it could be 
Text
Integer
Drodpown
Date

I need to use foreach to loop component to store data but all columns are not mandatory to store data.

How do i save data? because after .(dot) i need to pass column name.

    1 reply

    stefanhelzle0001
    Brainy
    June 3, 2021

    This explains all ways to fetch values from fields.

    https://docs.appian.com/suite/help/21.2/Expressions.html#variables

    Be aware that the dot-notation and square-bracket notation return a reference to the value while index() returns a copy and you cannot store data into the copy of a value. To dynamically store data into a CDT you would use square brackets.

    You are aware that a grid with 100 columns will have very bad performance? Why no master-details pattern?