web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / native camera & flow
Power Apps
Unanswered

native camera & flow

(0) ShareShare
ReportReport
Posted on by 8

I'm trying to use the Native Camera control announced in this blog post: https://powerapps.microsoft.com/en-us/blog/powerapps-v610/. It works very well.

 

However I would like to process the image captured with that control, using Microsoft flow. I see a lot of blogs explaining to get the data uri from the image and use that base64 encode string, but that only seems to apply to the built in camera control.

 

I've seen this thread (https://community.powerapps.com/t5/PowerApps-Forum/Retrieving-Data-URI-from-an-image-added-via-the-quot-Add-picture/m-p/40247) that addresses a similair issue, however I'm not planning to built a custom WebApi. At most an azure funtion, but I'd rather use Microsoft Flow. Any ideas on how this might work? Or any ideas in general on how to use the image from the 'Add Image' control can be used for further processing?

 

Regards,

 

Martijn

Categories:
I have the same question (0)
  • Community Power Platform Member Profile Picture
    on at
    Re: native camera & flow

    Hi Martijn

     

    You and me are doing the exact same thing and I spent some time trying to come up with a way. Glad to see I am not alone!

     

    I have added this to the suggestion box and perhaps vote for it?

     

    https://powerusers.microsoft.com/t5/PowerApps-Ideas/Create-a-BlobToURI-function-to-improve-flow-integration/idi-p/43548

     

    Paul

  • JSmith2932498238 Profile Picture
    8 on at
    Re: native camera & flow

    Hi Paul,

     

    I've voted for the suggestion. In the post you describe a function that does the job for you. Could I ask you to post that sample, or give some guidance. I'm not that familiair in working with binary data and Azure Functions.

     

    Regards,

     

    Martijn

  • Community Power Platform Member Profile Picture
    on at
    Re: native camera & flow

    Hi again

     

    Actually you might want to follow these posts...

     

    http://www.cleverworkarounds.com/2017/07/07/hows-the-weather-using-a-public-api-with-powerapps-part-2/

     

    regards

     

    Paul

  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: native camera & flow

    Martin, 

     

    Paul and I collaborated and build out a Flow-based webservice that can handle PowerApp's binary blob (from media control).

     

    http://johnliu.net/blog/2017/7/building-non-json-webservices-with-flow

  • JSmith2932498238 Profile Picture
    8 on at
    Re: native camera & flow

    You just made my day. Thanks. This solution looks great.

  • Community Power Platform Member Profile Picture
    on at
    Re: native camera & flow

    Hi @Anonymous and @Anonymous ,

    Are these solutions still applicable? 

    I get "Content-Length = 0" from Postman when performing a POST to the Flow Request URL using form-data , File, and selecting either a .png or .jpg file from my computer. 

    Have tried deleting/recreating the Flows; selecting different images, etc. No go.

    Any ideas on what to check? 
    Thank you

    Postman:

    image.png
    Flow:

    image.png

  • Community Power Platform Member Profile Picture
    on at
    Re: native camera & flow
    The latest and best trick is using an unused Outlook connector.

    http://johnliu.net/blog/2019/4/flowninja-hack-87-lock-microsoft-flow-powerapps-trigger-to-upload-images-to-sharepoint-with-ease

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 836 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 231 Super User 2025 Season 2

Last 30 days Overall leaderboard