Uploading Camera (Data URI) to SharePoint (Binary)

MVP

 

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-o...

 

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-f...

 

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!

0 Replies