Forum

This content is now out of date.

Visit Our Community

Incomplete Filters with Javascript API

Hello,

I want to use the javascript API to display a report in another application. The report has 3 filters of which 2 are required. All filters are properly set by the yellowfin.reports.loadReportFilters but it still shows the error 'Incomplete filters' and the report is not started to run. Whan manually pressing the 'go/run' icon it runs fine with the parameters already populated by the API. I wil include the code afterwards. My question is how I can get the report to run to show content without user interference?
Thanks in advance!
Best regards,
Kai Asmussen

### Code start



### Code end
Hi Kai,

Thanks for sending in the question. I did some testing using your code in Yellowfin 7.2 and I was successfully able to pass filter values via the JS API using the Ski Team tutorial database. Here is an example of the code I used:

[code]




[/code]

So I'm wondering a couple of things.

1. Which version/build of Yellowfin are you using. What version and build of Yellowfin are you using? To check the build of Yellowfin you are using go to System Information under Administration > Admin Console > System Information. The build information is listed next to Application Version.

2. Is there anything special about your filters? You said that two of your filters are required, does this mean that they are configured as mandatory filters?

If you would like, you can email this information to us at support@yellowfin.bi. This will log a case in our CRM and will allow us to route your query to other parties if necessary.

Anyway, I look forward to hearing back and hopefully we can get to the bottom of this quickly.

Kind Regards,

Dustin

Best regards,

The Yellowfin Support Team

Contact Us:
Email: support@yellowfin.bi�
Wiki: wiki.yellowfin.com.au/display/USER71/Home
Community Forum: www.yellowfinbi.com/YFForum.i4
/Applications/Test/Yellowfin 7.1 20150729/appserver/webapps/ROOT/WEB-INF/web-jsps.xml

Thanks for trying Yellowfin

Please complete the form below to request your copy of Yellowfin today.