AddToEventLog

<< Click to Display Table of Contents >>

Navigation:  Programming Mechworks PDM > DBWCommandShell > Commands Reference > PDMSystem >

AddToEventLog

Description

Allows to add custom events to the EVENT_LOG database table.

Syntax

call DBWShell("AddToEventLog Action DocPathName [uid [arg1 separator arg2]]")

Parameters

Action

Action to be logged

DocPathName

Path name of the document referenced in the action

uid

Optional. Unique id of the document referenced in the action

arg1 separator arg2

Optional. Additional data that can be added.

See also

AddToDebugLog
AddToEventLog

Example

DBWShell("AddToEventLog MY_EVENT1 x:\myfolder\test.sldprt 123456")

DBWShell("AddToEventLog MY_EVENT2 IBM 0 UserName = John")