I’m working on a Power Apps project where users need to upload large audio files in .mp3 and .wav (sometimes 100MB or more). I'm using the file attachment control. However, when I try to process these large files directly in Power Apps, the app crashes. I can attach a file to the file attachment, but it doesn't reference the binary value, rather something that looks like "appres://blobmanager/0066aa4ae45a418383d33419c63fae68/1".
I've tried a technique that I've seen here in sending the value in an image, and then retrieving that in order to convert to base64 string, but it makes the app crash. Here's what I've used:
JSON("FILE".Image, JSONFormat.IncludeBinaryData) to convert the file content to a base64 string. This works well with smaller files (<70MB) but crashed with larger ones.
I cannot find a way to process larger audio files. What I need to do is have the base64 string extracted from the file value so I can send it into an API call. Like I said, my process worked fine for smaller files, but fails for larger files.
Is there a solution to this today? Is there a workaround that could be effective?
I am building a project for a client, so the workflow needs to be smooth, and be able to scale the app to a full organization as well.
Have you found a solution for this problem yet? We are experiencing the same issue with large files. There also is no way to save the file locally to the device, so we can at least process it manually when a crash occurs. Any thoughts on that?
Was this reply helpful?YesNo
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.