1

I'm trying to create a collection that contains information from a SharePoint person/group column. So far, I have a few columns of interest added to a column, one of them being the person/group: enter image description here

What I would like to do is get the DisplayName from the "NominatedIndividual" column and add it to this same collection. I've run into various issues trying different methods and now I'm wondering what the best practice is for getting this done.

Does anyone have any advice on how to do this?

Zach H
  • 130
  • 1
  • 14

1 Answers1

0

You can use AddColumns.

1. Sample data:

enter image description here

2. Code:

AddColumns(colTest,
    "DisplayName", First(ThisRecord.NominatedIndividual).DisplayName,
    "Email", First(ThisRecord.NominatedIndividual).Mail,
    "City", First(ThisRecord.NominatedIndividual).City
)
SeaDude
  • 3,725
  • 6
  • 31
  • 68