regarding grids with form

How can we get in uploaded Document name ,uploaded by and uploaded on in supervisor form using grids of 3 column.

  Discussion posts and replies are publicly visible

Parents Reply Children
  • Replace your local!doc config with a!forEach() to iterate over your list of folders, such as:

    a!localVariables(
      local!doc: a!flatten(
        a!forEach(
          items: {
            cons!FOLDER1,
            cons!FOLDER2,
            cons!FOLDER3
          },
          expression: folder(fv!item, "documentChildren")
        )
      ),    
    
      a!gridLayout(
        headerCells: {
          a!gridLayoutHeaderCell(label: "Document Name"),
          a!gridLayoutHeaderCell(label: "Uploaded By"),
          a!gridLayoutHeaderCell(label: "Uploaded On")
        },
        rows: a!forEach(
          items: local!doc,
          expression: a!gridRowLayout(
            id: fv!index,
            contents: {
              a!richTextDisplayField(
                value: a!richTextItem(
                  text: document(fv!item,"name")
                )
              ),
              a!richTextDisplayField(
                value: a!richTextItem(
                  text: document(fv!item,"lastUserToModify")
                )
              ),
              a!richTextDisplayField(
                value: a!richTextItem(
                  text: document(fv!item,"dateCreated")
                )
              )
            }
          )
        )
      )
    )