cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
kelomee
Advocate II
Advocate II

How to save a recorded audio from IOS or Android devices to SharePoint list using PowerApps and MS Flow?

Hi All

 

Just wondering if someone has done this already?

I have seen one in Youtube https://www.youtube.com/watch?v=kQVYid1p_vA by Paul and Ashlee Culmsee.

Their approach works perfectly if you use the app (PowerApp) in your desktop (web browser) but not applicable when you use  mobile devices.

Any feedback to the community?

 

Thank you in advance.

 

Regards

Kelo

 

 

8 REPLIES 8
RezaDorrani
Dual Super User II
Dual Super User II

Hi @kelomee 

 

Check this App - it sends recording in an email though 

https://powerusers.microsoft.com/t5/Community-App-Samples/Meeting-Capture-V2/td-p/342028

 

You would have to mix this up with 

https://www.youtube.com/watch?v=5XsWgVnR7SU

 

I will also give it a quick shot and check

 

 

 

Hi @kelomee 

 

Ok tested it and there is an error specially when working with mobile devices

 

Reason is the data posted to Flow from browser is base64 whereas from mobile is not in base64 format (in fact it just posts a random url path to file stored locally it seems) 

Will have to check and deep dive further

 

But surely there is an issue 

Good catch

 

--------------------------------------------------------------------------------
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly. If you thought this post was helpful, please give it a Thumbs Up.

 

PaulD1
Super User
Super User

We've done this by storing the audio in Azure Blob Storage directly from the PowerApp (no intermediary Flow required).

 

From within the PowerApp you can also set a public access token (a URL that will let anyone access the file) and store the token in a database - the below is pulled out of a ForAll loop but should give an idea of how this is done.

 AzureBlobStorage_1.CreateFile(
            "voiceclips",
            varSelectedSurvey & " S" & varRecSurvey.ID & "R" & MicrophoneID & ".mp4",
            Audio
        );
Patch(
            colLocalSurveyQuestions,
            LookUp(
                colLocalSurveyQuestions,
                ID = MicrophoneID
            ),
            {Response:AzureBlobStorage_1.CreateShareLinkByPath(
                    "/voiceclips/" & varSelectedSurvey & " S" & varRecSurvey.ID & "R" & MicrophoneID & ".mp4",
                    {Permissions: "Read", ExpiryTime:DateValue("1/1/2050")}
                ).WebUrl}
        )

Note! The Azure Blob Storage connector has now been reclassified  (1st October) as a premium connector, so you'll have pay extra to use it ($10 / user / month / app) Smiley Sad If your app has a relatively small number of users doing relatively high value work this may be worth it.

Thanks @RezaDorrani 

Actually I managed to create a .mp3 file by using the JSON function and dataUriToBinary expression... and used it to attach into an email. This technique is only applicable in the desktop browser but not on mobile devices. You are right, browser gives base64 format while mobile phone like iPhone gives non base64 format (.aac)

Again, thanks for the reply and hopefully we will get/fix this problem together.

Thanks @PaulD1 . Will try it later and update you guys in the community.

Hi @kelomee ,

 

Have you tested with the suggestions recently? Is your issue resolved?

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Hi Mona

 

Sorry I did not go ahead with the suggestion to use Azure Blob Storage connector due to the cost and don't know how to solve the issue.. 🙂 and the rest of the suggested solutions does not work either. 🙂

I'm still waiting for the free cost and better solution.

 

Regards

Michael

js_
Regular Visitor

It's April/2020, but no solution so far. I am stuck in the very same issue.

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,128)