RE: Bizzar thing when copying attachments from one doc to another Andrei Kouvchinnikov 11.Nov.04 09:28 AM a Web browser Domino Designer -- LotusScript All ReleasesAll Platforms
You manually create a document with richtext field, put " " in the field (not sure if empty item works too) and manually set hide-when properties of that richtext field. Then you programatically in your script access that richtext item and append it before/after actual item. I used it once and it works at least for one-line items.
You can also detach files to disk and then attach them back to new document. This eliminates all hide-when problems but the file icon associated with that file type will be replaced to default icon (which is OK in most cases).
You can probably use Notes API to reset hide-when in richtext items. Check also if MidasLSX has some hide-when features.