855.367.3511 | CONTACT US

Author Topic: ReportViewer  (Read 4723 times)

taniac

  • Full Member
  • ***
  • Posts: 148
    • View Profile
ReportViewer
« on: January 23, 2015, 09:33:42 am »
Regarding the specific problems I have getting the ReportViewer to work, the first seems definitely to be caused by the change of jquery version to 2.1. I switched to 1.11.0 and the code that was blowing up at the $(element).reportViewerEZ() call no longer throws.

The parameters issue is still a problem because there is a call to JSON.parse within the private _loadParameters function, so if I don

taniac

  • Full Member
  • ***
  • Posts: 148
    • View Profile
Re: ReportViewer
« Reply #1 on: January 23, 2015, 09:34:40 am »
Thank you, it looks like we introduced a bug in the parameters call, we should allow both strings and objects.  We will get this fixed.  This does not address the issue you are seeing with the model, we are still looking into this.

taniac

  • Full Member
  • ***
  • Posts: 148
    • View Profile
Re: ReportViewer
« Reply #2 on: January 23, 2015, 09:35:10 am »
Please clarify the following questions:

Question 1:

Below you say:

I ran into two problems:
1.       The reportViewerEZ widget (Forerunner-widget.min.js) _init function throws because at options.$ReportViewerInitializer.getParameterModel() the getParameterModel function is undefined and the parameterModel is null.
2.       I commented out that bit of code to see what happens. The report renders just as I would hope, but it doesn

taniac

  • Full Member
  • ***
  • Posts: 148
    • View Profile
Re: ReportViewer
« Reply #3 on: January 23, 2015, 09:35:48 am »
Question 1:
Reverting to jQuery 1.11.0 fixed problem #1 only.

Question 2:
The call to loadReport does not throw if I pass JSON.stringify(parameters)

taniac

  • Full Member
  • ***
  • Posts: 148
    • View Profile
Re: ReportViewer
« Reply #4 on: January 23, 2015, 09:45:08 am »
Thanks for the clarifications. We are looking into these issues now.

taniac

  • Full Member
  • ***
  • Posts: 148
    • View Profile
Re: ReportViewer
« Reply #5 on: January 23, 2015, 09:46:19 am »
We have released a new version of Mobilizer which fixes this issue.