NotesEmbeddedObject (JavaScript™)
Represents any one of the following: An embedded object An object link A file attachment Note Embedded objects and object links are not supported for OS/2, UNIX™, and the Macintosh. File attachments are supported.
Creation
To create a new object, object link, or file attachment, use embedObject in RichTextItem.Access
To access an existing object, object link, or file attachment: To access an object, object link, or attachment when you know its name and the rich text item that contains it, use getEmbeddedObject in RichTextItem.To access all the objects, object links, and attachments in a particular rich text item, use getEmbeddedObjects in RichTextItem.
To access the objects and object links in a particular document, including those that are not contained within a particular rich text item, use getEmbeddedObjects in Document. This property does not return file attachments or objects and object links created in Notes® Release 3.