function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
meenaSFmeenaSF 

Question reg. accessing the customized view created in Salesforce through API

Hi,
 
As a system administrator, I have created some customized views under the Accounts Tab. Now I would like to access this view from a client application using API instead of writing queries from the scratch to get the same resultset .  Please let me know if there is any methods which will let me access the customized views directly.
 
Thanks,
CodeTalkerCodeTalker
Unfortunately, we don't have API access to the views.
However if you search "view api" and read other threads, you'll find that a large part of the community is interested in this.
So hopefully SF will make it possible soon.
In the meantime, I think the only way is to mimic views by using SOQL queries.