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){} }); }
am i using an old visualize.js file ?
please advise
thanks!
v.AdHocView should be replaced by v.adHocView as per the visualize.js file. i was following the user guide that mention the AdHocView with A uppercase