cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Mgodby
Post Patron
Post Patron

Why do attachments not work when app is published but does when in Studio?

I have an attachments object here in powerapps.

gimmeabreakpowerappschrist.png

When I'm in studio I can successfully download the files. But when I publish the app and try to download a file, this happens.

 

ispowerappsajokeathispoint.png

What is going on here? Isn't studio supposed to simulate the app actually being published? Why does it work in studio but not when I publish the app? I remember this working fine a few days ago and I haven't changed anything since then, this just started happening out of nowhere. 

1 ACCEPTED SOLUTION

Accepted Solutions
Mgodby
Post Patron
Post Patron

noticed it was actually failing in studio too where the file was corrupted or empty. fixed it  by changing the "Value" property of the attachment.

 

WHY.png

View solution in original post

1 REPLY 1
Mgodby
Post Patron
Post Patron

noticed it was actually failing in studio too where the file was corrupted or empty. fixed it  by changing the "Value" property of the attachment.

 

WHY.png

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

secondImage

Demo Extravaganza is Back!

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

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Did you miss the call? Check out the recording here!

Top Solution Authors
Top Kudoed Authors
Users online (27,234)