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

6 REPLIES 6
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
Community Champion
Community Champion

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.

 

 

This saved me, thank you so much!

Tanis
New Member

Just a quick comment on this - it looks like subsites replicate the Taxonomy but do not maintain the WssId from the root site, so if you are looking these up ensure that you use your subsite address: http://YourSharePointSite/Yoursubsitename/Lists/TaxonomyHiddenList/

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (1,868)