You need to sign in to do that
Don't have an account?
Venkat
Copy ContentNote content field to Case Description field
Hi All,
I want copy ContentNote Content to Case Description field. Here, Description is Text Area data type and Content filed data type is base64.
Problem: How can I copy Content field to Description field with images and text as it is?
When I am using trigger on ContentDocumentLink able to get the fields, but not able to copy as expected format. Some different value is coming when I did copy in trigger.
Thanks in Advance! :)
Regards
Venkat.
I want copy ContentNote Content to Case Description field. Here, Description is Text Area data type and Content filed data type is base64.
Problem: How can I copy Content field to Description field with images and text as it is?
When I am using trigger on ContentDocumentLink able to get the fields, but not able to copy as expected format. Some different value is coming when I did copy in trigger.
Thanks in Advance! :)
Regards
Venkat.
Thank You! for your response. Yes, we cant copy images or similar content to case description field. But I want copy the text only without any images. Is it possible to do that. For example if I had "Some Sample Text <<Imag>>" then needs to copy only "Some Sample Text" to Case description field.
Thanks
Venkat.
Just use a regex like ('<[^>]+>') and do string.replaceAll