Get view definition / Create / Copy DNG views
I would basically like to copy views from one place to another (different project areas, components, streams, etc.)
I have seen the post here on discovery and getting views: https://jazz.net/forum/questions/278708/dng-oslc-query-to-get-views-in-a-module
and I am trying to use REST API
I am currently trying to go one step further:
- is there a way to also get the definition of the view? When I am trying to GET the dng_view:ViewDefinition rdf:about, I receive a "403 Forbidden"
2. Is there something like a view CreationFactory as well? I was not able to find something like this
Thank you!
One answer
Hi Christian
There isn't a public API to copy/create views. You can share views within a component by making them public and applicable to other modules, and using a component template (.archive) you can get predefined views in a new component.
All ELM public+supported APIs are linked from here https://jazz.net/wiki/bin/view/Deployment/ELMProductAPILanding
Regards
Ian