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

Access to custom view OSQL

Users can easily "Create new view" such as with leads.


I know that in Visualforce, it's possible to query what views are available to a user, and even show a data table for this view.


So, here's my question. Is there anyway that I could get access to the underlying OSQL for the view query? I'd like to do a join with a user defined view and a custom table.