Working with handles
![]()
How can i get the originating full object from handles like IProjectAreaHandle, IContributorHandle, IWorkItemHandle.
|
One answer
![]()
The object can be fetched using the handle with
IRepositoryItemService on the server and ItemManager from the client side. Here are some of the examples and tutorials: - https://jazz.net/learn/LearnItem.jsp?href=content/docs/client-library-programming/index.html - https://jazz.net/wiki/bin/view/Main/ComponentDevelopment - https://jazz.net/wiki/bin/view/Main/JazzTalkWalkthrough <snip> ... from https://jazz.net/wiki/bin/view/Main/JazzTalkWalkthrough IRepositoryItemService repositoryItemService = getService(IRepositoryItemService.class); IItem[] items = repositoryItemService.fetchItems(itemQueryPage.handlesAsArray(), null); </snip> Dan Kogan How can i get the originating full object from handles like IProjectAreaHandle, IContributorHandle, IWorkItemHandle. |