Hello Community,
we copied a database from an online partner hosted D365FO Tier 1 environment to a Microsoft hosted Tier 2 environment. In the new environment all the document references (Tables DocuRef and DocuValue) are still there, but the attached files are missing in the new environment.
Is there a way to transfer the Files from the Azure Blob Storage of the Tier 1 environment to the Tier 2 environment and update the DocuValue records so that they point to the files with the right documentId in the new Microsoft hosted storage?
Kind regards
Tino
Basically you might need to programmatically re-attach each file to the correct record in the system.
Before that you need to be able to extract every attachment from the old system.
So, you can start by searching the web for how to download / upload document attachments via x++.
Or, it might be possible to download / upload all the files at once.
Yes, we need to find a solution for this. I need to know which options we have. Of course we can't directly access the storage of the Microsoft hosted environment, so we need another way to upload the files.
When you copy database between systems, the document attachments are indeed not carried over.
This applies also if you copy from Prod to UAT.
As far as I know, there is no simple way to copy the attachments from one system to another. But it's definetely not impossible.
Are they so valuable that you want to invest significant time for it?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,900 Super User 2024 Season 2
Martin Dráb 229,275 Most Valuable Professional
nmaenpaa 101,156