Creating custom reports

  • 1 August 2006
  • 1 reply
  • 3 views

Badge +5
Based on KB000021, I have tried creating a custom Workspace report. I get the error message "There was a problem retrieving the data for the specified report and template please review the report, or make sure that the template exists." This is not terribly helpful.

Is there a way to get further details on the error?

What may be causing this is my Custompath value. I tried using '/K2V3/Workspace/K2MIS/ReportDetail.aspx', which seemed to be the default. I want a generic page that will display all my columns in a very basic format. Do I have to create a custom ASP page for every report?

Thanks!

1 reply

Badge +5
It does appear that the problem is the Custompath. Digging further into the KB example, there are lots of hardcodes in there:

UserName = RptService.CreateSession("suzans", "")

RptService.NewUserTemplate(UserName)

ds = RptService.GetID("My Report Example", "All", UserName)

This is not what we want to do (especially since we don't have a "suzans"). I also don't want to build a web page for every report - this system requires report designers to understand SQL, XML, ASP.NET, VB.NET, and Web Services.

Is there a generic way to display custom reports?

Reply