Reading the list of project Area
Hello,
I'd like to know how to read a list of project area once I have a repository connection.
It looks like I need to use the api "fetchCompleteItems" but how should I initialize the list of itemHandle to return
Any help is welcome. Thanks
I'd like to know how to read a list of project area once I have a repository connection.
It looks like I need to use the api "fetchCompleteItems" but how should I initialize the list of itemHandle to return
repo.itemManager().fetchCompleteItems(projectAreaList, IItemManager.DEFAULT, monitor);
Any help is welcome. Thanks
12 answers
Hi,
Thanks for replay..
findProcessArea method is throwing error when I give ProjectArea name as String. I suppose it needs areaURI in string format.
I tried with different options
URI.create("https://radhikabandari.in.ibm.com:9443/ccm/process/project-areas/_cgoIABWmEeGnN4lxE3OfSw"))
other than UUID i give project name then it is giving error invalied URI.
https://radhikabandari.in.ibm.com:9443/ccm/projectareaname
https://radhikabandari.in.ibm.com:9443/ccm/process/project-areas/projectareaname
Any help..
Regards,
Radhika
Thanks for replay..
findProcessArea method is throwing error when I give ProjectArea name as String. I suppose it needs areaURI in string format.
I tried with different options
URI.create("https://radhikabandari.in.ibm.com:9443/ccm/process/project-areas/_cgoIABWmEeGnN4lxE3OfSw"))
other than UUID i give project name then it is giving error invalied URI.
https://radhikabandari.in.ibm.com:9443/ccm/projectareaname
https://radhikabandari.in.ibm.com:9443/ccm/process/project-areas/projectareaname
Any help..
Regards,
Radhika
Hi,
Thanks for replay..
findProcessArea method is throwing error when I give ProjectArea name as String. I suppose it needs areaURI in string format.
I tried with different options
URI.create("https://radhikabandari.in.ibm.com:9443/ccm/process/project-areas/_cgoIABWmEeGnN4lxE3OfSw"))
other than UUID i give project name then it is giving error invalied URI.
https://radhikabandari.in.ibm.com:9443/ccm/projectareaname
https://radhikabandari.in.ibm.com:9443/ccm/process/project-areas/projectareaname
Any help..
Regards,
Radhika
Hi,
Here is parameter description:
You could pass new URI(ProjectAreaName), e.g. new URI("prj1").
Kevin
Jazz Foundation Process Team
page 2of 1 pagesof 2 pages