cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SumanthDundi7
Helper III
Helper III

PowerApps video attachment issue

Hi,

I am using PowerApps with SharePoint modern list as a data source. It is a simple form with two fields as below

  • Integer field
  • Attachment field (Only one attachment with max file size set to 50MB)

Issue is that App is taking time to Submit data to SharePoint list just because with this attachment field. That means right after users attach a video and click on Submit button, it is showing something like a loading or uploading kind of dots...

Help me on how can I increase the speed to get video submitted to list as quick as possible without showing loading kind of screen.

1 ACCEPTED SOLUTION

Accepted Solutions
GarethPrisk
Super User II
Super User II

It seems like you are expecting the app to handle the upload asynchronously, and to allow the user to navigate/do things while this occurs.

Unfortunately, there will always be the time required for the file to upload. PowerApps, as well, will want the Submit function to complete before processing other data.

The simplest thing to do is to manage your user's expectations with a saving/blocking pattern. For example, you would show a saving spinner while the Submit function is occurring, so the user is aware of the upload. This is common in almost every app on every device, and users expect it.

 

To accomplish this:

  • Add a Screen called 'Saving Data'
    • Add verbiage indicating something like "Saving your data..."
    • Optionally add a loading animation from www.loading.io or equivalent
  • Update your code
    • Before the Submit, add Navigate('Saving Data')
    • After the Submit, add Navigate( { Screen user should go back go } )

This is a very simple way of accomplishing this. The objective is to present something to the user which lets them know something is happening (the dots on the PowerApps screen are not great at this).

You will not be able to increase the upload speed with code alone - at least not dramatically. This is heavily dependent on the user's device, connection speed, and the size of the file. Instead, manage their expectations.

View solution in original post

1 REPLY 1
GarethPrisk
Super User II
Super User II

It seems like you are expecting the app to handle the upload asynchronously, and to allow the user to navigate/do things while this occurs.

Unfortunately, there will always be the time required for the file to upload. PowerApps, as well, will want the Submit function to complete before processing other data.

The simplest thing to do is to manage your user's expectations with a saving/blocking pattern. For example, you would show a saving spinner while the Submit function is occurring, so the user is aware of the upload. This is common in almost every app on every device, and users expect it.

 

To accomplish this:

  • Add a Screen called 'Saving Data'
    • Add verbiage indicating something like "Saving your data..."
    • Optionally add a loading animation from www.loading.io or equivalent
  • Update your code
    • Before the Submit, add Navigate('Saving Data')
    • After the Submit, add Navigate( { Screen user should go back go } )

This is a very simple way of accomplishing this. The objective is to present something to the user which lets them know something is happening (the dots on the PowerApps screen are not great at this).

You will not be able to increase the upload speed with code alone - at least not dramatically. This is heavily dependent on the user's device, connection speed, and the size of the file. Instead, manage their expectations.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

secondImage

Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

Top Solution Authors
Top Kudoed Authors
Users online (69,067)