Accruent Meridian Enterprise 2021 VBScript API Reference

PrintDetails Method

Shows a string in the batch progress dialog.

Syntax

PrintDetails(String As String)
Parameters
Name Description

String

The text string to show in the progress dialog.

Remarks

To add a string to a the Comment log of a document, use the Document.Log method instead as described in Log Method.

Note:

In Meridian 2021, event scripts such as this one do not work where focus is set on the folder level and a create a new document command for document type with wizard page (without template) is used.

Copy
Sub DocGenericEvent_BeforeNewDocument(Batch, Action, SourceFile, DocType, DocTemplate)
batch.PrintDetails "BeforeNewDocument"'(Document.FileName) 'Add your code here
End Sub

In this scenario, the document is created, but the focus remains on folder level and the navigation view is not refreshed. This will be fixed in a future release.