目前是否可以将捕获的图像从 PowerApps 发送到 Microsoft 流?
该应用程序的基本思想是使用相机控件拍摄照片,然后将图像传递给 Microsoft 流,然后该流将发送带有图像作为附件的电子邮件。
目前是否可以将捕获的图像从 PowerApps 发送到 Microsoft 流?
该应用程序的基本思想是使用相机控件拍摄照片,然后将图像传递给 Microsoft 流,然后该流将发送带有图像作为附件的电子邮件。
Here is a summary of steps. Links to video and article are in the end.
Add camera control and a button to save the camera capture. So set OnSelect
of your button to be:
UpdateContext({CameraPhoto: Camera1.Stream})
Go to Microsoft flow and search template "PowerApps upload file to SharePoint". Give information of where to save in SharePoint in the first two lines. Click "..." in top right corner and select "setting". Click "Cancel". Change "File Content" to:
dataUriToBinary(triggerBody()['CreatefileFileContent'])
Go back to Powerapps, add a button and OnSelect
will be:
UploadimagetoSPO.Run("amyname.jpg",CameraPhoto)