I have a a data object that makes a call to a domain context within the web application to retrieve data. The data object loops through this data to build a list that is used by the report. The report appears to execute properly with no errors and the data is displayed properly when the report is run. The problem that I am having is in the report design tool. If I include the code that actually performs the call to the domain context, the "Data Explorer" does not display the field names from the data object. If I comment out the code that calls the domain context, the field names are displayed properly. I have moved the domain context code out to an external file (outside of the data object) but with the same results.
//return DomainContext.GetStatusData(null, timeToUse); <== Data Explorer says "No Data Source"
return null; <== Data Explorer displays data fields
I can set it to "null" when I create the report and set it back to the proper call when I run the report, but it is a pain to do that for all reports that we intend to build. Do you have any recommendations?
Thanks,
Aaron
//return DomainContext.GetStatusData(null, timeToUse); <== Data Explorer says "No Data Source"
return null; <== Data Explorer displays data fields
I can set it to "null" when I create the report and set it back to the proper call when I run the report, but it is a pain to do that for all reports that we intend to build. Do you have any recommendations?
Thanks,
Aaron