cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper I
Helper I

Get Managed Metadata Term ID from Term Store

I am using the Parse JSON action to parse a JSON file and create items in a SharePoint list.

 

The items in the list have managed metadata columns, and the format required in the JSON file for metadata is "<TermName> | <TermID>"

 

I have the Term name in the JSON file but not the TermID, so I would need to query the Term Store to grab the TermID based on the Term Name

 

How can I do that? 

2 REPLIES 2
Highlighted
Community Support
Community Support

Re: Get Managed Metadata Term ID from Term Store

Hi @mikkele ,

 

Could you share more details on your flow configuration?

 

Please check if the following doc could be a reference for you:

http://www.cleverworkarounds.com/2017/10/23/powerapps-flow-and-managed-metadata-fields-part-4/

 

Best regards,

Mabel

 

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Helper I
Helper I

Re: Get Managed Metadata Term ID from Term Store

I'm parsing a JSON file that contains certificates information from a server, including server name, customer, service, environment, and certificates details

Flow1.JPG

 

Then I'm creating a SharePoint list item using the values in the JSON, basically it creates a new item for each certificate in the JSON

Flow2.JPG

 

Flow3.JPG

 

The problem is that I need to hardcode the TermID in the JSON which is not flexible/viable, therefore my need to query the TermStore. In this example I would have the Term Name IPW in the JSON and I would like to use Flow to retrieve the TermID for that customer.

the same goes for Service and Environment which are all Managed Metadata columns

Helpful resources

Announcements
secondImage

August 2020 CYST Winners!

Check out the winners of the recent 'Can You Solve These?' community challenge!

thirdImage

Experience what's new for Power Automate

Join us for an in-depth look at the new Power Automate features and capabilities at the free Microsoft Business Applications Launch Event.

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (3,655)