cancel
Showing results for 
Search instead for 
Did you mean: 

Open Doc. getting triggered by every click in the application

Former Member
0 Kudos

Hi,

We have created applications in BusinessObjects Design Studio sourcing BEx queries in Release 1.0 SP2, Version 10.2.0. In an application or two, we have placed buttons that open other applications created in Design Studio as well. Under the buttons we have put an open document script, "APPLICATION.openNewWindow("/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=AQLBkjSPT.dMvOfeK_.....");" The other applications are open correctly, once the buttons are clicked.

Once the button is clicked and other application is opened; and if a user goes back to the initial application and click on any component that has a script (images, buttons, radio button) it triggers the last open doc. script automatically and a new window with the last jumped report opens again. For every click on the application the open doc. report keeps on opening.

Example:

Report_A has a Button_A that opens Report_B. Report_A has other components like Image_A that are being used to drill in to the Report_A. Once the user clicks on the Button_A in Report_A to open Report_B and then decides to go back to Report_A and click on Image_A in Report_A; user is able to drill in to Report_A but it also opens Report_B again. For every click in Report_A, Report_B automatically keeps on opening.

Have someone encountered the above issue? or may be able to suggest a solution to it. I hope the above issue is somewhat understandable.

Thanks,

Majid Syed

Accepted Solutions (1)

Accepted Solutions (1)

former_member131154
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Majid,

i'm using 1.1 SP1 and do not have that issue, maybe it's worth trying with that new version.

Please check in your exaple Image_A does not have somthing like "Button_A.onSelect" as part of the script.

Regards
Dirk

Former Member
0 Kudos

Hi Dirk,

Thanks a lot for taking the time and replying; i agree that the new version may be worth a shot. The weird thing is that they were acting as expected before, but unfortunately once the applications were promoted through environments this started to happen. Furthermore, we have made sure there are no scripts triggering the Button_A in any of the Image_A.

If the user clicks on Image_A before clicking Button_A, application all the components function as expected. Its, once the Button_A is clicked it appears the syntax gets attached to the mouse and every where one clicks, it opens Report_B.

Answers (2)

Answers (2)

Former Member
0 Kudos

Installing 1.1 SP1 has resolved the issue, Thanks all.

murali_balreddy2
Active Participant
0 Kudos

Hi Majid,

Could you please re-check if you don't have any other scripts elsewhere? Use Search from menu and search for "window". I'm sure you would have done it, but just wanted to make sure.

The only way I can mimic your scenario is to have the OpenNewWindow method on a panel container that has other components. Clicking on any child components in a panel, opens the linked URL.

Do you have a panel container?

Thanks,

Murali

Former Member
0 Kudos

Hi Murali,

Thanks for your reply, yes we have searched and cross checked if the Button_A is getting triggered by any other component. Also the fact that no component eg, Image_A functions normal and do not open Report_B unless Button_A is once clicked - may disregard the fact.

We are using 2 cross tabs and a filter panel in the initial view of the report. The buttons ie, Button_A is placed in the filter panel. I have tried to take it out of the filter panel and placed it in middle of the report to test and unfortunately no luck.

Thanks,

Majid