Skip to Content
author's profile photo Former Member
Former Member

How to apply filter on webi report after scheduling (even if the document has optional prompts) ?


I am working with the RESTFul Web Services SDK.

I've succeed to apply a filter on a webi report and to export it next.

But it doesn't work when the document has an optional prompt which is not given during the schedule.

To describe shortly the process in my java program :

1. I schedule a document (and I give it all the mandatory prompts values).

I use :

POST <webiURL>/documents/{documentId}/schedules

The schedule is ok.

2. I retrieve the last instance ID of the document.

I use :

GET <webiURL>/documents/{documentId}/schedules

I get it.

3. I create data filter on each report of the document.

I use :

POST <webiURL>/documents/{documentId}/reports/{reportId}/datafilter

It's sucessfully saved.

4. I export this instance in pdf.

I use :

GET <webiURL>/documents/{documentId}/pages

The report had been filtered by the data filter. All is ok..

BUT when the document has a optional prompt which is not given, it doesn't work and the pdf has no data (it seems like if all data had been filtered).

But nevertheless, the schedule is ok (it contains all data), so the step 2 seems to be ok. And the issue comes probably from the step 3.

Does anyone have an idea ?

Sorry for my english.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Apr 08, 2015 at 02:18 PM

    Hello Yann,

    If you wish to skip an optional prompt, you have to provide a parameter structure to the API with no value.

    Best regards,


    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.