You need to sign in to do that
Don't have an account?
Frances Allen
Query Visualforce Pages
Besides using the documentation located here:
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_visualforceaccessmetrics.htm
What are other ways to query how many visualforce pages exist in your org? I feel like there is an easier way to do this, like looking under
pages in setup? What special advantage does querying give you?
https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_objects_visualforceaccessmetrics.htm
What are other ways to query how many visualforce pages exist in your org? I feel like there is an easier way to do this, like looking under
pages in setup? What special advantage does querying give you?
and invalid constructor name querylist.
public class SOQLQuery {
public List<VisualforceAccessMetrics> Records {get; set;}
public QueryList(){
Records = [SELECT ApexPageId, DailyPageViewCount,Id, MetricsDate FROM VisualforceAccessMetrics];
}
}
return QueryList;