AddSDIAttachment
Description:
Uploads an attachment to the database and associates it with an SDI.
Input Properties
sdcid
Description:
Identifier of the SDC for the SDI to which you are adding the Attachment.
Required:
Yes
keyid1
Description:
Identifiers of the SDIs.
Required:
Yes
keyid2
Description:
Identifiers of the SDIs.
Required:
Only for multi-key SDCs.
keyid3
Description:
Identifiers of the SDIs.
Required:
Only for multi-key SDCs.
attachmentclass
Description:
The attachment class to apply to the new Attachment.
Required:
No.
filename
Description:
Name of (and path to) the file containing the Attachment.
Required:
Yes
Comments:
Users must be able to access this path in order to access the Attachment.
sourcefilename
Description:
Name of (and path to) the file containing the Attachment.
Required:
Yes
Comments:
Users must be able to access this path in order to access the Attachment.
type
Description:
Determines how the file containing the Attachment is saved in the database. Possible values:
R = (meaning "Reference") saves only the File Name. This is a reference to the attachement.
S = (meaning "Store") makes a copy of the file and stores the copy to a BLOB field.
Required:
Yes
description
Description:
Text string that uniquely identifies the file containing the Attachment.
Required:
Yes
Comments:
The GetSDIAttachment Action uses this to retrieve the file.
applylock
Description:
Determines whether or not (Y/N) data are locked during Action processing.
Required:
No
index
Description:
Determines whether or not (Y/N) the attachment should be indexed.
Required:
No
uploadto
Description:
Location of uploaded files.
Required:
No
oleclass
Description:
OLE class name. This applies only to OLE links made in LVX Maintenance and Maintenance Grid Pages.
Required:
No
eventnotify
Description:
Determines whether or not (Y/N) an event is posted on the ToDo List when the Action executes.
Deprecated:
As of version 7, Event Notify actions are no longer generated
documentfield
Description:
Reference to a document file field. This property is typically only used in the GAP for file field processing.
Required:
No
Additional Information
Additional information concerning this Action:
This Action inserts a new record in the SDIAttachment table.
Copyright © 1999-2016 LABVANTAGE Solutions, Inc.