Skip to main content

Today I learned that the standard account, lead, and contact merge functionality will not reparent files, only attachments.

 

This is not listed as an issue on the developer.force.com documentation (https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/langCon_apex_dml_examples_merge.htm) where it says:

 

"The merge operation merges up to three records into one of the records, deletes the others, and reparents any related records."

 

Its pretty easy to test.  I tested a few times on accounts and the results are clear - only attachments are reparented, not files.

 

Seems like a major issue for @Transitioning to Lightning Experience since only Files is supported in lightning.

 

Data loss is bad!  Orphaned files = data loss.  How is this OK?   Is there a known issue or anything on the roadmap to fix this? 

 

@True to the Core 

@Salesforce Files 

@Salesforce MVP Collaboration Space 

86 comentarios
  1. 6 ago 2018, 20:44
    i tested and it worked fine on contacts and accounts. havent tested leads yet but i think we are all good! thank you all for resolving the merge issue.
0/9000