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
Regards,
Pranesh
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,
Pranesh
User | Count |
---|---|
159 | |
97 | |
82 | |
75 | |
59 |
User | Count |
---|---|
195 | |
176 | |
103 | |
94 | |
86 |