I need to attach 3 files (PDFs) to each record in a CDS entity. I have enabled attachments on the entity. I am also making use of the "File" datatype (filetype) in the CDS entity. I have 3 "File" fields in the entity.
Through a form and I am able to upload and attach files to the 3 fields manually with no problems. The trouble is I have thousands of records in the entity and I need an automated way to upload and attach all these files to their corresponding records.
I have been experimenting with Power Automation, with no luck. The "Update a Record" action does not expose the "File" datatype fields. I read somewhere that the file attachments are stored in the "Note" entity, but the "File" datatype attachments are not.
Can you please help me figure out a practical way to automate this process?
Solved! Go to Solution.
About your problem, I had some similar. That the flow in the power automate run twice and then generate two records in the fileattachments entity. Check if have two file records for the same record. I discovered this when I contact MS support about the download problem too.
Have you created a Flow to store a file in a Dataverse File field? I have been trying to get a Flow to do this and even used the JSON you mentioned, but I continue to get errors related to Flow not recognizing the MIME type.
Check out new user group experience and if you are a leader please create your group
Please join us on Wednesday, July 21st at 8a PDT. We will be announcing the Winners of the Demo Extravaganza!
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.