It's all about the answers!

Ask a question

DNG : Need to export View for non-default configuration


sathyan M (111) | asked Nov 20 '23, 5:36 a.m.

 Hi Team , 

In DNG need to export the view data for the non-default configuration. I was unable to find the rest API for this.

Also,unable to open the below ticket , 
https://jazz.net/jazz03/resource/itemName/com.ibm.team.workitem.WorkItem/105843



Comments
Ralph Schoon commented Nov 20 '23, 6:42 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

The work item is in a project area that does not allow access to work items for everyone. The defect is resolved. It was about the DNG reportable REST API with an URI like https://server:port/rm/publish/[artifact_format]?viewName=name1&projectURI=id2 . The reportable REST API is documented here: https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI and all APIs are documented here: https://jazz.net/wiki/bin/view/Deployment/CLMProductAPILanding


sathyan M commented Nov 20 '23, 6:52 a.m. | edited Nov 20 '23, 6:52 a.m.

  @rschoon, I was unable to find the API to export view for non-default configuration.

If there is any rest API to export the DNG view for non-default configuration,please let me know.


Ralph Schoon commented Nov 20 '23, 8:26 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER

There are 54 hits for configuration in the reportable REST API, including https://jazz.net/wiki/bin/view/Main/DNGReportableRestAPI#Configurations


As far as I know, you have to provide the configuration in the request. I am not the expert for that API. 

2 answers



permanent link
Hubert Aunkofer (383) | answered Nov 22 '23, 11:08 a.m.
Another way may be useing OSLC query capabilities:
Since views are configuration dependant, you first have to fetch the appropriate query capability for you desired configuration.
A (public) view, as a think, should be available as OSLC RM collection. Having the collection and its artifact members might be, what you want. Note: A collection will not provide the order of artifacts like modules do.

permanent link
David Miller (11) | answered Jan 22, 6:47 a.m.

 

Another way may be useing OSLC query capabilities: https://jazz.net/library/article/1197 geometry dash scratch Since views are configuration dependant, you first have to fetch the appropriate query capability for you desired configuration.
A (public) view, as a think, should be available as OSLC RM collection. Having the collection and its artifact members might be, what you want. Note: A collection will not provide the order of artifacts like modules do.
This way is so useful for me. Thanks for sharing it.


Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.