web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Issue with Image Attac...
Power Apps
Unanswered

Issue with Image Attachments Not Submitting to Notes

(0) ShareShare
ReportReport
Posted on by 5

I am currently encountering an issue with a canvas app that uses Dataverse as a backend. We've built an inspections app, and recently a user submitted a form with more than 30 photos/images attached. While the form data was successfully submitted and saved, the associated images did not get uploaded to the Notes/Attachments section as expected.

I tried to recreate the issue and submitted 38 images via my phone, and it worked fine. 

1. How would you troubleshoot this issue so it doesn't happen again?
2. What are some reasons that it might have failed to send through?

I have the same question (0)
  • MichaelFP Profile Picture
    1,847 Super User 2025 Season 2 on at

    the size of the files are greater than the max allowed in the environment?

  • Jeggy Profile Picture
    5 on at

    I don't have permissions to see what the max is in our environment..
    But on the mobile app that was used, the option to "Optimize images for upload" was on. So the file size shouldn't be too big. 

    Jeggy_0-1719274705671.png

     




  • Ram Prakash Duraisamy Profile Picture
    5,593 Super User 2025 Season 2 on at

    Hi @Jeggy 

     

    Did you get any issues?

     

    Please mark as Answer if it is helpful and provide Kudos


    Subscribe : https://www.youtube.com/channel/UCnGNN3hdlKBOr6PXotskNLA
    Follow me on Twitter : @rampprakashd
    Blog : https://microsoftcrmtechie.blogspot.com

  • LA0 Profile Picture
    6 on at

    The default is 5Mb, so quite easy to exceed the default.  Also, double check what the file extension would have been and that it is not on the blocked list in dataverse. Also check for Notes that may have been created at the time that have no regarding field set (i.e. it may have uploaded into a Note, but the Note is not linked to any other records, so doesn't show on a timeline etc)

  • Jeggy Profile Picture
    5 on at

    Hey LA0 thanks for the great reply,

    Thanks I'll see if I can bump that default higher.

    As for file extensions, user's are forced to submit .jpg files, which is not on the blocked list I believe.

     

    On Add Picture control: 
    
    Collect(_colPhotoAttatchments,{DisplayName:"Location_"&Package_1.Value& "_Incident_"& Incident_Type_2.Value & "_" & Location_Incident.Value & "_" &Text(Now(), "[$-en-US]dd.mm.yyyy.hh.mm.ss") & "_Incident_"& _varCounter &".jpg", Id: GUID() & ".jpg", Value: _varPhoto });
     UpdateContext({_varCounter: _varCounter + 1});

     

    Then on success of the form, I patch the photo collection to the rows attachments.

     

    On Form Success:
    
    Patch(Location_Definitions_IncidentInspections, LookUp(Location_Definitions_IncidentInspections, Location_Incident_ID = _varIncidentID And Name = Name), {Attachments: _colPhotoAttatchments});

     

    Which normally goes to notes. But checked Notes, and nothing came through from the user from this specific incident. Just sucks because the form submission was successful but it didn't patch all the photos in. 

    Also the user used this app on their phone, so 'Optimize image for upload' was on so a photo submission which almost always comes through a bit below 300kb an image. 

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.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard