【问题标题】:How to post images to Azure storage in powerapps?如何在 powerapps 中将图像发布到 Azure 存储?
【发布时间】:2017-12-06 01:20:00
【问题描述】:

我在 Powerapps 中有一组图像,我想将其发送到 Azure 存储,以便我可以在 Azure 函数中访问它们。

我尝试使用创建块 blob 在 PowerApps 中创建工作流,但我无法在其中使用动态内容。

那么如何将集合中的所有图像发送到 Azure 存储?

我正在这样做,所以我可以在函数中访问这些图像。如果有其他方法,我也可以尝试。我只需要在 Azure 函数中访问它们。

【问题讨论】:

  • 我过去也遇到过类似的问题。当从 PowerApps 发送图像时,它会作为 Base64 字符串发送。您可以尝试将图像(Base64)作为实体发送到 Azure 存储表,然后在函数内部使用 Base64 字符串检索实体并将其转换回图像。我有一段时间没有玩过 PowerApps,但它可能值得测试。

标签: azure azure-storage azure-blob-storage powerapps


【解决方案1】:

您正在寻找类似的解决方案,您必须:

1- Create a custom API to route your images from the source you get them from (Example on article bellow is from camera to Blob)
2- Test your API locally in Azure Emulator
3- Publish API to Azure
4- Register the Custom API in PowerApps:https://docs.microsoft.com/en-us/powerapps/register-custom-api

完整的分步指南可以在这里找到:https://powerapps.microsoft.com/en-us/blog/custom-api-for-image-upload/ 如果这对艾伦有帮助,请告诉我。

【讨论】:

  • 是的,我最终做了几乎完全相同的事情。我创建了一个 API 来获取 Powerapps 发送的图像,并使用它来将图像发送到 BLOB 存储。
猜你喜欢
  • 1970-01-01
  • 2022-01-15
  • 1970-01-01
  • 2020-01-25
  • 1970-01-01
  • 1970-01-01
  • 2022-11-03
  • 2012-06-20
  • 2018-12-17
相关资源
最近更新 更多