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

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (6,095)