Setting the last baseline while adding a component
Hi,
I'm working on a server side extension which add a component to a stream. I'm using this code: IWorkspaceHandle udcStream = listOfStream.get(0); It works good, excepting for one thing: the component which I add has only the initial baseline. How can I set another baseline? Thanks, Michele. |
One answer
Old Question I know but thought I'd share what I found because I faced the same issue:
You have to find the baseline handle and componentHandle you want (https://jazz.net/forum/questions/34375/how-to-retrieve-the-name-of-a-baseline-set) and then use them when adding the components like this:
You can also use IComponentOpDescriptor.FACTORY to build the array for you like this:
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.