Skip to Content
avatar image
Former Member

Passing the dropdown values in the URL to compare Design Studio reports

Dear All,

I need to compare the values from drop down with each other.e,g in Dropdown I have values like A, B ,C. Now user needs to compare the values from A with B or C.I tried to add below code at the on select of dropdown of company BU

if(CHECKBOX_1.isChecked())

{

APPLICATION.openNewWindow("Open doc link of the same report for comparison");

CHECKBOX_1.setChecked(true);}

. With this option check box is always checked and open a new window but the values doesn't pass from parent to child windows. Please help in this regards.

My design studio version 1.6

Add comment
10|10000 characters needed characters exceeded

  • Hi Afzal,

    In order for the community to assist, you will need to provide much more detailed information to clarify your requirement, including screenshots and the script code you are using to build the URL.

    Regards,

    Mustafa.

  • Former Member Mustafa Bensan

    Hi Mustafa,

    Thanks for your reply.The user wants to compare the different Lov's of the dropdown with the same reports.It should like to open a new window to comapare. I tried with

    Below given is the code with the url link that is set on Select of the drop down of BU.

    if(CHECKBOX_1.isChecked())

    {

    APPLICATION.openNewWindow("http://0.0.0.0.0:8081/BOE/OpenDocument/opendoc/openDocument.jsp?sIDType=CUID&iDocID=M1nV1XUAB68HAEECRgAAQ00DAqwSaZYAAAA");

    CHECKBOX_1.setChecked(true);

    }

    Attached herein is the screen shot ss1.png
    ss1.png (50.1 kB)
  • Get RSS Feed

1 Answer

  • Oct 09, 2017 at 09:20 AM

    Hi Afzal,

    From the script code you have provided, it looks like all you are doing is launching the OpenDoc link of the Design Studio application without actually passing any application-specific URL parameters. I suggest you review the following tutorial to understand the process for implementing URL parameters: Pass URL Parameters Between Applications

    Regards,

    Mustafa.

    Add comment
    10|10000 characters needed characters exceeded

    • You should check that the correct value is being passed in the variable X_BU. You can test this by adding a TEXT component and setting its value to X_BU in the On Startup script of the application.

      Also, how and when is the dropdown being populated?