Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Get metadata full hierarchical path in a flow

(0) ShareShare
ReportReport
Posted on by 17

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?

  • Tanis Profile Picture
    2 on at
    Re: Get metadata full hierarchical path in a flow

    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/

  • jkibler Profile Picture
    37 on at
    Re: Get metadata full hierarchical path in a flow

    This saved me, thank you so much!

  • Verified answer
    stephaneblas Profile Picture
    17 on at
    Re: Get metadata full hierarchical path in a flow

    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.

     

     

  • GabrielStJohn Profile Picture
    on at
    Re: Get metadata full hierarchical path in a flow

    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

  • stephaneblas Profile Picture
    17 on at
    Re: Get metadata full hierarchical path in a flow

    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.

     

  • tfhegdbn Profile Picture
    149 on at
    Re: Get metadata full hierarchical path in a flow

    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

     

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,524 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,906 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow