Showing results for 
Search instead for 
Did you mean: 
Helper III
Helper III

can we upload file before creating record in Model driven app?

Hello Experts, 


I have below requirement in model driven app,

I have one entity and it has one of the columns of File data type,

In that entity I have one record with html file attatched to that record (as it has file data type column)


now I want to clone that record to new record, in this process I want to read the html file from the older record and create a new record, here I am able to capture all the fields but not able to capture the html file from the older record to new.

because before creating record I want to patch the html file to new record, but it is showing that below message "This record hasn't been created yet. To enable file upload, create this record"



how to solve this issue?
what are the best possible ways to achieve this?


any quick response is really appreciable





Super User
Super User

Hi @praneshJ,


You'll need to create the record before you can update it with any file column data, therefore 2 operations are required. This is the current behavior/design of Dataverse file and image column types.


Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

Hello @ChrisPiasecki ,


Thanks for the response, now I got it, this process should go through two stesp as you mentioned 

1. The records first need to be created 

2. Then file needs to be attached.


Is there any blog spot which will help me to implement this?


Thanks in advance!


Best Regards,


Helpful resources

Power Platform Call June 2022 768x460.png

Power Platform Community Call

Join us for the next call on August 17, 2022 at 8am PDT.

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Users online (1,568)