1

I am running this query in Classic =>

SELECT ApexPageId, ApexPage.Name, DailyPageViewCount, Id, Profile.Name, MetricsDate, LogDate 
   FROM VisualforceAccessMetrics ORDER BY ProfileId

But, I am getting this error => Error: sObject type 'VisualforceAccessMetrics' is not supported

I believe that It is something related to System Permissions of the Profile. I have been searched but I didnt find what is the permission that is missing. I believe that is something related with the metadata.

Best Regards Orlando

  • i think you will need api enabled on profile level. – sanket kumar Sep 3 at 10:43
  • @sanketkumar I have APi Enabled but the query is still not working. – oagostinho Sep 3 at 11:35
  • @oagostinho Are you trying this SOQL from the developer console? – Nishad kallingal Sep 3 at 12:24
  • this object became available in Summer 17; are you executing this in code that is at a version prior to summer17? – cropredy Sep 3 at 18:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.