As a transitional step, this site will temporarily be made Read-Only from July 8th until the new community launch. During this time, you can still search and read articles and discussions.

While the community is read-only, if you have questions or issues requiring TIBCO review/response, please access the new TIBCO Community and select "Ask A Question."

You will need to register or log in or register to engage in the new community.

Running a report from a web page with VISUALIZE.JS

Hello Everybody!

I've installed Jaspersoft Studio and Jaspersoft SERVER. I've created sucessfully a report using DB2 DATABASE and I can preview it on studio and run it on server. But, when I try to call on a webpage, always I've this error.

[Report] [visualize.js:1] [ERROR] - authentication.error : Authentication error

I'm passing all apropriate parameters in the script:

visualize.config({

            auth: {

                name : "joeuser",

                password: "joeuser",

                organization: "organization_1"

            }

        });

        visualize(function (v) {

            v("#container").report({

                resource: "/reports/Sfp006R01",

                params: { "codigo": [10]},

            });

            function handleError(err){

                alert(err.message);

            }

        });

Attached my html file!

 

Thanks a lot!