Attachments rotation

Hi all,

in a client application, i’ve a form in which i put 5 images, each one in a rich text field (rt1,rt2,rt3,rt4,rt5).

This form is populated with images by another document with an agent that put 1 image in the correct rt every time.

i would like to rotate/split images in this way:

  • new imag goes to rt1

  • image in rt1 goes to rt2

  • image in rt2 goes to rt3

Anybody knows an example database in which there’s something like this? Or can anybody give me some suggestions?

Thanks a lot

Andrea

Subject: Working with rich text fields

You can do it with NotesRichTextItem (and, may be, with other richtext classes)ONLY IN BACKGROUND!!

If the document being processed is open in user interface you should process it and save and store its Universall ID, and then set SaveOptions field to “0” and close corresponding UI-document (don’t save). Only after closing the UI document you can open it again with EditDocument method of NotesUIWorkspace class.