DMS Engine (Engine dms)
The DMS executor includes jobs for requesting and processing index data, DMS objects and folders, taking the security system into account. Furthermore, there are jobs to manage the security system at the object level.
1. Object Management
1.1. General Description of XML Import Jobs
All XML import jobs follow the same schema and can be largely handled in a generic way.
They have the same input parameters (Flags, Options, XML) and basically the same return parameters.
Via Flags the general behavior of the job is controlled (e.g. error list generation or XML validation).
Via Options specific checks (e.g. key field check) can be enabled or disabled.
XML contains the data describing the object to be inserted.
JobUserGUID allows changing the user context for this job.
1.1.1. Import Schema
The XML argument must be passed Base64-encoded, as otherwise the server would have problems with special characters or UTF-16/UCS-4 formats.
A schema exists for the XML structure, which can be retrieved via dms.GetXMLSchema (parameter Schema = "DMSData").
If attributes are set that the job should not evaluate, text attributes must be pre-defined with the empty string "" and numeric attributes with -1.
<?xml version="1.0" encoding="UTF-8"?>
<DMSData>
<Archive internal_name="patient">
<ObjectType internal_name="medical_letter" type="DOCUMENT">
<Object>
<Fields>
<Field internal_name="firstname">Max</Field>
</Fields>
</Object>
</ObjectType>
</Archive>
</DMSData>
XML Elements
DMSData-
Root element. Via the optional attribute
query_languagethe language for DMS identifiers can be specified (e.g."7"for German,"9"for English). If the attribute is omitted or set to"0", the server default language applies. Archive-
Identifies the cabinet in which the object type is located or should be inserted. If no attribute is specified, the server tries to determine the cabinet based on the object type — however, this affects performance. Identification attributes:
internal_name(internal cabinet name),name(cabinet name),id(object type ID),osguid(GUID). ObjectType-
Defines the object type of the object to be processed. The attribute
typeis mandatory and indicates whether it is a folder (FOLDER), register (REGISTER) or document (DOCUMENT). Identification attributes:internal_name,name,id,table,osguid, or a valid combination ofmaintypeandcotype(see Object Type ID). Object-
Contains information about the concrete object to be processed. For jobs that require an existing object (e.g. dms.XMLUpdate),
object_idmust be specified as an attribute. For location specification (e.g. with dms.XMLInsert)register_id,register_typeand/orfolder_idare used. For documentsmaintypecan be set. Variants of W-documents are specified viavariantparent_id(ID of the parent document). Viaconcurrency_timestamp(combined with the field valueMODIFYTIME) it can be checked whether the object has been changed by another user since the query.sourceparent_iddetermines which location is affected when moving/deleting documents with multiple locations. Fields-
May only appear once per object. Contains the list of fields to be processed.
Field-
Describes a single field. Identification attributes:
internal_name,name,dbname,sortpos,osguid. The element text contains the value to be assigned. System fields are marked with the attributesystem="1". The following system fields can be set viaField:Database name Internal Name Meaning OSOWNEROwner of the object
FOREIGNIDForeign ID of a reference
SYSTEMIDSystem ID of an object
Via the optional attribute
field_functiona calculated value can be set:Attribute value Meaning NULLField value is inserted as DB NULL (empty field)
OBJECT_IDField value corresponds to the internal ID of the object
USERField value corresponds to the name of the logged-in user
MultiFields-
May only appear once per object. Contains the list of multiple fields to be processed (only allowed for documents).
Multifield-
Identifies a specific multiple field. Identification attributes:
internal_name,name,dbname,osguid. Page-
Designates a specific page of the multiple field; the page number is in the attribute
id. Value-
Contains the value for the associated page (as element text).
TableFields-
May only appear once per object. Contains the list of table fields to be processed.
TableField-
Identifies a table field (Table Control). Identification attributes:
internal_name,name,dbname,osguid. Row(withinTableField)-
Describes a row of the table field (summary of all columns of a row).
Field(withinRow)-
Value of a specific column; identification via
internal_name,nameordbname.Alternatively to the
Row/Fieldwriting style, rows can be described byColumns/Rows/Valueelements: Columns-
Defines the column order for the following value list.
Column-
Describes a column; identification via
internal_name,nameordbname. Rows-
List of
Rowelements. Row(withinRows)-
A row; the order of values corresponds to the column order defined under
Columns. Value(withinRow)-
Value of a column as element text.
Remarks-
List of notes (
RemarkTextorRemarkObject). RemarkText-
Note text for the object (as element text).
RemarkObject-
Links the object via notes to another object. Attributes:
object_id(ID of the object),object_type(type of the object).
1.1.2. Parameter Flags
Via Flags the general behavior of the job is controlled.
The flags can be added (e.g. 1 + 16 = 17 for error list as file in UTF-16).
| Flag (decimal) | Description |
|---|---|
|
The error list is returned in file format. |
|
The job does not return an error list. |
|
No validation of XML data against the XSD file. |
|
The supplied files are not deleted on the server. |
|
The returned error list is encoded in UTF-16 (default: UTF-8). |
1.1.3. Parameter Options
Via Options specific checks can be enabled or disabled.
The value is a semicolon-separated list in the format OPTION1=1;OPTION2=0;….
Disabling can lead to significant performance improvement.
| Option | Description | Default | Usable in |
|---|---|---|---|
Indicates whether files to be appended during update and variant creation are appended before ( |
|
||
Indicates whether the document gets the status "archivable" ( |
dms.XMLInsert: |
dms.XMLInsert, dms.XMLUpdate, dms.XMLCopy, dms.XMLUnknownToKnown |
|
Indicates whether the document is archived immediately ( |
|
||
Indicates whether the object definition is also archived for an immediately archived document ( |
|
||
User rights for the object are checked ( |
|
dms.XMLInsert, dms.XMLUpdate, dms.XMLMove, dms.XMLDelete, dms.XMLCopy, dms.XMLUnknownToKnown |
|
Checks whether all passed catalog entries exist in the original catalog ( |
|
||
Checks whether the specified object exists at the specified location ( |
|
dms.XMLInsert, dms.XMLUpdate, dms.XMLMove, dms.XMLDelete, dms.XMLCopy, dms.XMLUnknownToKnown |
|
Checks whether key fields are unique ( |
|
||
Checks whether all required fields are set ( |
|
||
Checks whether specified (target) objects (e.g. folders) exist ( |
|
||
Checks whether no fields have been modified for which no write rights exist ( |
|
||
Indicates whether objects should be copied cascading if they contain sub-objects ( |
|
||
Indicates whether only index data is copied ( |
|
||
Indicates whether information about copying is recorded in the history ( |
|
||
Indicates whether objects should be deleted cascading even if they contain sub-objects ( |
|
||
Indicates whether deleting an inactive variant leads to deleting the entire variant tree ( |
|
||
Indicates whether the last submitted file should contain full-text data for the document ( |
|
||
Indicates whether the object should be permanently deleted (not to trash, |
|
||
Indicates whether all unset fields should be filled with default values ( |
|
||
Indicates whether the object should be inserted into the user tray ( |
|
||
Indicates whether the object should be inserted into the workflow tray ( |
|
||
Indicates whether an already existing link should not be treated as an error ( |
|
||
Indicates whether a document should only receive a new location ( |
|
||
Indicates whether already stored files should be replaced by the passed ones ( |
dms.XMLInsert (variants): |
||
Indicates whether the passed multiple fields replace the originals ( |
|
||
Indicates whether the passed remarks replace the originals ( |
|
||
Indicates whether the passed table fields replace the originals ( |
|
||
Indicates whether passed strings should be truncated if they are longer than defined ( |
|
||
Indicates whether the object should be inserted into the tray as typeless ( |
|
||
Indicates whether unspecified fields should be set to empty ( |
|
||
Indicates whether the variant should be inserted at the same level ( |
|
||
Indicates whether the new variant should be set as "active" in the same step ( |
|
||
Indicates whether the new variant should inherit the planned retention time of the original document ( |
|
||
Indicates whether when moving a document it should be moved from the workflow tray to the user tray ( |
|
1.1.4. Parameter JobUserGUID
Via JobUserGUID the user context of the XML job can be changed.
If the GUID of a user is specified here, all checks (e.g. access rights) as well as storage operations are performed with the specified user.
| This option is only available when jobs are called from other jobs on the server side. A client will always refuse to set this option. |
1.1.5. Parameter File_N
Alternatively to file transfer via the TCP stream, file paths can be passed as parameters File_0, File_1, etc. (ascending).
The parameter is of type STRING and contains the complete file path (local or UNC notation).
This requires that the caller is on the same computer as the server and that the path is reachable by the server with the necessary rights.
Either only a file list or exclusively File_N parameters can be passed — mixing both variants is not permitted.
|
1.1.6. Return Values
Besides job-specific return values, each job returns a return number.
This is 0 in case of success. In case of error, the number can be used for rough qualification;
for detailed analysis, the XML error list (parameter DMSResult) is required.
| Error Number | Description |
|---|---|
|
Job executed successfully. |
|
General error (not further specifiable). |
|
No cabinet specified. |
|
Specified cabinet unknown. |
|
No register type specified. |
|
Specified register type unknown. |
|
No document type specified. |
|
Specified document type unknown. |
|
The specified register is not in the specified folder. |
|
The specified document type is not allowed in the specified cabinet. |
|
Required identification of the folder is missing. |
|
Required identification of the document is missing. |
|
Required identification of the register is missing. |
|
Required identification of the register is unknown. |
|
Required identification of the folder is unknown. |
|
Required identification of the document is unknown. |
|
Updating the folder failed. |
|
Updating the document failed. |
|
Updating the register failed. |
|
The document has already been archived. |
|
The specified/required object is unknown. |
|
The ID of the specified register does not exist on the archive server. |
|
The field name could not be resolved. |
|
The value for a given field is not allowed. |
|
The specified object ID is invalid. |
|
Required fields have not been filled. |
|
The specified value does not match the type on the archive server. |
|
The specified/required file does not exist. |
|
An input parameter is faulty or missing completely. |
|
The user does not have the corresponding rights on the archive server. |
|
The document has no pages. |
|
Could not retrieve index from server. |
|
Moving folders is not allowed. |
|
The relationship between document and register is not allowed. |
|
Link documents cannot be moved without specifying a location. |
|
No document pages are allowed. |
|
The specified value could not be found in the associated catalog. |
|
The key field is not unique. |
|
Attempted to set a read-only field. |
|
No document list was specified. |
|
The specified object is linked to a workflow process. |
|
The requested functionality is not implemented in the current version. |
|
An error occurred while reading object definitions from the ObjDefReader. |
|
Could not access the requested file. |
|
The object is in the trash. |
|
The document is in a portfolio. |
|
Recursion depth is too great, the action was canceled. |
|
The target register is a child of the register to be moved. |
|
A system ID was specified, but no foreign ID. |
|
Pages cannot be added to a link document. |
|
A document cannot reference another document because it has pages. |
|
An error occurred while parsing the XML text. |
|
An error occurred while validating the XML text. |
|
The XML text is incomplete. |
|
The specified owner could not be determined. |
|
The object type is invalid for this operation. |
|
Cannot delete cascading, the object still has sub-objects. |
|
The reference was not found. |
|
The specified system field cannot be changed by the user. |
|
A job parameter is missing. |
|
The specified parameter value is invalid. |
|
The user cannot disable the rights check. |
|
More values were specified for a table field than there are columns. |
|
An error occurred while inserting note objects/texts. |
|
An XML element is unknown. |
|
An object type was not found on the DMS server. |
|
An object field was not found on the DMS server. |
|
The job was canceled upon user request. |
|
The specified condition is invalid. |
|
An XML attribute is faulty. |
|
A required XML attribute is missing. |
|
Only documents can be checked out. |
|
The document has been checked in. |
|
The document has been checked out. |
|
The document has been checked out to another user. |
|
The document has been checked out to another station. |
|
The document cannot be checked out because it has no pages. |
|
The document is not in the workflow tray. |
|
The document is in the workflow tray. |
|
The parent variant of the document could not be determined. |
|
Only new variants can be created for W-documents. |
|
The document variant could not be determined. |
|
The user data specifications are not unique. |
|
A concurrent update of an object failed. |
|
The request was not found. |
|
A copy of the object already exists at the specified location. |
|
The request format is not supported. |
|
The cabinet name could not be read. |
|
The document name could not be read. |
|
The register name could not be read. |
|
An expression has an invalid format. |
|
The section name is invalid. |
|
General error while reading the request. |
|
Unknown request type. |
|
The new variant was created but could not be set to "active". |
|
The request could not be processed. |
|
Moving or linking objects is blocked system-wide. |
|
The object location could not be determined. |
|
The document already exists at the location. |
|
Copying objects with key fields is not allowed. |
|
The specified password is incorrect. |
|
The new and old passwords are identical. |
|
The full-text request contains only ignoreable words. |
|
Insufficient memory is available. |
|
Access to a system resource was denied. |
|
In job dms.XMLImport "error" was specified as action regarding hit count. |
1.1.7. Cross-Job Restrictions
Date and Time Formats
Date fields can be imported in the following formats (DD = two-digit day, MM = month, YY/YYYY = two-/four-digit year):
-
DDMMYY -
DDMMYYYY -
DD.MM.YYYY
Time fields are imported in the format HH:MM:SS.
Timestamps are imported in the format DD.MM.YYYY HH:MM:SS (date and time separated by a space).
Special Field Types
-
A checkbox can only contain the values
0or1. -
An option button can be identified by the name of the first button (according to tab order) or the name of the group field. Allowed values start at
0. -
Field types patient type, page, gender and question accept both the first letter and the fully spelled-out value.
-
Decimal values can start with a plus or minus sign; decimal places can be separated by dot or comma.
-
In multi-line text fields individual lines are separated by Carriage Return + Line Feed; in XML by the combination

. -
In a multi-language catalog the technical values (corresponding to the database values) must be stored.
1.1.8. The XML Error List
In case of an error, an XML error list is returned by default in the return parameter DMSResult.
Optionally, this can also be returned as a return file (Flags = 1).
| The first errors listed in the list are the most informative. |
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<DMSData>
<Messages>
<Message Sourcename="oxjobdms">The field >Table - Column2< has a catalog; however, the value >7< could not be found in the catalog</Message>
<Message Sourcename="oxjobdms">SAX Error: Common exception</Message>
<Message Sourcename="oxjobdms">An error occurred during XML import</Message>
</Messages>
</DMSData>
2. Document Lock
Jobs for exclusively locking and releasing document files to prevent multiple users from editing the same document simultaneously.
3. System Configuration
Jobs for querying archive structure and object type definitions, plus conceptual references.
-
Object Type ID — structure and computation of the numeric
objecttypeidfrommaintypeandcotype
6. Security System
6.1. Detailed Description
With version 4.50, in addition to the existing rights system, a security system at object level (SSOL) is available. With this system, a so-called Security Descriptor (SD) can be created for each object, which refers to an Access Control List (ACL) — a list of access control entries (ACE — Access Control Entry). With an access control entry, access permissions for a user or user group for changing index data as well as changing, deleting and exporting objects can be defined.
In the DMS executor, jobs for processing the access structures for this security system are implemented. Furthermore, there is the job dms.CheckPermission, which independently checks the access rights for a specific object regardless of the rights system used.
6.1.1. XML Format of Access Control Entries
To describe the list of access control entries, XML is used. The jobs dms.CreateSD, dms.ReadSD and dms.SetSD use the same XML schema, which can be retrieved via dms.GetXMLSchema.
<DMSAccess timestamp="" version="4.50">
<ACL ossd="" object_type="" object_id="">
<UserACE modify_index="0" modify_object="0" delete_object="0"
export_object="0" osuid=""/>
<GroupACE modify_index="0" modify_object="0" delete_object="0"
export_object="0" osgid=""/>
</ACL>
</DMSAccess>
<DMSAccess> attributes:
timestamp-
Creation time of the Access Control List (Format:
YYYY-MM-DDTHH:MM:SS). version-
Product version number.
<ACL> attributes:
ossd(STRING)-
GUID of the Security Descriptor.
object_type(INT)-
Object type.
object_id(INT)-
ID of the object instance.
<UserACE> or <GroupACE> attributes:
osuid(STRING)-
GUID of the user (
<UserACE>). osgid(STRING)-
GUID of the user group (
<GroupACE>). modify_index(INT)-
Access type "write index data":
0= not set,1= allowed,2= forbidden. modify_object(INT)-
Access type "edit object":
0= not set,1= allowed,2= forbidden. delete_object(INT)-
Access type "delete object":
0= not set,1= allowed,2= forbidden. export_object(INT)-
Access type "export object":
0= not set,1= allowed,2= forbidden.
6.1.2. Glossary
- SSOL
-
Security System at Object Level — security system at object level.
- ACE
-
Access Control Entry — contains the allowed or forbidden access types for a user or user group.
- ACL
-
Access Control List — list of all ACEs associated with an object.
- SD
-
Security Descriptor — for each object a Security Descriptor can be created, which identifies an ACL. For objects with SD the SSOL applies; for objects without SD the previous rights system at object type level applies.
7. Portfolios
7.1. Detailed Description
These jobs are used to request and edit portfolios.
7.1.1. Portfolio XML Format
<Portfolios>
<Portfolio id="123" created="135233432" creator="jdoe"
recipient="muster" subject="Sample Portfolio" objtype="13072">
<Objects>
<Object objecttype_id="13072" id="12"/>
<Object objecttype_id="13072" id="34"/>
</Objects>
</Portfolio>
</Portfolios>
The root element <Portfolios> can be omitted if only one entry is defined.
<Portfolio> attributes:
id(INT)-
ID of the portfolio.
created(INT)-
Timestamp of creation.
creator(STRING)-
Name of the creator.
recipient(STRING)-
Recipient.
subject(STRING)-
Title of the portfolio.
objtype(INT)-
Object type to which the portfolio is restricted.
<Objects> contains the list of objects (folders, registers, documents) in the portfolio.
<Object> attributes:
objecttype_id(INT)-
Object type.
id(INT)-
ID of the object instance.
8. User-Related Data
8.1. Detailed Description
The jobs in this area are used to manage arbitrary user-related data. Each data entry is identified by a freely selectable name (maximum length 100), a type and the user ID. The user ID is automatically determined by the jobs from the ID of the logged-in user. The value of the entry is written to a BLOB field and can have any content.
| The type is not freely selectable. If a new type is needed, it must first be registered. |
| Type | Description |
|---|---|
|
Saved queries |
|
External programs |
|
AS.INI |
|
Folder structure under "Desktop" |
|
Extended queries |
|
Data from current aslisten.dat |
|
AS object in desktop area |
|
Entries for list boxes |
|
Reserved |
|
Import configuration dBase III |
|
Import configuration dBase IV |
|
Import configuration dBase V / ASCII with delimiter |
|
Import configuration ASCII fixed field length |
|
Reserved |
|
Import configuration XML linear |
|
Import configuration MS Access |
|
Import configuration Excel 3 |
|
Import configuration Excel 4 |
|
Import configuration Excel 5 |
|
Import configuration Excel 8 |
|
External import configuration |
|
Import configuration ODBC |
|
Reserved for import configurations |
|
User/Group export configurations |
|
User/Group import configurations |
|
Configuration for automatic deletion of user trash cans |
|
Client/Index scan configuration |
|
Stamp templates for slides |
|
Next position for public saved queries |
|
Favorites for WF Addon |
|
Settings for Window Gadget |
|
User-related configuration information for add-on applications |
9. Events
OS events are server-side scripts that control the behavior of enaio® clients and the server. They are bound to object types or the entire application and executed when defined events occur. Each event specifies the target platform (desktop client, server, web client), the UI context (data sheet, hit list, query, application), and the scripting language (JavaScript or VBScript).
9.1. JSON Structure
Events are returned as a JSON object in the output parameter JSON (BASE64-encoded).
The root object contains the array osevents with one element per event:
{
"osevents": [
{
"id": 9,
"event_code": 13,
"os_class_name": "2",
"object_class": 3,
"app_class": 1,
"is_js": false,
"os_event_params": "B6ACC477B34F41D6BDBEBE13025F243B",
"modify_user": "ROOT",
"last_modified": 1774686279,
"vb_code": "'OnClickButton"
},
{
"id": 1,
"event_code": 5000,
"os_class_name": "Application",
"object_class": 2,
"app_class": 2,
"is_js": true,
"os_event_params": "krn.EmptyJob",
"modify_user": "ROOT",
"last_modified": 1752738837,
"vb_code": "const value = rc.apps.inputParams.get(\"Status\").value;\nif (value !== \"freigegeben\") throw Error(\"Not approved.\");"
},
{
"id": 38,
"event_code": 10005,
"os_class_name": "Application",
"object_class": 2,
"app_class": 2,
"is_js": true,
"os_event_params": "MyServerLibrary",
"modify_user": "ROOT",
"last_modified": 1774688890,
"vb_code": "// Usage: const utils = require(\"MyServerLibrary\")\nfunction formatDate(ts) { return new Date(ts).toISOString().slice(0, 10); }\nmodule.exports = { formatDate };"
}
]
}
9.2. Fields
| Field | Type | Dependency | Description |
|---|---|---|---|
integer |
— |
Internal database primary key of the event in the |
|
integer |
— |
Event type — determines when the script is executed. |
|
integer |
— |
Numeric representation of the UI context (redundant to |
|
integer |
— |
Target platform (redundant to |
|
string |
— |
Target object type: |
|
boolean |
— |
Scripting language: |
|
string |
— |
Executable script code (JavaScript or VBScript). |
|
string |
Optional |
Context parameter — content depends on the |
|
string |
— |
Login name of the enaio® user who last modified the event |
|
integer |
— |
Unix timestamp of the last modification (seconds since 1970-01-01 UTC) |
9.2.1. Field id
Internal database primary key of the event in the osevents table. Unique per event instance.
Dependencies: none
9.2.2. Field event_code
Specifies the event type — i.e. when the script is executed. The value corresponds to the eventcode column in the oseventcodes table and can be resolved against it to determine the event name, UI context (objectclass), and target platform (appclass).
SELECT eventname, objectclass, appclass, descrshort
FROM oseventcodes
WHERE eventcode = <event_code>
Dependencies:
-
Determines the meaning of
object_classandapp_class -
Determines the expected format of
os_event_params(see Fieldos_event_params) -
Independent of
is_js— theevent_codedefines only the trigger point, not the scripting language. AnOnShowevent (code 1) is code 1 regardless of whether it is stored as VBScript or JavaScript. Exceptions: web client events (11000–11024) andJavascriptLibraryevents (10005/10006) are alwaysis_js=true.
Value ranges:
| Range | Name | Platform | Context |
|---|---|---|---|
|
Standard client events |
Client |
Data sheet, hit list, query, application |
|
Batch change events |
Client |
Batch change |
|
Cabinet events |
Client |
Cabinet |
|
Server events |
Server |
Application, server events |
|
Global scripts & libraries |
Client / Server |
Object type, application |
|
Web client events |
WebClient |
Data sheet, hit list, application |
1 → OnShow (Client / Data sheet)
13 → OnClickItem (Client / Data sheet)
5000 → KernelBeforeJob (Server / Application)
5002 → JoblBeforeObject (Server / Server events)
10005 → JavascriptLibrary (Server / Application)
11021 → OnAddLocation (WebClient / Hit list)
9.2.3. Field object_class
Numeric representation of the UI context in which the event is triggered. Corresponds to the objectclass column in oseventcodes, but encoded as an integer. The value is redundant to event_code — it can be derived directly from it.
Dependencies: always consistent with event_code, no independent information beyond event_code.
| Value | Meaning |
|---|---|
|
Query |
|
Application (server-/application-wide) |
|
Data sheet |
|
Stored query (event_code 6, 7 — value derived from sequence, not directly observed) |
|
Object type |
|
Batch change |
|
Cabinet |
|
Server events |
|
Hit list |
3 → Event belongs to data sheet context (OnShow, BeforeValidate, …)
9 → Event belongs to hit list context (BeforeDelete, OnMove, …)
8 → Event belongs to server events context (JoblBeforeObject, JobAfterObject)
9.2.4. Field app_class
Specifies the target platform of the event — i.e. on which client type or the server the script is executed. Corresponds to the appclass column in oseventcodes, but encoded as an integer. Like object_class, it is redundant to event_code.
| Value | Meaning |
|---|---|
|
Client (desktop client) |
|
Server |
|
WebClient |
1 → Script runs in the desktop client
2 → Script runs on the server
3 → Script runs in the web client (always is_js=true)
9.2.5. Field os_class_name
Identifies the target object type to which the event is bound. The value is either the string "Application" (for server- or application-wide events) or a numeric string corresponding to the global type_id of an object type.
The type_id is derived internally as (maintype << 16) | cotype and can be resolved via dms.GetObjDef. The returned asobjdef XML contains the internal name and the associated cabinet of the object type.
Dependencies:
-
The determining factor is
object_class: if it is2(Application),os_class_namecontains"Application"; for other values (3data sheet,5object type, etc.), the field contains atype_id -
GlobalObjectTypeScript(event_code10002) is bound to a specific object type (object_class=5) —os_class_namecontains atype_idhere, even thoughapp_class=1(client) -
JavascriptLibrary Client(event_code10006) hasobject_class=2(Application) —os_class_nameis"Application"here, even thoughapp_class=1(client) -
The rule of thumb “app_class=1` → `type_id” therefore does not apply in general
"Application" → server-/application-wide event (KernelBeforeJob, OnSessionLogin, …)
"2" → type_id 2 → object type with internal name "DefinitionTests"
"6488064" → type_id 6488064 → e.g. a register object type in another cabinet
"262144" → type_id 262144 → e.g. a document object type
9.2.6. Field is_js
Specifies the scripting language of the code contained in vb_code.
| Value | Language | Runtime |
|---|---|---|
|
JavaScript (ECMAScript) |
enaio® JS engine ( |
|
VBScript |
Legacy enaio® VBScript engine |
Dependencies:
-
Web client events (
app_class=3) are alwaysis_js=true -
JavascriptLibraryevents (code 10005/10006) are alwaysis_js=true
true → JavaScript event, uses rc.apps.inputParams, rc.apps.outputParams, etc.
false → VBScript event, legacy API
9.2.7. Field vb_code
Contains the executable script code of the event. Despite the field name vb_code, the content can be either VBScript (if is_js=false) or JavaScript (if is_js=true).
Dependencies:
-
Scripting language is determined by
is_js -
For JavaScript, the
rcAPI is available (rc.apps,rc.lib,rc.com) -
For
JavascriptLibraryevents (code 10005/10006), the field contains reusable library code that is included viarequire("<os_event_params>")
9.2.8. Field os_event_params
Optional context parameter — the content depends on the event_code. The field is empty when no specific context is configured (e.g. for events that apply to the entire object type).
| Event code(s) | Event name(s) | Content | Meaning |
|---|---|---|---|
|
|
Job name |
Script is executed only for this specific job |
|
|
Job name |
Script is executed only for this specific job |
|
|
Field GUID (button) |
Resolvable via dms.GetObjDef → field with matching |
|
|
Field GUID |
Resolvable via dms.GetObjDef → field with matching |
|
|
Field GUID |
Resolvable via dms.GetObjDef → field with matching |
|
|
Field GUID (page control) |
Resolvable via dms.GetObjDef → page control field with matching |
|
|
Library name |
Name under which the library is included via |
all others |
— |
empty ( |
Event applies to the entire object type without field restriction |
GUIDs in os_event_params correspond to the osguid attribute of a field in the asobjdef XML retrieved via dms.GetObjDef. The associated object type can be determined via os_class_name (→ type_id).
"" → no specific UI element (applies to entire object type)
"krn.EmptyJob" → KernelBeforeJob: only when krn.EmptyJob is executed
"std.DoArchive" → JoblBeforeObject: only during archiving (std.DoArchive)
"B6ACC477B34F41D6BDBEBE13025F243B" → GUID of a button field (OnClickItem)
"AD61A45160D24D9CB48E9F5BA399563D" → GUID of an input field (OnFocusGained)
"329C7E04A5CC4BC3AFF2F8798808914A" → GUID of a page control field (OnEnterPage / OnLeavePage)
"MyServerLibrary" → library name for server JavascriptLibrary
"MyClientLibrary" → library name for client JavascriptLibrary
9.3. Event Codes
Event codes correspond to the eventcode column in the database table oseventcodes and can be resolved with the following query:
SELECT eventname, objectclass, appclass, descrshort
FROM oseventcodes
WHERE eventcode = <event_code>
The numbering of event codes is not sequential. Code 38 does not exist (sequence jumps from 37 to 39). In the Global Scripts range, 10003 and 10004 do not exist (sequence jumps from 10002 to 10005). These gaps are by design and not an error.
|
9.3.1. Standard Client Events (1–43) — Desktop Client
| Code | Name | Description |
|---|---|---|
|
|
After the data sheet has been opened and populated with values |
|
|
Before data validation by the client |
|
|
After successful saving |
|
|
When a menu item or button has been clicked |
|
|
When a page of the page control is activated |
|
|
Before cancelling the data sheet |
|
|
When the input focus is set to a control |
|
|
When input to a control has been completed |
|
|
Before a row is added to a list control |
|
|
Before a row is removed from a list control |
|
|
After data validation by the client |
|
|
When another page of the page control is activated |
|
|
When the focus is set to a cell of a table control |
|
|
When input to a cell of a table control has been completed |
| Code | Name | Description |
|---|---|---|
|
|
Before the actual query is executed |
| Code | Name | Description |
|---|---|---|
|
|
After a query has been completed |
|
|
Before an object is deleted |
|
|
After an object has been deleted |
|
|
Before a document or folder is opened |
|
|
When an object is moved within a cabinet by drag & drop |
|
|
When an object is copied by drag & drop and a new location is added |
|
|
Before sending the document to the application server |
|
|
After sending the document to the application server |
|
|
Before "Undo check out" is executed on a document |
|
|
Before an object is restored from the recycle bin |
|
|
After an object has been restored from the recycle bin |
|
|
When an object is moved to another cabinet by drag & drop |
|
|
When a copy of a document or register is created |
| Code | Name | Description |
|---|---|---|
|
|
Before a stored query has been started |
|
|
After a stored query has been completed |
|
|
After the user has logged in |
|
|
Before the user logs out |
|
|
When a preset time is reached |
|
|
After the client has been fully initialized |
|
|
Before the client is closed |
|
|
Before two objects are linked |
|
|
After two objects have been linked |
|
|
Before two linked objects are unlinked |
|
|
After two linked objects have been unlinked |
|
|
After an entry in a hit list has been selected |
|
|
After a server notification |
|
|
Before the relation dialog is opened |
9.3.2. Batch Change Events (100–104) — Desktop Client
| Code | Name | Description |
|---|---|---|
|
|
Before data validation in the batch change |
|
|
After the batch change data sheet has been opened |
|
|
When a menu item or button has been clicked |
|
|
When a page of the page control is activated |
|
|
After data validation in the batch change |
9.3.3. Cabinet Events (200) — Desktop Client
| Code | Name | Description |
|---|---|---|
|
|
After dragging and dropping a file from the file system into a folder |
9.3.4. Server Events (5000–5012) — Server
| Code | Name | Context | Description |
|---|---|---|---|
|
|
Application |
Before a job is executed |
|
|
Application |
After a job has been executed |
|
|
Server events |
Before an object of a specific object type is processed |
|
|
Server events |
After an object of a specific object type has been processed |
|
|
Application |
Before an archive run begins |
|
|
Application |
Before a medium is written to for the first time |
|
|
Application |
Before a medium is written to within an archive run |
|
|
Application |
After archiving to a medium has been completed |
|
|
Application |
After a medium has been permanently closed |
|
|
Application |
At the end of archiving |
|
|
Application |
When an error is written to the rep file |
|
|
Application |
For each entry in an object’s history |
|
|
Application |
For each login attempt |
9.3.5. Global Scripts & Libraries (10000–10006) — Client / Server
| Code | Name | Platform | Description |
|---|---|---|---|
|
|
Client |
Appended to every other client script |
|
|
Server |
Appended to every other server script |
|
|
Client |
Appended to every object type |
|
|
Server |
Reusable JS library, includable via |
|
|
Client |
Reusable JS library, includable via |
9.3.6. Web Client Events (11000–11024) — WebClient
| Code | Name | Description |
|---|---|---|
|
|
After the data sheet has been opened and populated with values |
|
|
Before data validation |
|
|
After successful saving |
|
|
When a menu item or button has been clicked |
|
|
Before cancelling the data sheet |
|
|
When the input focus is set to a control |
|
|
When input to a control has been completed |
|
|
Before a row is added to a list control |
|
|
Before a row is removed from a list control |
|
|
After data validation |
|
|
When another page of the page control is activated |
|
|
When a page of the page control is activated |
|
|
When the focus is set to a cell of a table control |
|
|
When input to a cell of a table control has been completed |
| Code | Name | Description |
|---|---|---|
|
|
After a query has been completed |
|
|
Before a document or folder is opened |
|
|
When an object is moved within a cabinet by drag & drop |
|
|
When an object is copied by drag & drop and a new location is added |
|
|
When a copy of a document or register is created |
|
|
Before an object is deleted |
|
|
After an object has been deleted |
| Code | Name | Description |
|---|---|---|
|
|
Appended to every other web client script |
|
|
Appended to every object type |
|
|
Before the actual query is executed |
|
|
After the user has logged in |
9.4. Dependency Diagram
┌─────────────┐
│ event_code │
└──────┬──────┘
│
├──► object_class Numeric representation of the UI context
│ (redundant, directly derivable from event_code)
│
├──► app_class Target platform
│ 1 = Client │ 2 = Server │ 3 = WebClient
│
└──► os_event_params Format depends on event_code
│
├── KernelBeforeJob / KernelAfterJob ──────► Job name (e.g. "krn.EmptyJob")
├── JoblBeforeObject / JobAfterObject ──────► Job name (e.g. "std.DoArchive")
├── OnClickItem ────────────────────────────► Field GUID (button)
├── OnFocusGained / OnValueChanged ─────────► Field GUID (input field)
├── OnEnterPage / OnLeavePage ──────────────► Field GUID (page control)
├── JavascriptLibrary ──────────────────────► Library name (for require())
└── all others ─────────────────────────────► empty
┌────────────────┐
│ os_class_name │
└───────┬────────┘
│
├── "Application" ──► server-/application-wide event, no object type reference
│
└── "<integer>" ──► type_id ──► dms.GetObjDef (asobjdef XML)
└──► object type (internal name, cabinet)
┌──────────────────────────────────────┐
│ os_event_params (if GUID format) │
└──────────────────┬───────────────────┘
│
└──► dms.GetObjDef (asobjdef XML)
└──► field with matching osguid
└──► label, internal name, control type
11. DMS Reference
11.1. System Fields
The following system fields can be included in XML requests.
11.1.1. General Object Fields
OBJECT_ID
Internal Name |
|
osguid |
1100 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Folder, Register, Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Internal ID of the object. Can be automatically set in XML import via the attribute |
OBJECT_COUNT
Internal Name |
|
osguid |
1101 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Number of document files (pages) of a document. |
OBJECT_FLAGS
Internal Name |
|
osguid |
1102 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Status flags of the document, e.g. whether the document is archiveable or already archived. |
OBJECT_AVID
Internal Name |
|
osguid |
1103 |
DB |
|
Type |
Text |
Length |
255 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Username of the archiver who archived the document. |
OBJECT_AVDATE
Internal Name |
|
osguid |
1104 |
DB |
|
Type |
Date |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Date of document archiving. |
OBJECT_CRID
Internal Name |
|
osguid |
1105 |
DB |
|
Type |
Text |
Length |
255 |
Available for |
Folder, Register, Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Username of the creator of the object. |
OBJECT_CRDATE
Internal Name |
|
osguid |
1106 |
DB |
|
Type |
Date |
Length |
10 |
Available for |
Folder, Register, Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Creation date of the object. |
OBJECT_TIME
Internal Name |
|
osguid |
1107 |
DB |
|
Type |
Timestamp |
Length |
10 |
Available for |
Folder, Register, Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Timestamp of the object (time of last index data change). |
OBJECT_MAIN
Internal Name |
|
osguid |
1108 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Main type of the document, e.g. |
OBJECT_CO
Internal Name |
|
osguid |
1109 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Subtype of the document. |
OBJECT_MEDDOCID
Internal Name |
|
osguid |
1110 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
ID of the archive medium of the document file. |
OBJECT_MEDDIAID
Internal Name |
|
osguid |
1111 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
ID of the archive medium of the preview file (dia). |
OBJECT_MEDDOCNA
Internal Name |
|
osguid |
1112 |
DB |
|
Type |
Text |
Length |
24 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Medium name of the document file on the archive medium. |
OBJECT_MEDDIANA
Internal Name |
|
osguid |
1113 |
DB |
|
Type |
Text |
Length |
24 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Medium name of the preview file (dia) on the archive medium. |
OBJECT_LINKS
Internal Name |
|
osguid |
1114 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Folder, Register, Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Number of links of the object. |
OBJECT_VERID
Internal Name |
|
osguid |
1115 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Version number of the document. |
OBJECT_LOCKUSER
Internal Name |
|
osguid |
1116 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Lock status of the document. Possible display values: |
OBJECT_SYSTEMID
Internal Name |
|
osguid |
1117 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Folder, Register, Document |
Available in dms.GetObjectDetails |
Yes |
Description |
System ID of the object. Can be set in XML import to assign an object to an external system. Also used to set link documents via dms.XMLUpdate. |
OBJECT_MODIFYTIME
Internal Name |
|
osguid |
1118 |
DB |
|
Type |
Timestamp |
Length |
10 |
Available for |
Folder, Register, Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Timestamp of the last change to the object. |
OBJECT_MODIFYUSER
Internal Name |
|
osguid |
1119 |
DB |
|
Type |
Text |
Length |
256 |
Available for |
Folder, Register, Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Username of the last editor of the object. |
OBJECT_FOREIGNID
Internal Name |
|
osguid |
1124 |
DB |
|
Type |
Text |
Length |
248 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Foreign ID of a link document. Set via dms.XMLUpdate or cleared with |
OBJECT_USERGUID
Internal Name |
|
osguid |
1125 |
DB |
|
Type |
Text |
Length |
32 |
Available for |
Folder, Register, Document |
Available in dms.GetObjectDetails |
Yes |
Description |
GUID of the owner of the object. In XML import, the owner is set via username (not GUID). The display text contains the name; the GUID is passed as |
OBJECT_DELETED
Internal Name |
|
osguid |
1126 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Folder, Register, Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Marker for objects moved to the trash. |
OBJECT_INDEXHISTFLAGS
Internal Name |
|
osguid |
1127 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Folder, Register, Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Flags to control index data historization. |
OBJECT_DOCHISTFLAGS
Internal Name |
|
osguid |
1128 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Flags to control document file historization. |
OBJECT_OSSD
Internal Name |
|
osguid |
1129 |
DB |
|
Type |
Text |
Length |
32 |
Available for |
Folder, Register, Document |
Available in dms.GetObjectDetails |
Yes |
Description |
ID of the Security Descriptor of the object. Used by the access control jobs dms.SetSD, dms.ReadSD and dms.CreateSD. |
OBJECT_MIMETYPEID
Internal Name |
|
osguid |
1900 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
MIME type ID of the document file. Refers to the MIME type list retrievable via dms.GetOsMimetypes. |
OBJECT_FILESIZE
Internal Name |
|
osguid |
1902 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Size of the document file in bytes. |
OBJECT_DOCPAGECOUNT
Internal Name |
|
osguid |
— |
DB |
— |
Type |
Number |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Number of actual document pages. |
OBJECT_RETENTION_PLANNED
Internal Name |
|
osguid |
1903 |
DB |
|
Type |
Date |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Planned retention end date of the document (before confirmation by the user). |
OBJECT_LOCATIONSCOUNT
Internal Name |
|
osguid |
1993 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Number of storage locations of a document with multiple storage. |
OBJECT_RETENTION
Internal Name |
|
osguid |
1904 |
DB |
|
Type |
Date |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Binding retention end date of the document. Documents may not be deleted before this date. |
OBJECT_SIGNSTATE
Internal Name |
|
osguid |
1906 |
DB |
|
Type |
Number |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
Yes |
Description |
Signature state of the document. |
11.1.2. Master Data Fields
STAMM_ID
Internal Name |
|
osguid |
1000 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
— |
Available in dms.GetObjectDetails |
Yes |
Description |
Internal ID of the folder master data. |
STAMM_TIME
Internal Name |
|
osguid |
1001 |
DB |
|
Type |
Timestamp |
Length |
10 |
Available for |
— |
Available in dms.GetObjectDetails |
Yes |
Description |
Timestamp of the folder master data. |
STAMM_LINKS
Internal Name |
|
osguid |
1002 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
— |
Available in dms.GetObjectDetails |
Yes |
Description |
Number of links in the folder master data. |
11.1.3. Register Fields
REG_ID
Internal Name |
|
osguid |
1120 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Register |
Available in dms.GetObjectDetails |
Yes |
Description |
Internal ID of the register. |
REG_STAID
Internal Name |
|
osguid |
1121 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Register |
Available in dms.GetObjectDetails |
Yes |
Description |
ID of the parent folder (master ID) of the register. |
REG_PARID
Internal Name |
|
osguid |
1122 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Register |
Available in dms.GetObjectDetails |
Yes |
Description |
ID of the parent register for hierarchically nested registers. |
11.1.4. Structural Data Fields
SDSTA_ID
Internal Name |
|
osguid |
1130 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
Folder ID (master ID) in the structural data of the document. |
SDOBJ_ID
Internal Name |
|
osguid |
1131 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
Object ID in the structural data of the document. |
SDOBJTYPE
Internal Name |
|
osguid |
1132 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
Object type in the structural data of the document. |
SDREG_ID
Internal Name |
|
osguid |
1133 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
Register ID in the structural data of the document. |
SDDEL
Internal Name |
|
osguid |
1134 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
Delete marker in the structural data of the document. |
SDTIME
Internal Name |
|
osguid |
1135 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
Timestamp in the structural data of the document. |
SDREG_TYPE
Internal Name |
|
osguid |
1136 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
Register type in the structural data of the document. |
11.1.5. Folder and Register Reference Fields
FOLDERID
Internal Name |
|
osguid |
1181 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Register |
Available in dms.GetObjectDetails |
No |
Description |
ID of the parent folder of the register. |
FOLDERTYPE
Internal Name |
|
osguid |
1182 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Register |
Available in dms.GetObjectDetails |
No |
Description |
Type of the parent folder of the register. |
REGISTERID
Internal Name |
|
osguid |
1183 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Register |
Available in dms.GetObjectDetails |
No |
Description |
ID of the register in which the object is stored. |
REGISTERTYPE
Internal Name |
|
osguid |
1184 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Register |
Available in dms.GetObjectDetails |
No |
Description |
Type of the register in which the object is stored. |
PARENTREGID
Internal Name |
|
osguid |
1185 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Register |
Available in dms.GetObjectDetails |
No |
Description |
ID of the parent register for hierarchically nested registers. |
PARENTREGTYPE
Internal Name |
|
osguid |
1186 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Register |
Available in dms.GetObjectDetails |
No |
Description |
Type of the parent register for hierarchically nested registers. |
11.1.6. Portfolio Fields
MDDEL
Internal Name |
|
osguid |
1140 |
DB |
|
Type |
Text |
Length |
5 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
Delete marker of the portfolio assignment. |
MDTIME
Internal Name |
|
osguid |
1141 |
DB |
|
Type |
Timestamp |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
Timestamp of the portfolio assignment. |
MDMAP_ID
Internal Name |
|
osguid |
1142 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
ID of the portfolio (portfolio) to which the document is assigned. Used by dms.AddPortfolio and dms.DelPortfolio. |
MDSTA_ID
Internal Name |
|
osguid |
1143 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
Folder ID (master ID) in the portfolio assignment data. |
MDOBJ_ID
Internal Name |
|
osguid |
1144 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
Object ID in the portfolio assignment data. |
MDOBJTYPE
Internal Name |
|
osguid |
1145 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
Object type in the portfolio assignment data. |
MDMOD
Internal Name |
|
osguid |
1146 |
DB |
|
Type |
Text |
Length |
5 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
Module identifier of the portfolio assignment. |
MDIN
Internal Name |
|
osguid |
1147 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
Incoming value of the portfolio assignment (target reference). |
MDOUT
Internal Name |
|
osguid |
1148 |
DB |
|
Type |
Text |
Length |
10 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
Outgoing value of the portfolio assignment (source reference). |
MDCOUNT
Internal Name |
|
osguid |
1149 |
DB |
|
Type |
Text |
Length |
5 |
Available for |
Document |
Available in dms.GetObjectDetails |
No |
Description |
Number of objects in the portfolio assignment. |
11.2. Date Formats
Formatting instructions for date fields are initiated by a percent sign (%). Character strings without leading % are copied unchanged to the result string.
| Format | Description |
|---|---|
%a |
Abbreviated weekday name |
%A |
Weekday name (full) |
%b |
Abbreviated month name |
%B |
Month name (full) |
%c |
Date and time representation according to local settings |
%d |
Day of month numerically (01–31) |
%j |
Day of year numerically (001–366) |
%m |
Month as number (01–12) |
%U |
Calendar week with Sunday as first day of week (00–53) |
%w |
Weekday as number (0–6; Sunday = 0) |
%W |
Weekday as number (0–6; Monday = 0) |
%x |
Date representation according to local settings |
%X |
Time representation according to local settings |
%y |
Two-digit year (00–99) |
%Y |
Four-digit year |
%z, %Z |
(Abbreviated) timezone name; empty if timezone unknown |
%% |
Percent sign |