cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Carl-4SCI
Level: Powered On

SaveData / LoadData audio not working

I am using the SaveData function to store collection data locally.  This collection includes some input text data, an image, and audio.  I use the LoadData function to load the collection when the app starts.  All of the data is loaded with exception of the audio.  Does anyone know why this is happening and how do I fix it?

2 REPLIES 2
Community Support Team
Community Support Team

Re: SaveData / LoadData audio not working

Hi @Carl-4SCI ,

 

How did you get the audio file? Please share the related configurations like the formula that you use to create the collection.

 

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.
Carl-4SCI
Level: Powered On

Re: SaveData / LoadData audio not working

I will try and explain with more detail.  When using the app, the audio media bar shows in the gallery and will play the audio recording when clicked.  The audio length shows on the media bar with the length of the audio recording (00:00:03).   Once the app is closed and reopened, the saved collection is loaded and displayed in a gallery.   All of the data in the collection is returned except for the audio recording.  The media bar is displayed in the gallery, but the recording length shows 00:00:00 and the actual audio recording is gone.  Below is my code to collect the data, save the collection, and load the collection.  There are a few more fields in the collection but it is just text data.  I am collection text data, an image, and an audio recording.

 

Collect(
               TempPhotoSet,
               {
                              Image: image_Main.Image,

                              Recording: mic_Recording.Audio
               }

);

SaveData(TempPhotoSet, “TempPhoto”);

 

When the app loads the Main screen’s OnVisible =
               LoadData(TempPhotoSet, “TempPhoto”, true)

Helpful resources

Announcements
firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

FirstImage

Power Platform World Tour

Coming to a city near you

thirdimage

PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

FourthImage

Join PowerApps User Group!!

Connect, share, and learn with your peers year-round

SecondImage

Power Platform Summit North America

Register by September 5 to save $200

Users Online
Currently online: 49 members 4,673 guests
Please welcome our newest community members: