Hi,
I have a document library that contains many files and I'm looking to filter this with an aim to export files alongside their metadata. Currently my plan is to use a Canvas Power App with around 10 fields, create a JSON object with the parameters then filter the SharePoint document library. Essentially I would iterate for each attribute in the object, collating the ID's into a variable, performing a union over that variable and then iterating through that list to prepare documents for download.
All in all, it's relatively simple however when it comes to filtering I have a problem. The list has a number of managed content fields and I can't just use a simple contains() or filterArray. Essentially I have the following:
"BusUnit": [
{
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedTaxonomy",
"TermGuid": "07f487e6-b935-4b25-9443-7bbbb21f3b3a",
"WssId": 52,
"Label": "Preparedness",
"Path": null,
"Value": "Preparedness|07f487e6-b935-4b25-9443-7bbbb21f3b3a"
},
{
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedTaxonomy",
"TermGuid": "233b7369-3a94-4d90-ab4d-0ab3661ba20f",
"WssId": 53,
"Label": "Resilience",
"Path": null,
"Value": "Resilience|233b7369-3a94-4d90-ab4d-0ab3661ba20f"
}
],
The 'BusUnit' is the field name, and I want to filter the list based on the items in this field. It's a multi-select so there could be a number of results.
Any ideas?
Thanks,