cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
stephaneblas
Frequent Visitor

Get metadata full hierarchical path in a flow

Hello everybody,

 

I hope you can help me. (a poor french IT -> sorry for my english ^^)

I create a sharepoint list with a metadata column.

My taxonomy list is hierarchical list like this :

Country -> county -> town

In my column setting,  in the Display format section, I specify to display the term and its full path in the hierarchy of the term set. 

With a flow, I want to get in a variable the full hierarchical path to save the county of the town in an other column of my list.

I found a solution 2 weeks ago but today It didn't work anymore

I create a flow "when an item is created or modified".  In the log, I see the path with the label property :

{   "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedTaxonomy",   "TermGuid": "2d87217e-83ab-4b7b-8660-051687c2bf7c",   "WssId": 60,   "Label": "France:2 - Faible:62 - PAS-DE-CALAIS:HABARCQ",   "Path": null,   "Value": "France:2 - Faible:62 - PAS-DE-CALAIS:HABARCQ|2d87217e-83ab-4b7b-8660-051687c2bf7c" }

And now, this is what I see :

{   "@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedTaxonomy",   "TermGuid": "2d87217e-83ab-4b7b-8660-051687c2bf7c",   "WssId": 60,   "Label": "HABARQ",   "Path": null,   "Value": "SAINT-DIZIER|2d87217e-83ab-4b7b-8660-051687c2bf7c" }

 

I try to delete the column and create it again , I have the same result.

 

Somebody have an idea to help me?

1 ACCEPTED SOLUTION

Accepted Solutions

Finally, I found a solution with the hidden list call "TaxonomyHiddenList"

The URL of the list would be like: http://YourSharePointSite/Lists/TaxonomyHiddenList/

 

In my flow,  I done an "Get Item" from this list and the column "path" return the hierarchical path oh my taxonomy term.

 

 

View solution in original post

5 REPLIES 5
tfhegdbn
Helper IV
Helper IV

Hi ,

 

Can you share the process of "In my column setting, in the Display format section, I specify to display the term and its full path in the hierarchy of the term set."。

 

 For this I am a newbie, if you can share the settings of this Process, maybe I can find a place that makes your Flow unsatisfactory.Smiley Happy

 

 

Hello tfhegdbn,  thanks for your reply.

 

On my list parameters, I create a metadata column.

It's in french but you can see on the image the parameter "display the term and its full path in the hierarchy of the term set"

metatadacolumn.JPG

 

 

On my list, the result is :

ville-label.JPG

My taxonomy  list hierachy :

Country : seismicity level : county : Town

 

I want to extract on my flow, the county of the town.

 

GabrielStJohn
Microsoft
Microsoft

Hello, @tfhegdbn!

Thank you for posting a reply to a topic on the Microsoft Flow Community! It appears that the users who you have been engaging in this thread with are now awaiting your reply! Please follow-up on this thread ASAP.

 

Thank You!

-Gabriel

Microsoft Flow Community Manager

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager



Finally, I found a solution with the hidden list call "TaxonomyHiddenList"

The URL of the list would be like: http://YourSharePointSite/Lists/TaxonomyHiddenList/

 

In my flow,  I done an "Get Item" from this list and the column "path" return the hierarchical path oh my taxonomy term.

 

 

View solution in original post

This saved me, thank you so much!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,232)