Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

AEM Forms Adaptative Table column binding syntax

Avatar

Level 2

I created a table in an Adaptative Form. This table is dynamic. So any number of rows can be added from 0 to 10. The table row is repeatable with these values. And when sent, is generating an array of empty elements. The row bind reference is, let's say, "/mytable/rows"

 

rows: [

  {},

  {},

  ...

]

 

I'd like to know what syntax has to be used in each of the column fields to bind them inside each element of the rows array.

What I expect to achieve is:

 

rows: [

  { col1: "aaaa" },

  { col1: "bbbb" },

  ...

]

 

So far I've tried with:

"col1"

".col1"

"./col1"

"/col1"

 

Does anyone knows the specific syntax to bind the field of a column inside this object?

 

Thanks.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Employee

Hi @ndresgarc ,
You are using table, so I am assuming you are using foundation component based Adaptive Form. [1]
In the example you stated repeatable row has bind reference /mytable/rows, so your cell in that row should have bind reference /mytable/rows/col1

Another example, if you have schema like:

{
  "title": "Person with Addresses",
  "type": "object",
  "properties": {
    "personname": {
      "type": "string",
      "description": "The person's full name."
    },
    "addresses": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string",
            "description": "The country of the address."
          }
        }
      }
    }
  }
}


Then repeatable row for addresses will have bind reference /addresses with relevant repeat settings and text box inside the row will have bind reference /addresses/country

[1] https://experienceleague.adobe.com/en/docs/experience-manager-65/content/forms/adaptive-forms-basic-... 

View solution in original post

1 Reply

Avatar

Correct answer by
Employee

Hi @ndresgarc ,
You are using table, so I am assuming you are using foundation component based Adaptive Form. [1]
In the example you stated repeatable row has bind reference /mytable/rows, so your cell in that row should have bind reference /mytable/rows/col1

Another example, if you have schema like:

{
  "title": "Person with Addresses",
  "type": "object",
  "properties": {
    "personname": {
      "type": "string",
      "description": "The person's full name."
    },
    "addresses": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "country": {
            "type": "string",
            "description": "The country of the address."
          }
        }
      }
    }
  }
}


Then repeatable row for addresses will have bind reference /addresses with relevant repeat settings and text box inside the row will have bind reference /addresses/country

[1] https://experienceleague.adobe.com/en/docs/experience-manager-65/content/forms/adaptive-forms-basic-...