Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
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?

Categories:
  • Jeggy Profile Picture
    5 on at
    Re: Issue with Image Attachments Not Submitting to Notes

    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. 

  • LA0 Profile Picture
    6 on at
    Re: Issue with Image Attachments Not Submitting to Notes

    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)

  • Ram Prakash Profile Picture
    5,166 Super User 2025 Season 1 on at
    Re: Issue with Image Attachments Not Submitting to Notes

    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

  • Jeggy Profile Picture
    5 on at
    Re: Issue with Image Attachments Not Submitting to Notes

    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

     




  • MichaelFP Profile Picture
    1,831 Super User 2025 Season 1 on at
    Re: Issue with Image Attachments Not Submitting to Notes

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

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 17

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics