NLF example
The following load file is an example of attaching a file to an object. In this case, a transmittal is being attached.
.BeginContainer
.UploadInstruction
..RefClass|SPFDesignFile
..RefName|file2.txt
..RemoveLocalFileInd|False
.SPFDesignFile
..Name|file2.txt
..SPFCExternalTransmittal|JK1|SPFFileComposition_12
..SPFLocalDirectory|D:\Products\SPF40\SPF40_JK\XmtlFileAttach
..SPFLocalFileName|file2.txt
..SPFVault|SPF40Vault|SPFFileVault_12
..SPFEditInd|True
..SPFViewInd|True
.EndContainer
An alternate way of attaching file to an object is as follows:
.BeginContainer
.SPFCExternalTransmittal
..Name| JK1
..Action|AttachFile|D:\Products\SPF40\SPF40_JK\XmtlFileAttach\file2.txt|SPFDesignFile
.EndContainer
XML example
For an XML example of attaching a file to an object, see Design document creation.