Blocked: In Azure Logic app, how can you add group of checkboxes for each of the languages for a user to choose for caption translation option?

一个人想着一个人 提交于 2021-01-28 12:43:19

问题


I have created a logic app, to pull the Video Transcript(VTT) caption file, once the videos have been indexed. I want the user to have the ability to choose which language they would like the captions to be translated in ( For e.g English, Spanish, French, Portuguese etc).

Is there a way to add group of check boxes for each of the languages for the user to choose? I was looking at this :https://api-portal.videoindexer.ai/docs/services/Operations/operations/Get-Video-Index but it looks like the API supports only one language. In my case, I want to present the user with (check boxes) with at least 10 different languages they can choose from.

Question: How can we have this implemented for a user to choose from a checkbox of languages? Or can I accept a list of languages as my HTTP request and loop over them in my logic app?

Here is the current workflow of my logic app, where it allows only one language at the moment:


回答1:


The easiest way would be to pass the list languages through HTTP trigger body (it accepts JSON array). You can generate the request schema by pasting your sample request data (payload) through "Use sample payload to generate schema" link.

Then in the "For each" action you'll iterate through the languages and call the other actions.

After you can test your Logic App for example in Postman:



来源:https://stackoverflow.com/questions/61181707/blocked-in-azure-logic-app-how-can-you-add-group-of-checkboxes-for-each-of-the

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!