BlueCielo TeamWork 2012 Release Notes | BlueCielo ECM Solutions

New in AM2004: Programming and Customization

AM-Meridian OnlyVisual Basic Customization

Scripting

The sample script below demonstrates how to use the HasOutgoingReferences property to warn the user when deriving an assembly.

Sub DocCopyMoveEvent_BeforeDerive(Batch, TargetFolder)

    ' Only show the NOTE for documents with outgoing references

    If Document.HasOutgoingReferences Then

        ' Only show the NOTE once per batch

        If Not Batch.Argument("NoteShown") Then

            WinMsgBox "NOTE: You are about to Derive an Assembly, be sure " &

                            "you manually Derive all Parts and/or Sub Assemblies " &

                            "that will be changed as well." , vbOKOnly

            Batch.Argument("NoteShown") = True

        End If        

    End If

End Sub


Copyright © 2000-2012 BlueCielo ECM Solutions

www.bluecieloecm.com