Hi. I am working on moving attachments to files. I currently have a custom object that has attachments uploaded to it. That custom object is the child (master/detail relationship) with the case object. I want to eliminate this custom object and associate the files directly to the case. After doing a bunch of research it seems I need to create a new contentdocumentlink record for each to link the new files to the case.
I noticed that after I convert a file, the original attachment is still there and the name of that attachment includes the 15 digit file id. I tried using that in my process but it seems that in order to create a new contentdocumentlink record I need the 18 digit file id. When I tried to use the data loader to create a new contentdocumentlink with the 15 digit contentdocumentid I received an error.
Does anyone have any ideas how I can share the file with the case using the dataloader?
Thanks!!
Fred
@Fred Kampf - We can run a script in developer console and it will associate custom object's related fiels to respective case record. In case if you need any help on this please DM me.