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.
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.
Accepted answer
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.