Show BI Reports List on click of button?

Hi
Can we generate the list of reports and the reports in pdf of Bi publisher on click in listbox?

Hello Karthick,
1) Create custom controller.
2) Create attribute with type Visibility in custom controller.
3) Add custom controller in "required controllers" for embedded view and for container view.
4) Create attribute with type Visibility in embedded view and container view.
5) Map visibility attribute from custom controller to container view and from custom controller to embedded view.
6) in container view in wdDoInit put wdContext.currentContextElement().setVisible(WDVisibility.VISIBLE);
7) In action handler for button put something like:
     final int ordinal = wdContext.currentContextElement().getVisible().ordinal();
    wdContext.currentContextElement().setVisible(WDVisibility.valueOf(ordinal%2 + 1));
While clicking on button table would be shown or hidden.
Best regards, Maksim Rashchynski.

Similar Messages

  • HT3353 I cloud does not show Numbers app listed although I Cloud button in Numbers is on. Therefore unable to back up Numbers data

    I cloud does not show Numbers app listed although I Cloud button in Numbers is on. Therefore unable to back up Numbers data.

    Did you want a answer to this. I have also backed up my iPhone but files are not showing in Numebrs App on iCloud

  • Trying to makea report run when clicking a button on a form

    I am trying to run a report by clicking a button on a form (Forms 9i)
    I have modified the registry settings for FORMS90_PATH and REPORTS_PATH to include my development directory, and now at last the report is generating. However the command to display the form in a window is not doing anything at all - no error even. Can someone please help, the trigger code for my button is displayed below:
    DECLARE
         rep_result VARCHAR2(30);
    BEGIN
         SET_REPORT_OBJECT_PROPERTY('INVENTORY_REPORT', REPORT_FILENAME, :GLOBAL.project_path || 'Inventory.rdf');
         SET_REPORT_OBJECT_PROPERTY('INVENTORY_REPORT', REPORT_DESNAME, :GLOBAL.project_path || 'Inventory.htm');
         rep_result := RUN_REPORT_OBJECT('INVENTORY_REPORT');
         --MESSAGE('Rep result: ' || rep_result);
         WEB.SHOW_DOCUMENT('file:///' || :GLOBAL.project_path || 'Inventory.htm', '_blank');
         --WEB.SHOW_DOCUMENT('file:///C:\Temp\Dev\Inventory.htm', '_blank');
    END;
    thx
    adam

    Hi,
    may be this could be helpful for you:
    You have to include the following code to execute a report:
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status Varchar2(20);
    BEGIN
    repid := find_report_object(report_name);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_EXECUTION_MODE,BATCH);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,CACHE);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'pdf');
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_SERVER,report_server_name);
    v_rep := RUN_REPORT_OBJECT(repid);
    rep_status := report_object_status(v_rep);
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED') LOOP
    rep_status := report_object_status(v_rep);
    END LOOP;
    if rep_status = 'FINISHED' then
    WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?'||'server=repserver90','_blank');
    else
    error report not exists
    end if;
    END;
    Also you have to create the report server with the command:
    "rwserver - install service_name autostart=yes
    report server name must be the same that appears in the code above
    You must add the report to run in the REPORT object type in your .fmb and put there with the same name
    The report server to install ought to be the one and only in you network to avoid mistakes...

  • Show view container elements on click of button in view

    Hi All,
    I have a view ,in that view I have 1 View Container UI Element.In ViewContainer I have a Table.
    I have a button in my view.onclick of that button I want to open a view Container's table.
    Could anyone please suggest me what are all the steps i have to follow for this?
    Regards,
    Karthick

    Hello Karthick,
    1) Create custom controller.
    2) Create attribute with type Visibility in custom controller.
    3) Add custom controller in "required controllers" for embedded view and for container view.
    4) Create attribute with type Visibility in embedded view and container view.
    5) Map visibility attribute from custom controller to container view and from custom controller to embedded view.
    6) in container view in wdDoInit put wdContext.currentContextElement().setVisible(WDVisibility.VISIBLE);
    7) In action handler for button put something like:
         final int ordinal = wdContext.currentContextElement().getVisible().ordinal();
        wdContext.currentContextElement().setVisible(WDVisibility.valueOf(ordinal%2 + 1));
    While clicking on button table would be shown or hidden.
    Best regards, Maksim Rashchynski.

  • Disable checkbox lists while clicking Radio button

    Hi ,
    I have a checkbox list come from LOV based on a select from database table.
    I have added a Radiobutton only (not redirect not submit since I have to restrict the option as this is based on requirement).Now I want to disable the checkbox while I am clicking the radio button .
    Is it any way possible .
    Thanks in advance .
    Cheers,
    Debashis.

    ok, I create two radio buttons (Enable and Disable)(P8_RADIO). I created a LOV of users with checkboxes (P8_CHECK). When I click on disable all the checkboxes are disabled and enabled when I click on enable.
    First add this to your radio
    P8_RADIO's HTML Form Element Attributes
    onclick="disable(this)"
    Then, add this to the page HTML Header
    <script language="JavaScript" type="text/javascript">
    <!--
    function disable(pThis)
    var trigger = document.wwv_flow.p_v02.value ;
    var rads = document.wwv_flow.p_v02 ;
    if (pThis.value == 'ENABLE')
    for(var i=0; i<rads.length;i++ )
    { document.wwv_flow.p_v02[i].disabled = false; }
    } //end of if
    else
    for(var i=0; i<rads.length;i++ )
    { document.wwv_flow.p_v02[i].disabled = true; }
    } //end of else
    } //end of disable funtion
    //-->
    </script>
    **note**p_v02 is the name of the checkboxes.
    Hopefully this will help you and i explained it better than I did last time

  • Need to generate XML report  (when user clicks the button)from Application Express 4.0.0.00.46

    I am new to Apex so I invoke all the APEX GURUS to help me !!!
    Here are details.
    When the user hits a button from APEX page he can download an XML report
    here is the parameterized SQL query:

    Duplicate thread: https://community.oracle.com/message/11325665

  • Problem defining a report to show in Reports tab of plug-in home page

    We are developing a plug-in for OEM and we want to add some SYSTEM reports that will be showing in Reports tab of plug-in home page.
    We tried to use the PL/SQL code described in Extensibility Guide, copied the code used in some existing plug-in that we downloaded from Oracle site, but it does not work. When executing the code we receiving "PL/SQL procedure successfully completed" message, but report does not show neither in Reports list nor in Home page (reports tab does not exist).
    Finally we tried to add a report containing only static text component, but with same result.
    Following is the code that is executed:
    DECLARE
    l_target_types MGMT_IP_TARGET_TYPES;
    l_param_values MGMT_IP_PARAM_VALUE_LIST;
    l_target_type MGMT_IP_TARGET_TYPES;
    l_report_guid RAW(16);
    l_element_guid RAW(16);
    l_report_title_nlsid VARCHAR2(128);
    l_report_owner VARCHAR(100);
    l_curr_order NUMBER;
    l_curr_row NUMBER;
    BEGIN
    -- specify the target type associated with this report
    l_target_type := MGMT_IP_TARGET_TYPES();
    l_target_type.extend(1);
    l_target_type(1) := 'test_plugin_57';
    l_report_title_nlsid := 'Status 57_4';
    l_report_owner := mgmt_user.get_repository_owner;
    -- create a report definition for the report
    l_report_guid := mgmt_ip.create_report_definition (
    p_title_nlsid => l_report_title_nlsid,
    p_description_nlsid => 'TODO: description here',
    p_owner => l_report_owner,
    p_category_nlsid => 'Monitoring',
    p_sub_category_nlsid => 'Hardware',
    p_late_binding_target_types => l_target_type,
    p_late_binding_multi_targets => 0,
    p_show_table_of_contents => 1,
    p_system_report => 1,
    p_component_name => l_target_type(1)
    -- Add report so that it shows up under "reports" tab in default home page
    mgmt_mp_homepage.add_report (
    p_target_type => l_target_type(1),
    p_report_title => l_report_title_nlsid,
    p_report_owner => l_report_owner,
    p_report_order => 1
    -- Text
    l_param_values := MGMT_IP_PARAM_VALUE_LIST();
    l_param_values.extend(2);
    l_param_values(1) := MGMT_IP_PARAM_VALUE_RECORD(
    'oracle.sysman.eml.ip.render.elem.TextParamBean.textMessage',
    'This page shows the reports related to TBD.');
    l_param_values(2) := MGMT_IP_PARAM_VALUE_RECORD(
    'oracle.sysman.eml.ip.render.elem.TextParamBean.textStyle',
    'OraTipText');
    l_curr_order := 1;
    l_curr_row := 1;
    l_element_guid := mgmt_ip.add_element_to_report_def (
    p_report_guid => l_report_guid,
    p_element_name_nlsid => 'IPMSG_STYLED_TEXT',
    p_element_type_nlsid => 'IPMSG_ANY_TARGET_TYPE',
    p_header_nlslid => null,
    p_element_order => l_curr_order,
    p_element_row => l_curr_row,
    p_parameters => l_param_values,
    p_targets => null
    END;
    /

    Have you tried running your sql file in sql plus? Does that work? If it does execute, does the report show on the main tab but not on the target homepage or does it show in neither spot? Try hitting the refresh icon in the page to reset the cache on the Reports tab.
    When you deploy the plug-in with the report file in it, did you see any errors or messages in the oms logs?
    1. We do: run the PL/SQL script I posted from sqlPlus. As far as I understand it should add a report?
    2. We tried all the ways of defining a report. We successfully create the report interactively with SQLs we defined. We tried to put the PL/SQL code inside the jar and deploy, to run the PL/SQL script in SQL Plus, neither report is showed in Reports list nor Reports tab is showing at all. We tried to restart OEM and computer after adding a report, it does not help...
    Regarding the oms logs - where can we see that?

  • Showing universal work list when user clicks a button in webdynpro java

    Hi,
    I am developing webdynpro java application, when user clicks a button i want to display Universal worklist in the portal, if user is logged in then it directly shows in portal otherwise it should asks for username and password.
    Thanks,
    Madhu

    Hi Pithre,
    For this you have to use portal navigation classes, Same scenario occurred in previous forums, search thoroughly before you post the question.
    Go to the below link, May u r problem will be solved.
    Universal Work List & Web Dynpro
    Regards,
    Pradeep

  • Double click Bookmarks button to open the Library window directly ("Show All Bookmarks" function)

    I have a number of folders in bookmarks, and I edit it frequently by clicking "Show All Bookmarks" and opening a Library.
    Previously, after clicking Bookmarks button, "Show All Bookmarks" appeared on top of the list, and now it's at the bottom.
    Please, add double click function on Bookmarks button so that it opens Library window directly.

    See also:
    *[[/questions/997080]] Is it possible to move "show all bookmarks" in the bookmark-menu to the top?

  • How to print PDF report by clicking a button

    Hi,
    I'm using oracle 10g developer suite. i've developed a form clicking a button calling a PDF report. But i do not want to show PDF report. i want to auto print PDF report by clicking a button.
    Plz help me.

    Just follow the Oracle reports 10g output directly to printer and you will able to print directly
    Hope this helps
    Hamid
    If response is helpful or correct mark it.

  • I'm wanting to use the "Actions" in Photoshop Elements 11.  But when I get the Actions box up, it is only showing a small list of effects to use.  And no side bar to go any further.  When I click on the little arrow at top and then click on "load actions"

    I'm wanting to use the "Actions" in Photoshop Elements 11. But when I get the actions box up, it is only showing a small list of effects to use. And no side bar. So I can't go any further.  When I click on the little arrow at top and click on "load actions", I am only getting a box with empty space saying "No items match your search".  The folder at the top does say "Actions".  How do I get more effects?  The tutorials that I've checked into all show a long list of effects in their box.  Can anyone help? 

    To use the existing actions, try the following:
    1. Open one of the Action Sets, in this example Special Effects is the Action Set, by pressing the small arrow beside the set name.
    2. Then click on the name of the Action, in this example Faded Ink is the Action name.
    3. Then press the Play button to run the action.

  • Show a report region only when link in other report is clicked

    Hi Friends,
    I am having 2 report regions.In my first report region i am having a column as a link. I want to show the 2nd report
    region only when the link in the 1st report region is clicked. There is a button in the 2nd report region i want to show
    that button only when the link in the first report is clicked.
    The code for my first report is
    select * from tasks;i have a link column task_id as
    f?p=&APP_ID.:10:&SESSION.::&DEBUG.::P10_TASK_ID:#TASK_ID#My 2nd report code is
    select * from task_details where task_id=:P10_TASK_ID;Plz help,
    Thanks,
    TJ

    Hi Andy,
    I tried this but having one problem. When i press a link the vaule of P10_TASK_ID is set and the 2nd report is shown.
    When i go to other page and come back to this page the 2nd report is showing even with out pressing the link this is
    because the value set for :P10_TASK_ID is still there. Where can i put the value back to null so that the 2nd report is
    not shown with our pressing the link in the 1st one.
    Thanks
    TJ

  • Let's say I'm in my email, and I double click the button to the left of the screen and it then shows the multiple screens I've looked at already. How do I clear those already seen pages?

    If I'm in my email acct, I click a hyperlink to another page and then to go back to my email page, I double click the button to the left of the screen and it shows a slide list of pages I have recently been to. How do I get rid of that? Or clear the pages?

    You mean the multi task bar at the bottom?  In iOS7 there is a big preview box above each app in the bar.  Just swipe it up and away.

  • HT201317 My photostream in windows 7 PC does not shows any pic. when i click on slide show it start showing me slide shows of pic but when i try to copy files i cant do as no photo is viewd in list mode. This problem has arised since IOS is updated.

    My photostream in windows 7 PC does not shows any pic. when i click on slide show it start showing me slide shows of pic but when i try to copy files i cant do as no photo is viewd in list mode. This problem has arised since IOS is updated.I reinstalled my icloud and checked if icloud sharing is ON. I can see pic in my photo stream in PC only in slide show mode. While in list mode it shows pics before i actually click on photostream folder. My phone memory is out becose of bunch of photoes. How do i copy my photostream photoes.

    Hi all.  I can’t tell you how to solve your iCloud 3.x issues.  Heck, I don’t think they’re even solvable.
    But if you had a previous version of iCloud that was working correctly then I can definitely tell you how to solve the “iCloud Photo Stream is not syncing correctly to my Windows 7 PC” problem.  …without even a re-boot.
    Log out of iCloud 3.0 and uninstall it.
    Open My Computer and then open your C:\ drive.  Go to Tools/Folder Options and click on the View tab.  Select the “Show hidden…” radio button and click on OK.
    Open the Users folder.
    Open your user folder
    Open ProgramData (previously hidden folder)
    Open the Apple folder – not the Apple Computer folder.
    Open the Installer Cache folder
    In Details view sort on Name
    Open the folder for the newest entry for iCloud Control Panel 2.x – probably 2.1.2.8 dated 4/25/2013
    Right click on iCloud64.msi and select Install.
    When finished, the synching between iCloud and your PC will be back to working perfectly as before the 3.0 fiasco.  The pictures will be synched to the same Photostream folder as before the “upgrade”.  Now all you need to do is wait until Apple/Microsoft get this thing fixed and working before you try the 3.x upgrade again.
    I think the iCloud 3.0 software was written by the same folks who wrote healthcare.gov with the main difference being that healthcare.gov might eventually be made to work.
    For those of you who hate to go backwards, think of it as attacking to the rear.  Which would you rather have, the frustration of no synching or everything working on an older version?
    Good luck…

  • Execute button in Report List

    Hi
    I have an ALV wich executes with user commad button a Report List (write) ; then when the Report List is showed i need to execute some action with some button so i set a status gui with the button , but when i press the button any action is executed ; no control is passed to program even if i set the debug mode and then press that button.
    Does somebody knows how can i catch a button in report list for make some action , taking in account that the report list was called from an ALV user command button.
    Regards
    Frank

    I think you will need to activate the events of user_command in the events activating subroutine,
    form f_eventtab_build changing lt_events type slis_t_event.
      data:
        lw_event type slis_alv_event.
      refresh lt_events.
      call function 'REUSE_ALV_EVENTS_GET'
        exporting
          i_list_type = 0
        importing
          et_events   = lt_events.
      read table lt_events
      with key name = slis_ev_user_command into lw_event.
      if sy-subrc = gc_zero.
        move slis_ev_user_command to: lw_event-form, lw_event-name.
        append lw_event to lt_events.
      endif.
    endform.                    " f_eventtab_build
    form user_command.
      if sy-ucomm = 'XXX'.
    *   etc.....etc...... 
      endif.
    endform.
    does this solve your problem?
    Edited by: Andre Julius on Jul 8, 2009 4:30 AM

Maybe you are looking for