It's all about the answers!

Ask a question

I want to get the total number of artifacts in RDNG

Pooja Srivastava (3011518) | asked Mar 06 '15, 5:02 p.m.
I am creating a client side extension where we can display different statistics about all of the artifacts into a graph or pie chart. I can access artifacts from one module or collection but we need the total count of all artifacts in RDNG. How can I do this?

Accepted answer

permanent link
Subramanya Prasad Pilar (4.6k14) | answered Mar 07 '15, 6:59 a.m.
One option could be to use RDNG's Reportable REST API. https://server:port/rm/publish/resources?collectionURI=id1 or https://server:port/rm/publish/resources?moduleURI=module1 and check for the number of records.
I am not sure of client side extension. But if you are reporting using RPE or RRDG, it is possible by counting the number of records returned for the REST url.
Pooja Srivastava selected this answer as the correct answer

Your answer

Register or to post your answer.