cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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.

 

Administrator
Administrator

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
Power Platform Communities

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
Microsoft Ignite

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Users online (43,565)