Looking for some advice - I'm sure this is in the API guide, but I was having trouble finding it. There's a brief piece of code, below.
How do I retrieve the Name of the Transition State (e.g. "Submit for Approval" or "Release Documents" or "Reject Changes")?
Public Sub GetAddInInfo(ByRef poInfo As EdmAddInInfo, poVault As IEdmVault5, poCmdMgr As IEdmCmdMgr5) Implements IEdmAddIn5.GetAddInInfo ... poCmdMgr.AddHook(EdmCmdType.EdmCmd_PreState) End Sub Public Sub OnCmd(ByRef poCmd As EdmCmd, ByRef ppoData As Array) Implements IEdmAddIn5.OnCmd Dim vault As IEdmVault14 = poCmd.mpoVault Dim eFile As IEdmFile8 = vault.GetObject(EdmObjectType.EdmObject_File, ppoData(index).mlObjectID1) Dim myMessage As String = "" myMessage = 'the name of the Transition State the file is in? MsgBox(myMessage) End Sub