Read all artifacts in a Project area using RM Client extension API.
Hello,
I need to Read all artifacts in a Project area using RM Client extension API.
I checked the APIs in https://jazz.net/wiki/bin/view/Main/RMExtensionsAPI702 article and other previous versions as well but couldn't find any such method.
Please let me know if its possible.
Thanks
Vaibhav
One answer
Vaibhav,
RM Client extension API does not give you possibility to get all the artifacts in the probject but You can use OSLC or Reportable API.
Example:
https://dngserver.public.name:port/rm/publish/resources?projectURI=_ABC
Comments
Hello Bartoz,
Thanks for the response.
Can you please help me with how to use these APIs in my .js file through which I am implementing my DNG extension.
thanks
vaibhav
Hi Vaibhav,
Could you please precise about reading all artifacts mean ?
In a GC Enabled project
You have to know the component first
Then you have to read the module
From the module you can read all the artifacts
Hi Chandan,
The PA is not GC enabled.
Any API to read the Artifacts in PA ?
As I wrote, use Reportable API or OSLC. If You will adapt the provided URL to your server reality then you will be able to list artefacts. Be aware that there can be many pages of results.