Copy a long text field
I am trying to copy a long text field from 1 type to another through a trigger. The text field is rich content enabled and it has a image. Whjle copying I pictures are coming broken. The reason could be that in first type in the attachment field there is that image. While in second there is not. I tried to use getAttachment and addAttachment function But in addAttachment function I am getting error File does not exist in the disk. Any idea how to solve this??

