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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Pages / Power Pages - Upload p...
Power Pages
Unanswered

Power Pages - Upload photo directly to Dataverse table - Not to Azure Blob or Notes

(0) ShareShare
ReportReport
Posted on by 188

Dear Community,

 

I want a simple solution to upload photos directly to my Dataverse table, which is what my website is built on.

The answer is usually no. The upload, or how the attachment works in the Power Pages, is usually via Azure Blog or Notes.

It is just the way D365 has always been working this way.

 

When you insert your form to the page, you can enable the attachment.

nhtkid_0-1701600407080.png

And then you can see the upload option in your form.

nhtkid_1-1701600473378.png

I created a label called "Upload to D365", just to highlight by click the "Choose File" button, it will upload to D365. Most people will configure it as Notes. PS I also don't know my photo column is outside the frame.

nhtkid_2-1701600701045.png

 

I understand this and I know it is not possible to upload directly to my Dataverse table, until I tried the following.

 

In my table, there is already an image column.

nhtkid_3-1701600836718.png

When I inserted the new form to the page based on this table, the photo field get populated with the correct input control, which is expected.

nhtkid_10-1701601543269.png

 

 

Then I moved on to create my list page to display the table data, enabled view and edit for the record.

nhtkid_6-1701601094819.png

To my surprise, when I clicked on the View details, the photo field has actually displayed the image data that was stored in the table.

nhtkid_7-1701601171023.png

More surprisingly, if I select the Edit, I can delete the photo, and upload new photo.

nhtkid_8-1701601230577.png

nhtkid_9-1701601290265.png

I tried it and it writes straight back to the dataverse table and works smoothly.

As you can see, the input control here is responding to the Photo column in the table, not the Form attachment, which would have a different text label.

 

So that tells me, it is possible that in the Power Pages, you can have an input control that directly upload the data back to the Dataverse table. 

When I tested the site on a tablet, it can also use the device camera to take photo and submit to the Dataverse.

 

So my question is, why in my New Form page, I couldn't have this input control working. It does not trigger an input control.

nhtkid_11-1701601597468.png

This error is almost like the Photo field is in the wrong mode.

All three forms are exactly the same but in different mode, Insert/ReadOnly/Edit.

The new form is in the Insert mode, but this Photo field, seems like trying to display the data, which of course has nothing to show.

nhtkid_12-1701601772271.png

 

Thank you very much!

 

 

 

 

 

 

Categories:
I have the same question (0)
  • Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at

    Historically, Notes was the only option, however more recently Microsoft introduced a new field type for File, and so now File is also available.  However, File type columns are only available after the base record has been created/saved.  You will see the same message if you have a File field in a Model Driven app.

    Behind the scenes (Portal Management /Power Pages App) there is a checkbox on the portal form's definition for Notes and only if that checkbox is ticked will it allow Notes to be attached as part of the creation of the record, if that checkbox is not checked and you just configure a metadata record for the portal form Notes also can only be attached after the main record is created.  

     

    As to why, I would guess that it has to do with the fact that the file data is actually stored in a different Table - even though you see it as a field on the main table, the data is actually stored in a different table.  To link the file data to the main record the main record needs to exist (as creation will generate its internal GUID). 

    For Notes, the portal has the special checkbox which changes the order the records are created in and then it performs updates behind the scenes (in the portal code), Microsoft have not implemented the same for File type columns (and it technically may not be possible at the moment as they are structured differently to Notes - You could always create a Note without its Regarding field being populated and update it later [the Regarding objectid is the link to the main record], but the File column is tightly bound to the main Table)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Pages

#1
DP_Prabh Profile Picture

DP_Prabh 29

#2
oliver.rodrigues Profile Picture

oliver.rodrigues 25 Most Valuable Professional

#3
Hammed Profile Picture

Hammed 22

Last 30 days Overall leaderboard