Jump to content
JasperReports Library 7.0 is now available ×

ERROR TypeError: v.AdHocView is not a function


Recommended Posts

Hi, 

using jasperserver 7.1.0 with visualize.js tool. i m able to render dashboard and reports.However when trying to render an adhoc view it throws "ERROR TypeError: v.AdHocView is not a function" .

DisplayAdHocViewPlaceHolder(value : any): void {    visualize({                // already authenticated, so proceed with resource rendering              },              function(v) {                  v.AdHocView({                      resource:  value,          // value should have the resource uri                      container: "#placeholder",                      error:     handleError,                      success:   handleSuccess                  });                  function handleSuccess(){              };              function handleError(err){}    });}[/code]

am i using an old visualize.js file ? 

please advise

thanks!

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...