OpenBusinessComponentFromBaseline Method
Description
Opens an existing business component from the specified ALM baseline.
Syntax
Visual Basic
Public Sub OpenBusinessComponentFromBaseline( _
   ByVal BusinessComponentPath As String, _
   ByVal Library As String, _
   ByVal Baseline As String, _
   Optional ByVal SaveCurrent As Boolean = False _
) 
Parameters
BusinessComponentPath
The full ALM path of the component to open.
Library
The full library path for the library containing the baseline. For example: Libraries\MyLibFolder\LibName
Baseline
The name or ID of the baseline.  If you specify the baseline ID, then enter an empty string for the Library argument.
SaveCurrent
Indicates whether to save changes for the currently open document before opening the specified component.
True--Saves the currently open document.

False--Closes the currently open document without saving. (Default).

Remarks
When you open a component from a baseline, it always opens in read-only mode.  To open a version-controlled component for editing, use the Test.CheckOut method and then open the component using the Application.OpenBusinessComponent method.
Example
See Also