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 / file attachments store...
Power Apps
Unanswered

file attachments stored as appres://blobmanager/... instead of actual Base64 in Dataverse

(3) ShareShare
ReportReport
Posted on by 1
I’ve built a custom Canvas App (Power Apps) that allows users to upload an attachment and create a “Note” record (Annotation) in Dataverse (specifically within Customer Service Hub). However, when I patch the file to Dataverse, the documentbody field for the Note ends up with a appres://blobmanager/... reference rather than true Base64. As a result, the file appears in the Note record but cannot be opened or downloaded properly.
 
  • I’m using a standard Attachment Control (or similar) which generates a reference like appres://blobmanager/... for the uploaded file.

  • I need the actual Base64 content, not that blob manager URI.
Patch(
    'Note',
    Defaults('Note'),
    {
        'Tema': Table2_1.Selected,
        'Descrizione': TextInputCanvas2_1.Value,
        'Titolo': Table2_1.Selected.'Numero caso',
        'Documento (isdocument)': If(!IsEmpty(DataCardValue10_1.Attachments), true, false),
        'Documento (documentbody)': If(!IsEmpty(DataCardValue10_1.Attachments), First(DataCardValue10_1.Attachments).Value, Blank()),
        'Nome file': If(!IsEmpty(DataCardValue10_1.Attachments), First(DataCardValue10_1.Attachments).Name, Blank()),
        'Tipo MIME': If(
            !IsEmpty(DataCardValue10_1.Attachments),
            Switch(
                Lower(Right(First(DataCardValue10_1.Attachments).Name, 4)),
                ".png", "image/png",
                ".jpg", "image/jpeg",
                "jpeg", "image/jpeg",
                ".pdf", "application/pdf",
                ".txt", "text/plain",
                ".ml", "application/xml",
                "application/octet-stream"
            ),
            Blank()
        )
    }
);
Reset(TextInputCanvas2_1);
UpdateContext({varShowPopup: false});
Refresh('Note');
 
 
 
 
  • Is there a recommended approach or best practice to avoid storing appres://blobmanager/...?

  • Am I correctly handling the Attachment Control to get the full Base64 string in the Canvas App?
 
Thank you!
I have the same question (7)
  • MichaelFP Profile Picture
    1,847 Super User 2025 Season 2 on at
    Check if you run your canvas app in browser if it will work. I'm starting to see this issue this week. It works on browser but on mobile device doesn't work

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