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?
Hi Apurva,
Instead of using ViewID, you could use the property ‘View’.
Note that this is an internal call and we do not recommend using this, as it is not officially supported and we cannot guarantee that it will still work in the future. As a rule, you should avoid using SLNet calls, as these are subject to change without notice. We recommend to instead always use the correct UI or automation options provided in DataMiner Automation or through our web API.
Kind Regards,
Jarno

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
I need to get the services present inside a view by passing View Name in GQI assuming its unique, how can we have this?