cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mikkele
Level: Powered On

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 Team
Community Support Team

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.
Highlighted
mikkele
Level: Powered On

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
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (4,826)