Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10449

Webi OpenDocument URL NAII=Y Not Displaying Prompt Window

$
0
0

Hi everyone,

 

I have a webi document with 2 prompts. The first is a mandatory prompt that is generated by a universe object. The object is named "Subtract Number Of Days Prompt" and when it is used in a query filter it will generate a prompt and then return current date minus the integer input at the prompt. We use it to run statements such as Today - <DYNAMIC NUMBER AS INPUTTED BY PROMPT>

 

prmopt.png

 

This is becasue my organisation dose not allow custom SQL.

 

Ok, so I have Minus number of days becasue I want to look at any record <= (CurrentDate - 3 days).

 

My second prompt is optional and is on Service State.

 

I have the following URL to open the report:

 

http://bi/OpenDocument/opendoc/openDocument.jsp?iDocID=AeVqxuUpApVLupgbup6_QC4&sIDType=CUID&sRefresh=Y&sType=wid&sOutputFormat=H&NAII=Y&lsSSubtract%20No.%20of%20days%20(0%20-%20999):=3

 

Works Fine, the prompt is answered with 3 days but for some reason the prompt box is not displayed asking for the state prompt.

 

I have this exact same URL format working for 7 other reports, only difference is that their state prompt is mandatory.

 

I can trick it into forcing the prompt box using the following: (Service State:=?)

 

http://bi/OpenDocument/opendoc/openDocument.jsp?iDocID=AeVqxuUpApVLupgbup6_QC4&sIDType=CUID&sRefresh=Y&sType=wid&sOutputFormat=H&NAII=Y&lsSSubtract%20No.%20of%20days%20(0%20-%20999):=3&lsSService%20State:=?

 

But this opens up the prompt box with ? selected in the state.

 

 

Prompt.png

 

 

This means if you hit run query it gives a database error becasue ? is not a valid response for state.

 

error.png

 

You have to either remove it to run for everywhere or select another state to run for a specific state.

 

This is not the behaviour I want.

 

I want the prompt box to open up so the users either hits run query leaving state empty or makes a selection and hits run to generate the report for the selected state.

 

I have not been able to find anything on this issue or anyone else who has experienced it via hours of google searching so I appreciate any assistance anyone can offer.

 

Cheers.

Nick


Viewing all articles
Browse latest Browse all 10449

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>