You need to sign in to do that
Don't have an account?
Garrett Miller
Can I create and save a public report with Apex?
Hello all,
I have been searching through the documentation and I can't find a clear answer. I am trying to use apex to create a report ( it requires calculations that aren't available in the normal report building ), and I want to be able to save it as a public report. Is this possible?
If so, would it require a Visualforce Page?
1) https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_analytics_test_reports.htm
2) https://salesforce.stackexchange.com/questions/53380/create-reports-programatically-with-apex
Sample code
Let us know if this will help you
thank you for sharing this wonderful article I tried this the filters are getting set however not reflecting in the backend on the report am I missing anything