It's all about the answers!

Ask a question

How efficenly look for component in workspace or snapshot (IBaselineSet)

Boaz Nahum (1336) | asked Dec 03 '15, 4:08 a.m.
. Search for component by name in Workspace


Give a component name and IWorkspaceConnection

 We would like to find it in Workspace. Currently we iterate over all workspace components but it is not so efficient.

Also we can’t use



2. Search for component by handle in workspace


Give a component handle, How can I efficiently  check if this component belong to workspace.


3. Same as 2, but search in snapshot (IBaselineSet)


4. Same as 3, but search in snapshot (IBaselineSet)



One answer

permanent link
Ralph Schoon (63.0k33645) | answered Dec 03 '15, 4:30 a.m.

I can only provide what I have done so far with the SCM API. This is shown in Managing Workspaces, Streams and Components Using the Plain Java Client Libraries and the related posts. You can also find some examples in this blog: . Another interesting blog is

I also search the SDK to search for content and examples - typically looking for specific interfaces or methods on interfaces and how they are used.

Your answer

Register or to post your answer.