Attachment Data Archive CreatorWrite Record Method
Writes the Document child native file record to a attachment data archive (.ada). This method expects that
DocumentBytes to be non-null, if not, no record will be written to the .ada file.
Definition
Namespace: OpenDiscoverSDK.Platform.Archive
Assembly: OpenDiscoverSDK (in OpenDiscoverSDK.dll) Version: 2026.2.6.0 (2026.02.06)
Assembly: OpenDiscoverSDK (in OpenDiscoverSDK.dll) Version: 2026.2.6.0 (2026.02.06)
C#
public void WriteRecord(
Document document,
byte[] documentBytes
)Parameters
- document Document
- The Document instance whose 'documentBytes' is to be written to the attachment data archive (.ada) file. The following properties should be set on the document: DocControlNumber, and FormatId
- documentBytes Byte
- Document native file bytes.
Remarks
Upon completion of writing the Document's record, the following properties are set on Document:
IsAttachmentArchiveFilePath (set to true), FilePath (see to file path of .ada),
and AttachmentArchiveRecordOffset.