Date ranges needed for Admin report.
My company would like to be able to plug in date ranges to the Admin Report. (Report period) Am I correct in saying that the adminreport.ascx references the subreport.ascx file and Inside the Subreport.ascx file it declares the values for ddlReportPeriod? I’m guessing that new code would have to be added for the ranges. Any help/suggestions on what code to put? James
You're on the right track
subReport.ascx is definitely where you need to be. Your next step will be to determine what date ranges you want to add to the report, and generate the queries for them. You can find the out-of-the-box date ranges in the Formats.xml file - just search for "sidsqlToday" to see them.
Add custom strings for your new date range queries (https://www-secure.symantec.com/connect/articles/h... gives you an idea on how to do this).
Once you have your custom strings created, add references to them in the ddlReportPeriod section of the subReport.aspx page.
Be sure to follow HD customization best practices when you do all of this.
Hope this helps,
-Brad
Hi Brad, Thanks for the
Hi Brad,
Thanks for the response. Any idea on how to add a field that would enable you to enter a date range?
Adding the fields wouldn't be
Adding the fields wouldn't be terribly difficult, I don't think. The part that would require a signifigant level of effort would be modifying the logic to dynamically build the date range query. Are you sure that the underlying goal behind the request can't be satisfied by adding some additional "canned" date ranges?
I have tried to point
I have tried to point management to other reports several times and the possibility of adding additional date ranges in the admin report but they would really like the ability to enter their own ranges.
Would you like to reply?
Login or Register to post your comment.