Q

Extracting imported image into rich text field

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.

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.

This was first published in October 2004

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.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

SearchWinIT

Search400

  • iSeries tutorials

    Search400.com's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...

SearchEnterpriseLinux

SearchVirtualDataCentre.co.uk

Close