How do I extract and put images in a folder if the image is imported into a rich text field?
There's not an easy, built-in way to do this. There is no rich text class or method to handle imported images -- only attached images.
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
You can use third-party tools to do this, such as Midas rich text API from Geniisoft. It can be done with the Notes C API, though deciphering the rich text "CD" records is a sort of a black art. Or, if you can do a little custom programming, use the NotesDXLExporter class to get an XML description of the document, use the XML manipulation classes to scan it for "picture" tags, and convert the encoded data back to binary, writing this data to a file. I don't have sample code on hand, but depending how you intend to deploy it and how much your time is worth, it's probably more cost effective to use Midas.
Do you have comments on this Ask the Expert question and response? Let us know.
Dig Deeper on XML and Web Services for Lotus Notes Domino
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.