Forum Discussion

John Liu's avatar
May 08, 2017

Uploading Camera (Data URI) to SharePoint (Binary)

 

Hi, I wanted to share two blog posts where I got PowerApps' Camera to upload pictures to SharePoint correctly.

 

The first is with Azure Functions where I wrote a helper.

 

http://johnliu.net/blog/2017/5/taking-a-picture-with-powerapps-and-sending-to-sharepoint-with-help-of-azure-functions

 

The second is a day later, when I discovered WDL has dataUriToBinary() 

 

http://johnliu.net/blog/2017/5/taking-a-picture-with-powerapps-and-sending-to-sharepoint-with-just-flow

 

I think both articles will still be helpful.  But the second one would be better for non-developers.

 

If you want the solution here, and not read my blog post - the solution is adding this into a Compose action:

 

"@dataUriToBinary(triggerBody()['Createfile_FileContent'])"

Have fun!

No RepliesBe the first to reply

Resources