OVSD4.5: IViewInfo, returning a list of filtered Priorities through the API
I've created a new view in Admin -> Views -> Codes -> Priority, and when I go to Data -> General -> Codes -> Priority, I can select my view in the drop down selector in the top of the client (beside the Advanced Find button). When I select, the Priorities are filtered as per the settings of the filter in the view.
How do I access this from the API? My aim is to return the filtered list of Priorities.
The IViewInfoWhere object doesn't have a method to query for a view by name, and there's no getName/getText on the IViewInfo object, so iterating through them all doesn't seem to help.
I also don't understand the relationship between IViewInfo and ITemplate.