Hello!
I have a parent report that has opendocument links for each of my 10 "Product" objects. The child report has three mandatory prompts (Product, Type, and Week) and three optional prompts (Name, Location, Market). By clicking the opendocument link corresponding to the Product you want the child report should open and the Product prompt should populate. The user then has to enter the Type and Week (mandatory) and they have the option to enter values for the rest before running the report.
This worked fine in 3.1, but we just upgraded to 4.1 and now the "Product" parameter isn't passing through. The report opens, the prompt box opens, but the "Product" is blank.
Weird thing is that if I change "Type" and "Week" to optional prompts the "Product" parameter passes through just fine, but the prompt box doesn't open. So I know that my text matches exactly and my lsS is working. Why doesn't it work when the other two parameters are mandatory?
I also tried to use NAII=Y and Refresh=Y to keep the prompts optional and just have the prompt box open up, but it doesn't work. The prompt box doesn't open.
This is the original code that worked fine in 3.1:
.../opendoc/openDocument.jsp?&sWindow=Same&sType=wid&siDocID=412087&sOutputFormat=H&lsSProduct:=" + [Product] + "&lsRefresh=N>"+ "Click to Select" + "</a>"
This is the code that the wizard generated when I scrapped the original code and started over:
.../opendoc/openDocument.jsp?iDocID=AajvIWJv9XFGi4FbyJsARB0&sIDType=CUID&sType=wid&sRefresh=Y&lsSProduct%3A="+URLEncode(""+[Product])+"&sWindow=Same&NAII=Y\" title=\"\" target=\"_self\" nav=\"doc\">"+"Click to Select"+"</a>"
This is the code that I added the NAII to after changing the other two mandatory prompts to optional but the NAII isn't opening the prompt box:
.../opendoc/openDocument.jsp?iDocID=AajvIWJv9XFGi4FbyJsARB0&sIDType=CUID&sType=wid&sRefresh=Y&lsSProduct%3A="+URLEncode(""+[Product])+"&sWindow=Same&NAII=Y\" title=\"\" target=\"_self\" nav=\"doc\">"+"Click to Select"+"</a>"
Any ideas?