std.GetRemark

This job delivers a note identified by the object type and RemIdent (note ID).

The job requires the note texts to be stored in the file system (see storage of notes). Under database storage it fails with -1043201745 (Note (ID = 0x…) was not found.); the text is then only available through the XML jobs and the remarks="1" query attribute. Measured against enaio® server 12.0.

1. Input Parameters

Name Type Required Description

Flags

INT

Yes

Must be 0.

RemIdent

INT

Yes

ID of the note

dwObjectType

INT

Yes

Object-type ID of the DMS object the note is attached to, not the note object type 32767. With 32767 the job fails with -1043201745

2. Output Parameters

Name Type Dependency Description

FileCount

INT

—

Always 1

3. Output Files

Name Description

File list

Path and filename of the sought note. A note file written by the server starts with the UTF-8 BOM and ends with a NUL byte; a file deposited through std.StoreRemark comes back verbatim instead

4. Return Value

(INT): 0 = Job successful, otherwise error code.