Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Highlighted
modo Absent Member.
Absent Member.
525 views

Merged Baseline in Dimensions CM 12.2 with JAVA API

How can I create a merged baseline in Dimensions CM 12.2 with the JAVA API? Manual I select the baselines I want to merge and choose the option "Merged Baseline".

More precisely, is there a method i can call? So far I only found the method "createBaseline" of the interface "DimensionsObjectFactory". I can specify the baseline with an object "BaselineDetails" but I can't see how I can create a "Merged Baseline".
Tags (2)
0 Likes
1 Reply
Micro Focus Expert
Micro Focus Expert

Re: Merged Baseline in Dimensions CM 12.2 with JAVA API

Hi Richard,
I think that Create Merged Baseline is not exposed in public Java API. But what you can do is to construct a command and execute that using DimensionsConnection#getObjectFactory().runCommand method.
Say:
CMB "PRODUCT:TARGET_BLN_ID" /PART="PRODUCT:PART.A;1" /BASELINE_LIST=("PRODUCT:BLN1_TO_MERGE","PRODUCT:BLN2_TOMERGE")
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.