APPLICATION DESIGN
Note The URLs shown below are for example only. They do not point to existing Web sites.
OpenElement
Use the ?OpenElement command to access attachments, image files, and OLE objects.
Using OpenElement with attachments
Syntax
http://Host/Database/View/Document/$File/Filename?OpenElement
Example
http://www.mercury.com/lproducts.nsf/By+Part+Number/SN156/$File/spec.txt?OpenElement
Note If more than one attached file has the same name, the URL includes both the "internal" file name as well as the external name. Since the internal file name is not easily determined, make sure all attached files have unique names.
Because some browsers require that the URL end with the attached file name, IBMR LotusR Domino(TM) treats all file attachment OpenElement commands as implicit commands. For example:
http://Host/Database/View/Document/$File/InternalFileName/Filename?OpenElement
Using OpenElement with image files
http://Host/Database/View/Document/FieldName/FieldOffset?OpenElement
http://Host/Database/View/Document/FieldName/FieldOffset?OpenElement&FieldElemFormat=ImageFormat
Optional argument for OpenElement
FieldElemFormat = ImageFormat
http://Host/Database/View/Document/FieldName/FieldOffset/$OLEOBJINFO/FieldOffset/obj.ods?OpenElement
Note The current URL syntax for referencing images and objects in Notes documents -- specifically the FieldOffset -- makes it impractical to create these URLs manually. As an alternative, you may paste the actual bitmap or object in place of the reference, create URL references to files stored in the file system, or attach the files to the documents.
See Also