File Upload ForEach Looping

I want to have users upload files within a foreach - ie like an array of arrays. Think a use case like an apartment/landlord asking for multiple documents for same person ie banking will have multiple documents, ID will have multiple docs, references, etc. But all within the same ForEach in the interface. Each element of the ForEach has a different file upload instance. Thoughts?

  Discussion posts and replies are publicly visible

Parents Reply
  • I can't share the code exactly but it's something like this we're doing now - 

    contents: a!cardLayout(
    contents: {
    a!forEach(
    items: ri!appianCommunityDocs,
    expression:
    {

    a!columnsLayout(
    columns: {
    a!columnLayout(
    contents: a!columnsLayout(
    columns: {
    a!columnLayout(
    contents: {
    a!sideBySideLayout(
    items: {
    a!sideBySideItem(
    item: a!dropdownField(
    choiceLabels: ...etc

     - all the card layout code - 

    ...saveInto: {
    a!save(
    ri!appianCommunityDocs,
    append(ri!ri!appianCommunityDocs, save!value)
    ),
    a!save(
    target: local!tenantDocs,
    value: append(
    local!tenantDocs,
    a!map(documents: {}
    ),
    )
    )

    I am troubleshooting the local!tenantDocs variable but maybe the interface needs to be converted to editable grid instead.

Children