Hi,
I receive items from Lists and I want to send HTTP respond, but to reduce size, only some columns. I use Select block, and it works, but unfortunatelly one of the column is multiple choice Taxonomy data.
Structure:
[{
"Id": 3,
"Title": "Title1",
"Link": "link1",
"Tagi": [{
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedTaxonomy",
"TermGuid": "guid1",
"WssId": 13,
"Label": "Label1",
"Path": null,
"Value": "value1"
}, {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedTaxonomy",
"TermGuid": "guid2",
"WssId": 14,
"Label": "Label2",
"Path": null,
"Value": "Value2"
}]
}]
How to reduce Tagi array just to Label in select block? This structure comes from select block (source for select is Value from 'get Sharepoint items' block:
{
"Id": "@item()?['ID']",
"Title": "@item()?['Title']",
"Link": "@item()?['Link']",
"Tagi": "@item()?['Tagi']"
}
Expected response data structure is:
[{
"Id": 3,
"Title": "Title1",
"Link": "link1",
"Tagi": [{
"Label": "Label1"
}, {
"Label": "Label2"
}]
}]

Report
All responses (
Answers (