Skip to main content
I am changing my data structure.  The problem I have is that there are many attachments on an object I will be deleting.  Because we have multiple people quoting on the same piece of business, we orininally had an object below the opportunity object.  I am deleting that object and creating multiple opportunities.  However, I need to take all of the documents that were under this custom object and link them to the opportunity object.  Is this possible? 

 

Thanks!!

 

Fred
6 respostas
  1. 9 de jul. de 2013, 20:16
    There is an Attachment object in the system that is available via the API. If you wanted to transfer attachments from one object to another you can do that by changing the value in the ParentId field. It won't be the easiest thing to do in the world but if you have access to a Data Loader or Workbench you can create an export file of the attachments you want to move, match them up to the new Opportunity ID's and then upsert back into the database.