Lotus Notes Adapter 6.0 | webMethods Lotus Notes Adapter Documentation | webMethods Lotus Notes Adapter Installation and User’s Documentation | Built-In Services Reference | Built-In Services Reference | wm.ln.richText.richTextItem:embedObject
 
wm.ln.richText.richTextItem:embedObject
This flow service, given the name of a file or an application, does one of the following:
*Attaches the file you specify to a rich-text item.
*Embeds an object in a rich-text item. The object is created using either the application or the file you specify.
*Places an object link in a rich-text item. The link is created using the file you specify.
embedObject is not supported under OS/2, under UNIX, and on the Macintosh.
Input Parameters
item
Item The item.
type
String One of the following values:
*EMBED_ATTACHMENT
*EMBED_OBJECT
*EMBED_OBJECTLINK
class
Item Optional. If you are using EMBED_OBJECT and want to create an empty embedded object from an application, use this parameter to specify the name of the application (for example, "123Worksheet") and specify null for source. Case sensitive.
If you are using EMBED_OBJECTLINK or EMBED_ATTACHMENT, specify an empty string ("").
source
String If you are using EMBED_OBJECT and want to create an embedded object from a file, use this parameter to specify the name of the file, and specify null for class. If you are using EMBED_ATTACHMENT or EMBED_OBJECTLINK, use this parameter to specify the name of the file to attach or link.
name
String Name by which you can reference the EmbeddedObject later. Can be null.
Output Parameters
embeddedObject
EmbeddedObject The newly attached file, embedded object, or linked object.
Files can be attached on any supported platform, but objects and links can only be created on platforms supporting OLE. Files can be embedded as OLE/2 objects only on platforms supporting OLE, but they can be embedded as OLE/1 objects on any supported platform (if the file is of a supported type, such as a Lotus® application data file).