Hi Folks,
I have the below array retrieved from a SharePoint Online list:
[
{
"FeedbackProviders": [
{
"EMail": "testemail@gmail.com",
"Title": "Test Name"
},
{
"EMail": "testemail.yahoo.com",
"Title": "Test User"
},
{
"EMail": "testemail@hotmail.com",
"Title": "Test Person"
}
],
"Id": 15,
"ID": 15
},
{
"FeedbackProviders": [
{
"EMail": "testemail@gmail.com",
"Title": "Test Name"
},
{
"EMail": "testemail@hotmail.com",
"Title": "test person"
},
{
"EMail": "testemail.yahoo.com",
"Title": "Test User"
}
],
"Id": 117,
"ID": 117
}
]
This is a sample of 2 items. The feedbackproviders is a people picker column with multiple selection of users allowed. I would like to convert this to below array without using "Apply to each" action.
[
{
"ID": 115,
"FeedbackProviders": "testuser@gmail.com", "testperson@gmail.com", "testemail@gmail.com"
},
{
"ID": 117,
"FeedbackProviders": "testuser@gmail.com", "testperson@gmail.com", "testemail@gmail.com"
}
]
Is this possible by using select and without using "Apply to each"?
Please share your suggestions. Thank you.