Permission interactive report Menu

Hi all

I'm working on APEX 4.2.

My question is related to the 'Actions' interactive report Menu. I have the schema for custom authorization distinguishing users to be "Admin" and "General" users. I want this 'Format' inside the Actions menu interactive report only works for Admins and not for other users.

I don't see any way to authorize it. Can it be done? Is this feasible?

Thank you

Sunil Bhatia

Kiran Pawar says:

Hi Sunil Bhatia,

Sunil Bhatia wrote:

Hi Kiran,

Thank you. It seems to work very well in 4.2 APEX. 2 questions I have:

1 APEX 5.0 is not similar "apexir_FORMAT_MENU" of the id etc. What to do in this case?

2. I see not any Id if still go us inside the menu format. Suppose I wish to restrict only aggregate and fate to the admin and relies on users in general.

Any idea on these issues?

Thank you

Sunil Bhatia

Yes, they (Oracle APEX development team) have rewritten the IR functionality in APEX 5.0.

There no id to put in shape the options of the menu/menu like APEX 5.0, several IR features are introduced.

In a valid HTML markup, id should be assigned to one and only one tag, so there is no ID of IR APEX 5.0 from previous versions where interactive report per page is allowed.

How to identify what menu option to hide/show it takes little research on jQuery selectors.

How to target the menu 'Actions' of particular IR (assume that there are several IRs), is to use the static region for IR and then ID through jQuery selectors, you can select the particular item in the closed area. For example, you can use the parent-child selector.

I'll post an example of the same thing in a while.

Good luck with that. The new structure (supposed to be improved) has no specific hooks, only arbitrary IDS and generic classes option. Looks like you will need to select the content option (which can cause the complexity of the problems/extra in translated apps) or classes icon. Using either, you have to cross to the top the tree to get the required parent nodes that will not be effective.

The elephant in the room here is that security functions can be implemented using JavaScript and dynamic actions only. If the server displays the content then you should assume that the user (or an attacker) has access to it.

4.2, the safest is to create 2 IR separate pages with the authorisation schemes applied and also to use the authorisation schemes to control the connection to the correct page depending on the privileges of the user. In 5.0, you can take advantage of the ability to have several IR regions on one page and use the authorization scheme to control one appears. Yes, it's repetitive, but it's also safer.

Added support for the authorisation on the actions of the IR schemes would be a great feature request...

Tags: Database

