Discussion posts and replies are publicly visible

Parents
  • I'm assuming you want to allow the email address to have multiple items? If so, you can use a!forEach() to create a list of multiple items like this:

    attendees: a!forEach(
      items: ri!emailAddress,
      expression: {
        emailAddress: {
          address: fv!item,
          name: index(ri!emailAddress, fv!index, "")
        }
      }
    )

    The a!forEach() function iterates over a list of values, so you can use fv!item to reference the value of the email address. However, since your name is in a separate variable, you have to use the index function to find the item at the corresponding index in that list. You can find more information about this function here.

Reply
  • I'm assuming you want to allow the email address to have multiple items? If so, you can use a!forEach() to create a list of multiple items like this:

    attendees: a!forEach(
      items: ri!emailAddress,
      expression: {
        emailAddress: {
          address: fv!item,
          name: index(ri!emailAddress, fv!index, "")
        }
      }
    )

    The a!forEach() function iterates over a list of values, so you can use fv!item to reference the value of the email address. However, since your name is in a separate variable, you have to use the index function to find the item at the corresponding index in that list. You can find more information about this function here.

Children
No Data