dms.GetPDFAnnotationInfo
This job returns an integer-encoded info value about the PDF annotations present on a DMS
document. Which value is returned is controlled by the InfoType parameter — typically an
indicator or counter (e.g. "number of annotations" or "persistent PDF annotation layer
present").
The job is the lightweight counterpart to dms.GetPDFAnnotations, which returns the full annotation content. Typical use: check up front whether a document has annotations without having to fetch the full content (e.g. for tab icons or badges in the document view).
|
This job is not listed in the official enaio® DMS engine overview. On the server the job
prefix is written in upper case ( |
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
INT |
Yes |
Numeric ID of the DMS document. |
|
INT |
Yes |
Selector for the info value to return. Default: |
|
INT |
Yes |
Numeric user ID of the caller; used for the permission check. |
|
INT |
Yes |
Reserved; always pass |
2. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
INT |
— |
Requested info value. The meaning depends on the input |
3. Return Value
(INT): 0 = job successful, otherwise error code (e.g. object does not exist, missing
permission).
For further return values see Error Codes.
4. Required Roles
The caller needs the following system role:
-
81— Client: View preview annotations
5. Notes
-
Read-only — the job modifies neither annotations nor object data.
-
In contrast to dms.GetPDFAnnotations (which transfers the full JSON content), this job returns only a single integer and is intended for high-frequency indicator queries.
6. Related Jobs
-
dms.GetPDFAnnotations — returns the full PDF annotation content as JSON
-
dms.CreatePDFAnnotations — creates new PDF annotations
-
dms.UpdatePDFAnnotations — updates existing annotations
-
dms.DeletePDFAnnotations — deletes annotations