Display Button depending on selected saved interactive report

Hi all,
I have two saved public views of my interactive report. Now I want to show Button 1, when View 1 is shown and Button 2 only when View 2 is shown.
Is there a possibility to get this working???
Thanks
chrissy
Edited by: chrissy2 on 06.09.2012 12:17

this seems to be a way to get this working ... but what happens in translated applications? I don't know if we can translate "Public Report Names"? Do they appear in translation file?
I think I will fetch the value of the selected item, which should be the internal report id and search database for the report alias of this report id.Yes, I confirm that option value of select list are same as report_id. You can get the report_id using following query.
select report_id, report_name, report_alias from APEX_APPLICATION_PAGE_IR_RPT where application_id = <app_id>and page_id = <page_id> and status = 'PUBLIC'<li>When we use same application id for DEV and PROD, then report_id value didn't changed. You may check how this behaves with different application ids.
<li>Also I think, report_alias stays as constant irrespective of workspace or application_id. Its my guess. :)
Please update how it goes.
Regards,
Hari

Similar Messages

  • Saved Interactive reports options display for all users

    Hello,
    For now I build once again my apex apllications in Apex 4.0
    I created a user. In the apex administration this user is not an administrator and not a developper either.
    However the saved interactive report options display for him too, so he can choose the look of the default report, etc...
    Is that a bug ?? Or did I forget something ?
    Thanks !
    Fanny

    Fanny, as long as you are logged in as a developer in apex you will be able to save the report as the standard report, no matter with what user you are logged into your application.
    Paul

  • Multiple selection in interactive reports

    hi,
    how can we do multiple selection in interactive reports using check box?
    my first list will have a list of account numbers along with the check box. if few check boxes are clicked then the other fields from the table for the checked account numbers . kindly help me with this.

    Hi,
    REPORT zbcd .
    data : BEGIN OF ITAB OCCURS 0,
            VAR1(4) TYPE C,
            VAR2(4) TYPE c,
           END OF ITAB,
           LINE1 TYPE I,
           VAR3(4) TYPE C,
           VAR4(4) TYPE C,
           FLAG TYPE C,
           CURRENT TYPE I.
    data : BEGIN OF WA OCCURS 0,
           XYZ(100) TYPE C,
           END OF WA.
    MOVE: '1234' TO ITAB-VAR1,
          'ABCD' TO ITAB-VAR2.
    APPEND ITAB.
    MOVE: '5678' TO ITAB-VAR1,
          'EFGH' TO ITAB-VAR2.
    APPEND ITAB.
    MOVE: '9999' TO ITAB-VAR1,
          'IJKL' TO ITAB-VAR2.
    APPEND ITAB.
    SET PF-STATUS 'BUTTONS'.
    *HERE PF-STATUS CONSIST OF PUSHBUTTON WITH USERCOMNAD 'DISP'.
    LOOP AT ITAB.
    WRITE: / FLAG AS CHECKBOX, ITAB-VAR1, ITAB-VAR2.
    ENDLOOP.
    DESCRIBE TABLE ITAB LINES LINE1.
    REFRESH ITAB.
    CLEAR ITAB.
    CURRENT = 0.
    CLEAR: VAR3, VAR4.
    AT USER-COMMAND.
    CASE SY-UCOMM.
    WHEN 'DISP'.
    DO LINE1 TIMES.
    CURRENT = SY-INDEX + 2.
    READ LINE CURRENT LINE VALUE INTO wa.
    IF wa-XYZ(1) EQ 'X'.
      WRITE: wa-XYZ+2(4) TO VAR3,
             wa-XYZ+7(4) TO VAR4.
      WRITE: VAR3 TO ITAB-VAR1,
             VAR4 TO ITAB-VAR2.
      APPEND ITAB.
    ENDIF.
    ENDDO.
    ENDCASE.
    THEN U SECONDARY LIST VALUE SELECTION TAKES PLACE
    SELECT * FROM MARA INTO TABLE ITMARA FOR ALL ENTRIES IN ITAB WHERE MATNR = ITAB-MATNR.
    LOOP AT ITMARA.
    WRITE:-----FIELDS TO BE DISPLAY IN OTHER LIST...
    ENDLOOP.
    *NOTE :-1.PLEASE EXECUTE ABOVE PROGRAM WITH OUT CHANGES IN DEBUG MODE TO CLEARLY UNDERSTAND. 
    2.ALSO U CAN MOVE ABOVE ITAB REQUIRED FIELD VALUES INTO ONE OF INTERNAL TABLE(BY LOOPING) WHICH IS LIKE SELECTOPTIONS MARA-MATNR(ie TB_MATNR) AND USE*
    (AND INSTEAD OF VAR1 AND VAR3 U CAN PLACE THE MATNR)
    SELECT * FROM MARA INTO TABLE ITMARA WHERE MATNR IN TB_MATNR.*
    Edited by: Vijay Mekala on Feb 1, 2008 5:16 PM

  • User Saved Interactive Reports like in the old days?

    Hello!
    Is there a way to display user saved (private) interactive reports in 4.0.2 like they were displayed in 3.2.1 (tabs instead of the Reports Select List)?
    BR Paul

    Hi,
    I don't know, if it officially possible, but do not think.
    But this is possible with some adjustments in your template/code.
    Here can you see my little example with saved interactive reports shown in a different SQL region.
    http://apex.oracle.com/pls/otn/f?p=2071:201
    Based on the query you can create the tabs and "fill" the tabs with the content.
    Leonid

  • Share saved interactive reports

    Hi, does anyone found a way of sharing saved interactive reports ? i'm using version 3.1.2.
    Thanks,
    Chantale

    So rather than using interactive reports just build a report page with a bunch of named reports listed and based on the report someone clicks on they get the output as it was predefined. You can do it with dynamic SQL or just hide/show different regions based on the selected report name. Not the elegant solution that IRRs offer, but if that's what the users need then that's one way of achieving it.
    Earl

  • Upgrade To 4.2 Saved Interactive Reports

    We are currently upgrading our environments to Apex 4.2 from 3.2.
    Some of our applications have saved interactive reports.
    Is there anything special I need to do, so we don't lose these ?
    Gus

    Hi Gus C,
    At the time of Export please check
    Under Export Preferences
    Select Yes in Export Private Interactive Reports
    see below for info
    Export Supporting Object Definitions =     Yes
    Export Public Interactive Reports      = Yes
    Export Private Interactive Reports =              Yes
    Export Interactive Report Subscriptions =     No
    Export Developer Comments      = Yes
    Export Translations      = No
    This will export your Saved Interactive Reports.
    Hope this will helps ,
    Regards,
    Jitendra

  • Saved interactive reports

    Joel has a nice writeup about how saved public interactive report settings are handled when applications are moved around.
    Some questions...
    Since the IDs of all of the application meta data have changed, all of your users' customized reports in the previous version of the application are forever left orphaned until they're cleaned up by an internal APEX batch process
    1. Which batch process is this referring to? One of the jobs in dba_scheduler_jobs setup during the install process? Which one exactly? Is there any documentation on all the jobs installed and what each one does?
    2. Is there a way to run these jobs manually as a one-off/adhoc activity without waiting for their scheduled run? I tried logging in as SYSTEM, setting the security_group_id and running apex_040000.wwv_flow_maint.daily_maintenance and apex_040000.wwv_flow_cache.purge_sessions but that didn't seem to do anything that I could tell. Do they have to be run as SYSDBA?
    Upon import of a new version of the application, all meta data associated with application 645 is first deleted except the Customized Interactive Reports. In essence, these are left "dangling" until the new application 645 is installed.3. I found that when an application is deleted using the Builder Delete Application wizard, even the saved interactive reports are deleted. I am not sure I see why this is so. An application could be deleted in error and restored from source control but the user saved IR settings are gone for ever! May I suggest that the wizard be changed to not delete the saved reports?
    Thanks

    Bump

  • How to create a event to display records depend on selection ofdropdownlist

    BSP
    how to create a event to display records depend on selection of dropdownlist box,
    Using BHTML,
    thank you,
    regards,
    jagrut bharatkumar shukla

    1) Copy this script to the code
    <script type="text/javascript">
    function displayVacationDates() {   
        for (var i=0; i < document.forms[0].Status.length; i++) {
            if (document.forms[0].Status[i].checked && document.forms[0].Status[i].value=='Vacation'){
              document.getElementById('startDateRow').style.visibility='visible';
              document.getElementById('endDateRow').style.visibility='visible';
             if (document.forms[0].Status[i].checked && !(document.forms[0].Status[i].value=='Vacation')){
             document.getElementById('startDateRow').style.visibility='hidden';
              document.getElementById('endDateRow').style.visibility='hidden';
    </script>
    2) Set initial style to 'hidden'
    <tr id="startDateRow" style="visibility:hidden">
    <td align="left"><blockquote>
      <p><span class="style16 style8"><strong>Start date:
      </strong></span></p>
    </blockquote>                 </td>
    <td align="left"><script>DateInput('VacStart', true, 'DD-MON-YYYY')</script></td>
    </tr>
    <tr id="endDateRow" style="visibility:hidden">
    <td align="left"><blockquote>
      <p><span class="style16 style8"><strong>End date:
      </strong></span></p>
    </blockquote>                      </td>
    <td align="left"><script>DateInput('VacEnd', true, 'DD-MON-YYYY')</script></td>
    </tr>
    3) Call the display script
    <input name="Status" type="radio" value="In the Field" onclick="displayVacationDates()">
    <input name="Status" type="radio" value="Vacation" onclick="displayVacationDates()">
    <input name="Status" type="radio" value="Sick day" onclick="displayVacationDates()">
    <input name="Status" type="radio" value="Admin Day" onclick="displayVacationDates()">
    <input name="Status" type="radio" value="DSR Ride Along" onclick="displayVacationDates()">
    <input name="Status" type="radio" value="ServiceCall" onclick="displayVacationDates()">

  • Saved interactive reports - need a way to migrate to updated application

    APEX version 4.1
    We had an application (APP_ID =20) in operational environment that users had saved many reports.
    Recently we made enhancements to the application and promoted the development version of the application into our operational database. When importing we picked a new APP_ID =21. After several weeks on Operational system users have noticed there saved interactive reports are no longer showing up in pull down list.
    I have seen several posts talking about keeping the application IDs the same ensures the saved reports are preserved. For our situation I am not sure the best route to take to get us back to where users have there reports. Can I export APP_ID =21 on OPS, import this back into a dev environment setting its number back to 20, then export this from Dev and re-import onto OPS using the re-use APP_ID=20 option. Was not sure if this would work since APP_ID =21 on OPS has no saved report now??
    Any ideas would be appreciated, thanks in advance.
    JAF

    APEX version 4.1
    We had an application (APP_ID =20) in operational environment that users had saved many reports.
    Recently we made enhancements to the application and promoted the development version of the application into our operational database. When importing we picked a new APP_ID =21. After several weeks on Operational system users have noticed there saved interactive reports are no longer showing up in pull down list.
    I have seen several posts talking about keeping the application IDs the same ensures the saved reports are preserved. For our situation I am not sure the best route to take to get us back to where users have there reports. Can I export APP_ID =21 on OPS, import this back into a dev environment setting its number back to 20, then export this from Dev and re-import onto OPS using the re-use APP_ID=20 option. Was not sure if this would work since APP_ID =21 on OPS has no saved report now??
    Any ideas would be appreciated, thanks in advance.
    JAF

  • Changing usernames - migrating saved Interactive Reports

    Hi all,
    We are changing our authentication scheme for our Apex 4.2 app. Unfortunately the new authentication provider requires us to use usernames of a different format to those that we currently use. This will make our saved interactive reports for each of our many users "disappear" as they are saved against a given username. For example, where I may have had the username SURNAME1234 I will now have FIRSTNAME.SURNAME1
    I haven't found any Oracle-sanctioned method of doing this migration rather than just altering data in the Apex Schemas. If there is one, I would be very grateful to hear of it, but I haven't spotted anything in my searches.
    If I do have to just hack around in the data, I've devised the following update statement to "migrate" the usernames:
    UPDATE apex_040200.wwv_flow_worksheet_rpts
    SET application_user = :DG_USER_ID
    WHERE application_user = :OLD_USER_ID;
    ... Can anyone think of any complications that might arise from this? Is there anything more I need to do to ensure that the system remains internally consistent? It seems to work ok in my initial testing (moving a report from one user to another).
    Any help greatly appreciated,
    Alex.

    Alex / Duncs,
    There isn't any supported way to change the owner of saved reports in the current release of APEX 4.2.3.  The UPDATE statement given by Alex is unsupported and dangerous as it can touch rows which are not saved reports.  We will provide a supported PL/SQL API to change the saved report owner in the future release of APEX.
    Regards,
    Christina

  • Group share - saved Interactive Reports

    Hi,
    My customer would like to share their personal "Saved Interactive Reports" with other users.
    We have a work around by creating a "Group User ID", login as this ID and create, use, share these reports.
    My customer doesn't like logging in/out all the time..
    Thank you, BC

    check this Re: User saved IR

  • Way to copy saved interactive reports to another application?

    Is there a way to copy saved interactive reports (public and private) from one application id to another
    or does anyone have a SQL script to do this that they would share?

    Is there a way to copy saved interactive reports (public and private) from one application id to another
    or does anyone have a SQL script to do this that they would share?

  • Missing User Saved Interactive Reports

    version 4.0.2.00.07
    Hello,
    I have Interactive Reports that users who are saying that their reports that they saved as a Named Report are no longer there, as though they were deleted.
    Where would those reports that are saved as a Named Report be saved and can they be retrieved?
    Thanks,
    Joe

    Hi,
    I don't know, if it officially possible, but do not think.
    But this is possible with some adjustments in your template/code.
    Here can you see my little example with saved interactive reports shown in a different SQL region.
    http://apex.oracle.com/pls/otn/f?p=2071:201
    Based on the query you can create the tabs and "fill" the tabs with the content.
    Leonid

  • Delete saved interactive reports

    Seems there is a lot of discussion about migrating and sharing "saved" interactive reports, but how do you delete them?
    thanks,
    Drew

    How do you mean?
    Each user can delete a saved report by clicking the 'Delete Report' icon, which is always the first icon at the top of the report.
    There is also a APEX_INSTANCE_ADMIN.REMOVE_SAVED_REPORTS procedure that will do the job for all the saved reports.
    Cheers
    Shunt

  • Saved Interactive Reports after APEX Upgrade

    Hi,
    When you do an APEX Upgrade are saved interactive reports kept?
    Martin

    I have been experiencing lost saved "as Named Report" Interactive reports, whenever I migrate the application from test to prod.
    To clarify how we operate.
    We have a test APEX environment that is separate to production. The Test app has a different App_id but uses the same schema name. In test the application Id is 1xxx (eg 1201) and in test 2xxx (2201). I export Test 1201 and then import into Prod changing the App_id to overwrite 2201. I always lose the saved reports. I just tried an experiment of creating the saved report in Test and seeing if it migrates to prod, but of course it does not.
    How should I operate the two different Test and Prod environment to be "best practice" and not lose "as Named Report" Interactive report saved by the end-user?
    thanks Peter

Maybe you are looking for