You are here: Appendix D: VBScript reference > The Meridian Enterprise events > AIMS_UpdateComment event

AIMS_UpdateComment event

Occurs after a user has updated a comment on a document in Meridian Explorer.

Syntax
Function AIMS_UpdateComment (commentText As String, attachmentType As String, numberOfComments As Long)
Parameters

Name

Description

commentText

The text of the comment.

attachmentType

The type of file attached to the comment.

The possible values are:

0 – No attachment

1 – Redline

2 – Image

numberOfComments

The total number of comments on the document.
Example
Function AIMS_UpdateComment(commentText, attachmentType, numberOfComments)
   Document.Log "A comment was updated for " + Document.FileName + vbNewLine + "Text: " + commentText

   Select Case attachmentType
       Case "Redline"
           Document.Log "A redline markup was added to " + Document.FileName 
       Case "File"
           Document.Log "A file was attached to " + Document.FileName             
   End Select      
End Function

Related information

AIMS_Attach_Intialize event

AIMS_Attach_Before event

AIMS_Attach_After event

AIMS_AddComment event

AIMS_CloseComment event

AIMS_DeleteComment event


www.bluecieloecm.com