dms.GetForeignObjects
With this job, all objects that have a document reference to a given object can be determined (aka. green arrow reference). The result is returned in the DMS Content format. The same output format options apply as for the job dms.GetResultList.
1. Input Parameters
| Name | Type | Required | Description |
|---|---|---|---|
|
INT |
Yes |
Flags for controlling the output format |
|
INT |
Yes |
ID of the target object whose document references should be displayed. The target object ID of the green arrow reference. |
|
STRING |
No |
A semicolon-separated list of reference types. If this parameter is not set, search is performed in all types in all cabinets. The reference type can be passed as a type ID or as the internal name of the type. If an archive (cabinet) is passed as a type, all contained document types are used as source types. |
2. Output Parameters
| Name | Type | Dependency | Description |
|---|---|---|---|
|
INT |
— |
Number of visible document reference objects to the target object. |
|
INT |
— |
Complete number of document references to the target object. When determining the number, the security system is not taken into account. If the input parameter |
|
BASE64 |
Optional |
Object list in DMSContent XML format (when Flags is not |
3. Output Files
| Name | Description |
|---|---|
|
Only one file is always returned |
|
Name and path of the DMSContent XML file containing the hit list |
4. Return Value
(INT): 0 = Job successful, otherwise error code
Complete error list
| The job supports the same input parameters as dms.GetObjectDetails or dms.GetResultList. |