Hi
I'm stuck and Google has not been my friend in need this time.
I want to filter a get item from a sharepoint doc library on a metadata field with values from the taxonomy word set, but trail and error always ends up with error.
Isn't it possible to filter on managed metadata?
This should work in my book
Kategori eq 'Timeregnskaber Tilsyn', "Kategori" being the column name and "Timeregnskaber Tilsyn" being the value. The value is actually "Lรธn og Kรธrsel:Timeregnskaber Tilsyn" because the value I use is a sub of another value.
Any other work arounds because my flow is taking forever to fiddle through all items in the list.
Solved! Go to Solution.
Hi @Kvist80 ,
Are you using Filter query of SharePoint action Get items?
I am afraid that not all the column types are supported in Filter query, such as Choice column, Lookup column.
Per my certain test, Managed metadata column is also not supported currently. If you need this feature, please feel free submit your request on Flow Ideas Forum:
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas
Further, a workaround for this issue is adding a Condition. Then use the dynamic content of Managed metadata label to check if it equal to the specific value.
Note: the returned value of Managed metadata column is of type String.
Best regards,
Mabel
Hi @Kvist80 ,
Are you using Filter query of SharePoint action Get items?
I am afraid that not all the column types are supported in Filter query, such as Choice column, Lookup column.
Per my certain test, Managed metadata column is also not supported currently. If you need this feature, please feel free submit your request on Flow Ideas Forum:
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas
Further, a workaround for this issue is adding a Condition. Then use the dynamic content of Managed metadata label to check if it equal to the specific value.
Note: the returned value of Managed metadata column is of type String.
Best regards,
Mabel
Hi
Thank you for your response. I've found a work around for my specific case. Hopefully this will be poswsible in the near future.
Found this online and it works, but it filters on all the taxonomy fields on the item.
Dear v-yamao-msft (microsoft.com)
This Filter Condition is not working on my side.
Do i have to filter the ManagedMetadataColumn.Label from the Get Items Lists Value with the string(body('Get_File_Properties')?['ManagedMetadataColumn']?['Label']) ?
I found this thread after googling how to filter on a Managed Metadata column. It helped push my thinking a bit, but I wanted to share the full solution I built (I am sure not the only solution) for others struggling with this pain!
In my scenario I have a managed metadata column [Email Recipient] that just has three names in it. There is then a standard Single Line of Text column [Email] containing email addresses. The flow takes an input [Who gets the email?] of a name and returns the corresponding email address.
The full flow looks like this:
It is conceivable that the Compose AND the Parse JSON is overcooking it a bit, but it works and I'm not tempted to fiddle about with it now!
{
"type": "object",
"properties": {
"@@odata.etag": {
"type": "string"
},
"ItemInternalId": {
"type": "string"
},
"ID": {
"type": "integer"
},
"Title": {
"type": "string"
},
"Email_x0020_Recipient": {
"type": "object",
"properties": {
"@@odata.type": {
"type": "string"
},
"TermGuid": {
"type": "string"
},
"WssId": {
"type": "integer"
},
"Label": {
"type": "string"
},
"Path": {},
"Value": {
"type": "string"
}
}
},
"Email_x0020_Recipient#WssId": {
"type": "integer"
},
"Email": {
"type": "string"
},
"Modified": {
"type": "string"
},
"Created": {
"type": "string"
},
"Author": {
"type": "object",
"properties": {
"@@odata.type": {
"type": "string"
},
"Claims": {
"type": "string"
},
"DisplayName": {
"type": "string"
},
"Email": {
"type": "string"
},
"Picture": {
"type": "string"
},
"Department": {},
"JobTitle": {}
}
},
"Author#Claims": {
"type": "string"
},
"Editor": {
"type": "object",
"properties": {
"@@odata.type": {
"type": "string"
},
"Claims": {
"type": "string"
},
"DisplayName": {
"type": "string"
},
"Email": {
"type": "string"
},
"Picture": {
"type": "string"
},
"Department": {},
"JobTitle": {}
}
},
"Editor#Claims": {
"type": "string"
},
"{Identifier}": {
"type": "string"
},
"{IsFolder}": {
"type": "boolean"
},
"{Thumbnail}": {
"type": "object",
"properties": {
"Large": {},
"Medium": {},
"Small": {}
}
},
"{Link}": {
"type": "string"
},
"{Name}": {
"type": "string"
},
"{FilenameWithExtension}": {
"type": "string"
},
"{Path}": {
"type": "string"
},
"{FullPath}": {
"type": "string"
},
"{HasAttachments}": {
"type": "boolean"
},
"{VersionNumber}": {
"type": "string"
}
}
}
Check out new user group experience and if you are a leader please create your group
See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.
User | Count |
---|---|
49 | |
42 | |
42 | |
41 | |
38 |
User | Count |
---|---|
81 | |
79 | |
69 | |
50 | |
50 |