Use reportable API tp load view with saved filter applied in DOORs NG
Hello!
I created a filter which can choose requirements of some type and show the values of a custom attribute. It looks like next:
ID2 here is a custom attribute. I would like to load this view by a link from Reportable API like next one:
https://jazz.server.com:9443/rm/publish/text?viewName=myview&projectName=testProjectThis link works but loads a standard view without my custom attribute. Accordingly, there's a question which I can not answer without somebody's help. Can I point saved filter in Reportable API request to load the view's data with custom field ID2?
I will very much appreciate for the help! Thank you!
Accepted answer
I am afraid you cannot do this with DNG 6.0.3.
If you are using DNG 6.0.4 or later, you must use moduleURI, viewURI and projectURI parameters in the reportable URL. Note that you can request only for modules views and not artifacts views.
https://jazz.net/wiki/bin/view/Main/DNGModuleViewExternalRequest
Comments
It's not exactly that I was looking for but it can be used as a workaround. But apperantly, there's no possibility to get the data for a saved filter in artifact's view with Reportable API. Only saved filter for a module's view can be extracted. Anyway, I can set the answer as a correct, may be it will be useful for somebody else.
Comments
Dmitry A. Lesin
Jul 19 '17, 1:50 p.m.Sorry, I work in Rational DOORs Next Generation v6.0.3
Reportable API is taken from here:
https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI
I used a lot of variants but it didn't help me solve the problem.