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 / attachements in forms
Power Pages
Suggested Answer

attachements in forms

(0) ShareShare
ReportReport
Posted on by
Hello community , 
In power pages i made a that contains lot of fields and 3 fields of type files , all field works perfectly only the files type fields , i can't add an attachement in them and it says "This record hasn't been created yet. To enable image upload, create this record"
Capture d'écran 2026-03-09 161814s.png
Categories:
I have the same question (0)
  • Suggested answer
    Kalathiya Profile Picture
    1,732 Super User 2026 Season 1 on at
    Hello @CU09031515-0
     
    This is actually the default behavior in Microsoft Power Pages. File/Image columns can only upload files after the record has been created, because the file needs an existing record ID to attach to.
     
    A common way to handle this is: (Basic or Multi Step Form)
    - First create/save the record with the other fields.
    - After the record is created, edit the record and upload the files.
     
    Reference: 
     
    If this response resolves your issue, please mark it as the Verified Answer so it can help other community members as well.
    ---------------------------------------------------------------------------------
     
    📩 Need more help? Mention @Kalathiya anytime!
    ✔️ Don’t forget to Accept as Solution if this guidance worked for you.
    💛 Your Like motivates me to keep helping!
  • Suggested answer
    Lucas001 Profile Picture
    2,541 Super User 2026 Season 1 on at
     
    you can see the behaviour as well in your ModelDrivenApp you are probably using as backend.
    As stated above by @Kalathiya the record must be created and an attachment can later be attached to the record.
     
    One approach which works really well is using the mulitstep form. These forms are going to create a record when they are started and you can add an attachement on the second step. Styling is working as well with some CSS.
     
    What you can also do is use cloud flows running after each other responding with a state 200 and the recordId. You can than add the file content as well as input for the second flow. Longer to setup and more to take care about. If you have the option, try the multistep form.
  • Suggested answer
    Fubar Profile Picture
    8,487 Super User 2026 Season 1 on at
    As per other posts, for most file upload the base record need to exist first.
     
    However, there is one option that does not need the base record to exist first and that is if you use Notes attachments (instead of file fields). For Notes attachments there are 2 ways to do them, one is through the configuration of a metadata record (this still requires the base record to exist first), the second way is to enable the file upload on the Basic form or Step (if using a multi step form) by setting the Attach File options on the form/step itself (you would need to use the Power Pages Management app to configure this).
     
     
  • Suggested answer
    DP_Prabh Profile Picture
    354 on at
    This is default behavior but if you want users to be able to upload files when adding a new record this is possible follow the steps given in this Microsoft article: Set up notes as attachments for basic and multistep forms | Microsoft Learn
     
    When adding new record, it would show like this (you can customize the UI experience accordingly) 
    Also, you can define number of files, size of files and where the files metadata should be store either in notes (table of Dataverse) or in Azure blob storage.
    I hope this solve your problem.
    If not, you can pin me anytime. Happy to help!
  • Kalathiya Profile Picture
    1,732 Super User 2026 Season 1 on at
     
    If this solution helped, please consider marking it as the verified answer so it can help others in the community 😊
    If you still need assistance, feel free to let us know, we’re happy to help!

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!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Pages

#1
rezarizvii Profile Picture

rezarizvii 71

#2
DP_Prabh Profile Picture

DP_Prabh 36

#3
oliver.rodrigues Profile Picture

oliver.rodrigues 32 Most Valuable Professional

Last 30 days Overall leaderboard