Similar Questions

  • RTL add interactive report (Menu Action)

    Dear APEX Experts

    I am trying to develop a law at the request of APEX left. I realized a lot of things, but I have a problem that I can't solve on the Action Menu of the interactive report.

    How to reverse the Menu entry 'lines per page? (the entry with the staging arrow right) In addition, the menu collapses on the right side. I managed to back all the other menu entries adding just bodies tag direction to rtl.

    I crushed several css properties to make my RTL or LTR application at the same time.

    Maybe someone can give me a hint, I dig in the css code and javascript functions, but without success so far.

    Best regards
    Sebastian

    Hi Sebastian,.

    you will not be able to change this name because they hard coded into our packages. But you should be able to replace the JavaScript code work with something like.

    // overwrite the existing dhtml_MenuOpen to always uses Right as direction
    (function(){
      var lOldDhtml_MenuOpen = dhtml_MenuOpen;
      window.dhtml_MenuOpen = function(pThis, pThat, pSub, pDir){
        // always use Right for the direction
        lOldDhtml_MenuOpen(pThis, pThat, pSub, 'Right');
      };
    })();
    

    If you put this code in your page header (after the APEX libraries have been removed) or in a separate JavaScript library you should get exactly what you want.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Downloading reports - Menu Actions - interactive option

    The interactive report Menu Actions has many wonderful options. The action that my users will use the most is the download. Is it possible to create a text link or button to download, similar to what is shown in the classic report? Users want the download button appears on the lower left side of the IR. I appreciate all the comments and hope that this will be a simple solution. Thank you very much.

    Hello

    You must include the SESSION ID in the URL.

    Use the f URLS? p = & APP_ID.: & APP_PAGE_ID.: & SESSION. : CSV:

    Thank you
    Machaan

  • Interactive report several series in the same chart?

    Hello
    I am about to develop a chart report showing multiple series in the same chart
    ex
    Series1: product A, amounts, dates
    Series2: product B, amounts, dates
    etc.
    It would be good to use IntractiveReports in this case, but is - it possible?
    Thanks for the tips & tricks
    Cordially GASon

    Hi Gunnar,

    It is not actually possible create a multiple series chart using the Actions menu for an interactive report. Only the single series charts can be generated using this option. You need generate a separate table to manage your needs, which you obviously could position itself on the same page as your interactive report. The advantage to generate a separate table means that you can choose from a wide range of types of exposed by the wizards for creating Flash charts. We take to support the generation of 4 types of charts (horizontal bar, column, line, Pie) via the Action of graphics on interactive reports menu, but we support 26 types of graphs (ranging from the Gantt chart 2D column) via Wizards of creation. You may find it useful to take a look at my sample application (http://apex.oracle.com/pls/apex/f?p=36648) and also books AnyChart-online (http://anychart.com/products/anychart/overview/) and the graphics library, for more information on the cards.

    I hope this helps.

    Kind regards
    Hilary

  • The help file for the interactive report - wwv_flow_utilities.show_ir_help

    Any way to change the page that appears when you click the help in the interactive report Menu (the train)... ?

    Hello

    Yes, for example by using jQuery.
    Sample here
    http://Apex.Oracle.com/pls/OTN/f?p=40323:63

    I have in the HTML page header

    
    
    
    

    Example use jQuery from Google.
    You can install jQuery on your own server.
    Here's a guide for this
    http://www.oracleapplicationexpress.com/tutorials/66-integrating-jQuery-into-apex

    BR, Jari

  • Excel not downloaded in the same order as on the interactive report

    I have download to Excel on the interactive report, it is not sorted in the same way? Can I fix this?

    Hi Doug,.

    Could be a quick solution to this solution, you can have a download link on the header of the report area and that it points to a page that contains the same report with the csv model.

    Download CSV Report 
    
    where 3 is the page number for csv output report.
    *replace click by onclick
    

    or if you want more control over the report, you can create a button on the interactive report region and at the click of the button run a process to download a csv output file.

    Put dummy code for creating csv file

    DECLARE
    CURSOR cEmp IS
    SELECT
         Eno,Ename,SAL,DEPT
    FROM emp_table ORDER BY 1 DESC, 2 DESC,4;
    BEGIN
         owa_util.mime_header('application/octet', FALSE );
            htp.p('Content-Disposition: attachment; filename="Employee.csv"');
            owa_util.http_header_close;
    --Printer Header Row
         htp.p('Employee '  || ',' || 'Name'   || ',' || 'Salary'  || ','|| 'Department' ||  chr(13));
    for cThis in cEmp
    LOOP
              htp.p( '"'|| cThis.eno ||'"'||   ','|| '"'|| cThis.ename   || '"'|| ',' || cThis.sal||  ','|| '"'|| cThis.dept  || '"' || chr(13));
        END LOOP;
    htmldb_application.g_unrecoverable_error := true;
    EXCEPTION
              WHEN OTHERS THEN
                   htp.p('Download Error ' || SQLERRM || ' with error code ' || SQLCODE);
    END;
    

    Also, you can disable the download report link in the interactive report menu by going to reports-> Search bar attribute->, under include in the Actions Menu: uncheck the download option.

    I hope this helps.

    Thank you
    Manish

  • Customize the Action menu in the interactive report

    To change the word 'Action' in the menu of the interactive report.

    Apex 4, we had the 'Image of the Action menu' option, but the Apex 5 this option disappeared.

    This isn't in known issues in the Apex 5!

    Someone knows how to set an image or other text to the menu Action interactive report?

    Anderson.Ferreira wrote:

    To change the word 'Action' in the menu of the interactive report.

    Apex 4, we had the 'Image of the Action menu' option, but the Apex 5 this option disappeared.

    This isn't in known issues in the Apex 5!

    Someone knows how to set an image or other text to the menu Action interactive report?

    Why do you need to change?

    Follow the instructions in 'Translating Messages used internally by Oracle Application Express' to create a custom text for the message of the APEXIR_ACTIONS system. Available for translation/customization internal messages are listed in these tables.

  • Menu actions of interactive reports no longer work after the upgrade to 5

    Hi everyone, I just upgraded to 5 Apex 4.2.6 everything went fine except for the interactive reports, the button actions have no effect in the upgraded applications, I have no idea why.  If I create a new page in an application upgrade with an interactive report, it's the same situation, but if a create a new application, the menu actions works in the new page.  Any idea? Thanks in advance.

    Patrick Merci many have responded, you have reason, it was a javascript problem caused by the jquery menu plugin.  I found your comment about it on the page of the plugin and install the new version solves the problem.

    Thanks again.

  • Customization of the display of the menu interactive report

    Hello

    [apex 4.2]

    is there a way to customize the GUI of the IR? For example, I just want the menu of graphic design and nothing else.

    THX in advance
    Thorsten

    Open your interactive report definition and go to the tab 'attributes of report', in the 'search bar' section you can enable and disable individual items from the action menu.

    Kind regards
    Bottom

  • Replace the Actions menu button on interactive report (Apex 4.1)

    I replaced the the menu button actions with an image in the report attributes section. The interactive report is to halfway to the bottom of the screen.

    The image is automatically included in an anchor with href = tag "#", which makes the page jump to the top every time the button is clicked. This changes a "false javascript:return"; it'll work out, but I don't know what to change to make this happen.

    Anyone know if there is a css or some model that I can change to fix this problem in the world?

    Thank you!
    John

    Found a solution using Jquery:
    Create an HTML region below 0 with the following content:

    
    

    or with an image

    
    

    Eric.

  • Center alignment based on aggregation interactive report.

    Hello. I have an interactive report. It has a few columns to summarize. So I used aggregate in the menu actions to sum them. It works very well. But the problem is it is appears on the right side. I want that it will display at the centre.

    post.jpg

    Is it possible to display it in the Center? Thank you.

    Try to apply css custom on the aggregate column. In an application that uses the universal theme, I added the CSS inline to the page of the report below.

    td.a-IRR-aggregate {
     text-align: center;
    }
    
  • Do we not have option to deselect ascendant and descendant of the options in interactive reports 4.2

    Hi all

    I've created an interactive report in my application and the required headers, I had used options for sorting as shown below

    Option selected now ranking ascending or descending sort, then report will appear as

    But the small icon will be kept in the report, or we can choose alphabetical, have we not option Select United Nations this option so that the option will not appear in the header part.

    Version 4.2 of the apex

    Theme-Light blue-100

    Kind regards

    Sruthitamiri.

    Sruthi Tamiri wrote:

    I've created an interactive report in my application and the required headers, I had used options for sorting as shown below

    Option selected now ranking ascending or descending sort, then report will appear as

    But the small icon will be kept in the report, or we can choose alphabetical, have we not option Select United Nations this option so that the option will not appear in the header part.

    The option is in the Actions of IR menu. Go to Actions > Format > sorting and deselect the current sort columns by setting - Select the column - column .

  • Download the conditional interactive report

    Hello

    I created a region conditional interactive report that appears when the button is clicked.

    Initially, in the State of the interactive area, I chose request = Expression1 and expression I gave the name of button, it didn't work.

    Then I had an idea of community to set a branch on the same page by setting the request for the name of the button when the button is clicked.

    The report is displayed conditionally the click of the button, but when try to download the report by clicking on download when the region itself is removed from the action menu.

    Any guidance will be of great help.

    Thank you

    Rakesh

    Hello

    Thanks for your advice, I had thought of it, sorry I missed marking the question as answered.

    Thanks again for the response.

    Take care

  • interactive report

    Hello

    is it possible to disable some of the optios in the action menu of interactive report

    I'm in 4.2

    Hi Alex,

    HEMU wrote:

    is it possible to disable some of the optios in the action menu of interactive report

    I'm in 4.2

    You can change the interactive reports and specify the options to turn on/off:

    http://docs.Oracle.com/CD/E37097_01/doc.42/e35125/bldapp_rpt_int.htm#BABHIGBC

    Kind regards

    Kiran

  • Oracle Apex Interactive report missing filter column header information?

    Hello

    I use Oracle Apex 4.2, on Internet Explorer 9. I created an interactive report based on the views created in the database (11 g, version 11.2.0.1.0) oracle (workspace = database schema) I use the value of rownum to act as a key to identify the different lines.

    Whenever I try to find the information of one of the column headers for the interactive report (number), I'm not able to find the line, but when I try the same search for "action bar" at the top I am able to see the desired results. That is true of the SQL Developer so know if enter the same information in the filter of the columns, I see the corresponding lines.

    Y at - it an explanation for this behavior?

    Thank you

    Harry

    Hello

    This is a limitation of APEX. Column header filters in IR displayed first 999 distinct values in the ascending (after the application of all the IR filters). For example, you can filter 2310 using 'menu action filter' (as you specify) and then try clicking on the topic 'the number '. Then you must see 2310 here.

    fac586 of course it is a bug in the documentation, but 1 million limit is neither practical nor a way to go.

    Kind regards

    Hari

Maybe you are looking for