Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Get List of components by giving UUID of a Stream

Hello All,
  In my project, i had a situation where i need to retrieve all components by giving streamname as input.But stream name is not unique as it may have same Stream name in other project area also.So i tried to pass UUID (Item ID) to get list of components. But couldn't find out the possibilities. Could you please help me out to Components by giving UUID as input.

Thanks in advance.

0 votes


Accepted answer

Permanent link
 Hi, if you are using plain api you can get the IWorkspaceHandle from the UUID using IWorkspace.ITEM_TYPE.getItemHandle method. Then you can obtain the IWorkspaceConnection using the workspace manager object passing the workspace handle you obtained. Once you have the IWorkspaceConnection there is a method to get all the components.
Surya Raj selected this answer as the correct answer

0 votes

Comments

Thank you very much Michele, it really worked.

Your answer

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,946

Question asked: Apr 01 '16, 5:10 a.m.

Question was seen: 2,000 times

Last updated: Apr 01 '16, 8:43 a.m.

Confirmation Cancel Confirm