I am using the Attachments control in Power Apps to upload files, and I need to patch these files into a Dataverse table. However, I noticed an issue with how the .Attachments output is structured and mapped:
-
The
Attachmentscontrol outputs a table with two columns:- DisplayName: The file name (e.g.,
InvitationCard.jpg). - Value: The actual file content (e.g., a reference to binary data or file URL).
- DisplayName: The file name (e.g.,
-
By default, both the
DisplayNameandValuecolumns are mapped to the file name. For example:- DisplayName:
InvitationCard.jpg - Value:
InvitationCard.jpg(instead of the actual content or URL).
- DisplayName:
-
I need to update the
Valuecolumn to map the actual file content (e.g., binary data or file reference) so that it can be saved correctly in a Dataverse file field.
Question: How can I correctly map the Value column of the Attachments control to the actual file content or binary data instead of the file name?
The error or limitation prevents me from properly uploading files to Dataverse because the Value column does not contain the expected data.
From youtube video, I saw the other youtuber have the option to do mapping in advance property tab. Attached two images for your reference.
I understand that turning off the Power Fx formula bar will make the mapping option visible but there is no Power Fx formula bar in my power apps setting.
Your input will be greatly appreciated!


Report
All responses (
Answers (