function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Smita HodiggeriSmita Hodiggeri 

SOQL query to know the owner of the file after migration from attachments to Files.

Hi Community,

I am doing migration from Notes & Attachments to Files. and I am trying to establish who becomes owner of the migrated attachment(File). Would it be the original owner or will it be the person who carried out migration? 

Can do we SOQL to get this info?
SwethaSwetha (Salesforce Developers) 
HI Smita,
How are you migrating the Notes & Attachments to Files? We use notes & attachments in lightning too. What is the usecase to migrate to files? Thanks