I am aware we can get services in view from this
var request = new GetLiteServiceInfo { ViewID = 58 };
How can I do it by view name?
Jarno Lernou [SLC] [DevOps Enabler] Answered question 26th June 2025
Hi Apurva,
I think you don't need Ad Hoc Data Sources for this unless you need more custom logic, next to a simple retrieval. If you can use the default logic,
- On the right panel in Dashboards, make sure to simply drag 'Services' (which represent all services) on your Dashboard.
- On the right panel in Dashboards, make sure to go to Views and click on the view that you would like to use for filtering.
- The click introduces an icon on the component in your Dashboard. Make sure to click on the yellow (filter) icon.
- Note: You could also do this based on a Feed that links to Views (e.g. dropdown of Views)
If you want to do this through ad hoc datasources, than you can use the call that you have provided, but instead use the 'View' argument.
Kind Regards,
Jarno
Jarno Lernou [SLC] [DevOps Enabler] Answered question 26th June 2025