Share this page
Public Methods
Load | Downloads an attachment file to a client machine. |
LockObject | Locks the object. Returns True if the object has been changed on the server. |
Post | Posts all changed values into database. |
Refresh | Reads saved values, overwriting values in memory. |
Rename | Renames the attachment on the server. The attachment must be uploaded before calling this method. |
Save | Uploads a file to the server. |
Undo | Undoes changes to field values that have not been posted. |
UnLockObject | Unlocks the object. |
Public Properties
AttachmentStorage | Deprecated. The ExtendedStorage object of this attachment. Applies only to file attachments. |
AutoPost | If true, the database is updated immediately when the field value changes. |
Data | If the attachment is a file, an array of bytes. If a reference to file, the path or URL. |
Description | The attachment description. |
DirectLink | The link or the attachment file name on the server machine. |
Field | The value of the specified field. |
FileName | If a file, the file location. If a virtual file, the location for the attachment before it is uploaded to the server. If a URL, the link address. |
FileSize | Obsolete.Use IAttachment3 FileSizeEx instead. The attachment file size in bytes. |
ID | The item ID. |
IsLocked | Checks if object is locked for editing. |
LastModified | The last modified time. |
Modified | Checks if the item has been modified since last refresh or post operation. If true, the field properties on the server side are not up to date. |
Name | The attachment name. |
ServerFileName | The path to the attachment on the server machine. |
Type | The attachment type. Either File or URL. |
Virtual | Checks if this is a virtual item, that is, an item that does not have a corresponding database record. |
See Also
Tips to improve your search results...
ALM Open Test Architecture API Reference12.50 and laterOTA ReferenceAllView Local Help CenterView Online Help CenterbackGo back in browser historyforwardGo forward in browser historyRemove search highlightsnext topicGo to next topicprevious topicGo to previous topicPrint the current topicVersion: