How to get list of all DNG Views available in module and then delete it
Hello,
Our users keep on creating shared view based on export need but now the problem is there too many export views are created and now its really tough for us(admin) to go to UI and delete them manually one by one
So i am looking for an OSLC Api that could first fetch me the list of all view present under module and then an API to delete the view
Problem is i can find many Re portable REST API but i believe it can only do the GET operation not DELETE compared to OSLC API (please correct me)
Thank you
2 answers
Hi Rajat
There is an OSLC Query capability for views - this will return URLs for all shared views. Never tried it so not sure if you can delete them using the API.
HTH
Ian
Comments
AFAIK you can't delete views through any API.
If they are following the OSLC spec then you should be able to use the HTTP DELETE method against the returned View URL
I just had a very quick play around with this and got a Forbidden response, so I think it's there but I needed a proper context or something. For other methods I got a Not Implemented response
AFAIK views aren't part of the OSLC spec :-(
Hi, I do not know how, but I am sure it is possible, in this partner web it tells that they have an extension to delete views:
https://softacus.com/softacus/delete-duplicated-views
Comments
Chidambaram L PESIL InfoSol Pvt Ltd
Oct 24 '24, 5:09 a.m.@rajat860, can you share the Reportable REST API to get the list of Shared Views (ViewUUID and view definition) in a Module.