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.
Highlighted
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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (7,512)