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.
Your chance to join an engaging competition of Power Platform enthusiasts.
The Super User program for 2022 - Season 2 has kicked off!
Attend in person or online, there are incredible conferences and events happening all throughout the month of September.
In response to the unique and evolving requirements of the United States public sector, Microsoft has created Power Apps US Government.