Clearing Interactive Report, custom authentication problem

I have written my own custom authentication for my apex app. It calls a custom function in the db that looks in a table for user/password. It works fine. Login works and when I save sort order for standard reports, they are saved between sessions.
However, for my interactive report the sort orders on my Interactive reports are being reset each time the user gets a new session id.
I'm not sure why this is happening. Any suggestions or ideas on why this happens when I don't use 'user cookies' (standard apex login)?
-Thanks,
-Ben Goodwin
Edited by: r0ckflite on Jan 26, 2012 4:19 PM

Hi r0ckflite,
are you sure you press on action (at report) --> save report --> change save "as named report" to "as default report settings" primary should be already marked the press Apply
this should work iam pretty sure...
regards,
blacksev

Similar Messages

  • Custom authenticator problem in 9.1

    We are in the proccess of converting to 9.1 and unfortunately it is not going very smoothly. One of the problems we are running into is in our security module. Our custom authenticator appears to be creating the correct MDF file but after reading through the xml file it uses it seems to loop back and start creating duplicate classes in the created java file. Has anyone seen anything like this?

    Hi, SCW -
    Welcome to Apple's Discussions.
    This may apply - http://discussions.apple.com/thread.jspa?messageID=607636&

  • Interactive Report Russian Language Problem

    Hello,
    Entering Russian characters to search field of Interactive Report APEX transform it to another charset and I receive wrong result. For example entering КС I get РљРЎ, any ideas?
    Best Regards, Kostya Proskudin

    Answer for my question:
    Changing character set in DAD file. From CL8MSWIN1251 to AL32UTF8.
    But I still can't understand why it happen only in Interactive Report!!!

  • SAP CRM Interactive Reporting - Custom reports not working

    Hello All,
    We have set up C41 step by step in our system (CRM 7.0) .When I try to create a new report, and share it, it gets shared. Till here all is well.
    Post this if I try to execute this new custom report (which is just a copy of std report), it doesnt work.
    Please advise.
    Regards
    Priyanka

    Hi,
    RE:
    it doesnt work.
    Could you elaborate problem more detailed?
    Denis.

  • Clearing Interactive Report filters without clearing report settings

    APEX 4.0
    Oracle 10g
    I have an IRR, the report is saved as primary for displaying 200 rows at at time for each page (Page 3) The customer can filter upon many columns and can use mutliple filters through the Action -> Filter Column.
    Our requirement is:
    1. To clear all filters on the iR page with a button
    2. To clear previously visited Page 3 filters when this page is displayed again
    The closest option I have found is utilizing the "apex_util.ir_clear(p_page_id => 3)". Besides clearing the filters (which is what I want, it also resets the rows per page count of the IRR to 15.
    I need a way to prevent and keep the Saved IRR with rows per page set to 200.
    Any suggestion would be appreciated.
    Thanks,
    Ed.

    Does this help?
    http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/app_comp.htm#BABEJEBJ
    I would look at using the URL to clear the IR and then to reset the number of rows (this is just a guess because I don't see it documented at the above link) I would use your typical session state substitution that you would do in a URL or page branch to reset the value of page item "apexir_NUM_ROWS" (it appears that Apex generates that select list with a HTML ID of "apexir_NUM_ROWS") to &apexir_NUM_ROWS. So hopefully that'll clear your page but then reset the number of rows to whatever it was.
    All just a guess but give it a try.

  • Interactive report custom GO-Button (-process)

    hello,
    is there a way to customize the behavior of the IR Go-Button? I'd like it to make a dynamic IR by using collections build depending on the values of two other fields on the page. everything works fine when using an extra button but I want the Go-Button to call my PageProcess or to execute a PL/SQL block before starting the query.
    any ideas?
    BR, paul

    I used following workaround:
    I created an empty region with
    +<iframe id="reportFrame" src="f?p=&APP_ID.:25:&SESSION.::&DEBUG.::P25_QUERY:N" width="100%" height="800" marginheight="0" marginwidth="0" frameborder="0"></iframe>+
    in the region source.
    In the page's HTML header i put following javascript function which is called onchange by my two fields and loads the page including the corresponding IR:
    +<script type="text/javascript">
    <!--
    function f_select_IR(pCode1, pCode2) {
    if (pCode1 == '' && pCode2== '') {
    document.all.reportFrame.setAttribute("src", "f?p=&APP_ID.:X0:&SESSION.::&DEBUG.::PX0_QUERY:N", 0);
    } else if (pCode1!= '' && pCode2== '') {
    document.all.reportFrame.setAttribute("src", "f?p=&APP_ID.:X1:&SESSION.::&DEBUG.::PX1_CODE1:"+pCode1, 0);
    } else if (pCode2!= '' && pCode1== '') {
    document.all.reportFrame.setAttribute("src", "f?p=&APP_ID.:X2:&SESSION.::&DEBUG.::PX2_CODE2:"+pCode2, 0);
    } else if (pCode1!= '' && pCode2!= '') {
    document.all.reportFrame.setAttribute("src", "f?p=&APP_ID.:X3:&SESSION.::&DEBUG.::PX3_CODE1,PX3_CODE2:"+pCode1+","+pCode2, 0);
    //-->
    </script>+
    BR, Paul

  • Problems with using special characters in Interactive Report Search

    Hi!
    I am currently developing an Application on Application Express 3.1.2.00.02 including a page with an Interactive Report, facing the problem that I cannot use special german characters in the Searchbar.
    So if i try to find a name like 'Schröder' the created Filter looks like this 'Schröder' and i won't get any valid search results. By the way the rest of the application supports these special characters like using them in Buttons or any other Page elements.
    Does anyone have a clue how to fix this problem, because it's driving me nuts ;)
    Thanks in advance
    Philipp
    Edited by: philipp_m on 10.06.2009 11:15

    Does noybody have a clue how to solve this problem. I tried to find out where the Problem occures. The Ajax Request looks like this
    f01     contains
    f01     Schröder
    f01     15
    p_flow_id     100
    p_flow_step_id     50
    p_instance     3176950818119673
    p_request     APXWGT
    p_widget_action     QUICK_FILTER
    p_widget_action_mod     ADD
    p_widget_mod     ACTION
    p_widget_name     worksheet
    p_widget_num_return     15
    x01     14175446766823030
    x02     14176526259823035
    So I guess it has to be inside the Javascript file (apex_ns_3_1.js). I hope someone can help me.
    Bye
    Philipp

  • APEX_ITEM on Interactive Report losing all the data.

    Hi!
    I'm having some troubles with some apex_items on interactive report.
    The problem happens when i save the interactive report with apex_items and a validation in some of the items fail then i lose all the data entered.
    I made i test application to you guys see the problem and try to solve it.
    URL: http://apex.oracle.com/pls/apex/
    The scheme is Sn4k8
    User: guest
    Password: 123654g
    To see the application: http://apex.oracle.com/pls/apex/f?p=20135:1:
    The application is Interactive Report Example / Page number 1
    A example to test is type on the fields values and then type a start date bigger then the end date this is cause a validation error and you will see all your data entered lost.
    I tryed to find something on the web but i could not find nothing if you guys know something to help post it.
    Regards,
    Ismael Filipe
    Edited by: Sn4k8 on 25/03/2010 12:26

    I think there is a solution with java or pl/sql.
    Try to use the example application and type values in the fields and then type "d" at some date. This will cause a exception and will redirect to a apex erro page, if you click at "ok link", you will come back to the interactive report page and you will see that all your data remains intact.
    I think there is a solution...
    Regard,
    Ismael Filipe

  • Interactive Report NLS Language

    Hi again,
    Apex 3.2.0
    Oracle XE
    I was wondering if you could help.
    I have a combo box on a form region that selects a language. The idea of this is to change the number and date formats when displaying data in reports and on forms.
    On my reports and forms my format strings are set to a page item e.g. :P10_CURRENCY_FORMAT which contains the oracle currency format I need, e.g. FML999G999G999G999G990D00.
    I can then set the NLS_CURRENCY value by either altering the session or via the apex.util:
    ALTER SESSION SET NLS_CURRENCY='£';
    or
    APEX_UTIL.SET_SESSION_STATE('FSP_LANGUAGE_PREFERENCE','en-gb');
    and the correct currency symbol appears in front of the number in the report.
    This all works fine until I get to filtering interactive reports.
    The problem is when I want to filter interactive reports all the currency settings are set back to the APEX defaults set in APPLICATION/GLOBALIZATION.
    I then created a BEFORE HEADER process to alter the session, however when filtering interactive reports, the page isn't refreshed so this takes no effect.
    So I have ended up with £ symbols in my report columns and when I filter it, they all change to $ symbols, the next page reverts back to £ until I filter again.
    Am I going about it all the wrong way, or does anybody have any ideas?
    Thanks,
    Blackstone.

    This approach won't work with interactive reports as the Before Header process is not executed by the AJAX call that refreshes the report.
    This is a deficiency in IR operation that we can hope will be addressed by a future enhancement to provide the ability to run processes pre- and post-IR refresh.
    In the meantime, IR refreshes do run the Virtual Private Database PL/SQL call defined in the application security attributes, so putting the NLS modification code there will work. Go to Application > Shared Components > Edit Security Attribute | Virtual Private Database (VPD), and make the call from there. Due to the specific requirements of the code that has to be called from here when used for security purposes, this is probably best done by setting this up to make 2 separate calls to packages defined outside APEX, one to handle security-related details and the other to orchestrate any other code that has to be run. (For example, in this case it may not be desired to alter the NLS environment on every page, so the program could take a parameter specifying the current page and apply the ALTER SESSION conditionally on this.)
    [See this thread|http://forums.oracle.com/forums/thread.jspa?threadID=936753] for a similar issue.

  • Interactive report - Function returning SQL query

    i notice that it is not possible to create an interactive report based on a function call. can anyone shed any light on why this is?
    also, is there a work around possible? i really dont want to store my SQL query inside a page in the application

    Craig,
    I tried the collection workaround as well but noticed that it gets incredible slow when data sets grow bigger. Depending on what you need maybe my solution is of help for you:
    I used multiple subpages with interactive reports, an iframe and a javascript function setting the iframe-src on the main page, see my last post on
    interactive report custom GO-Button (-process)
    Paul

  • Can Actions Menu of Interactive Reports work with Custom Authentication?

    My testing is leading my to believe that Actions Menu do not work with Custom Authentication (but only work with APEX Authentication) in APEX 3.1.2? If that's true then is there a work around to this?
    Just to clarify, I've posted/asked this question twice before:
    1) Re: Actions Menu in Interactive Reports does not sort, filter, select cols etc
    2) Interactive Report actions don't work for users (i.e. for non-developers)
    But I've come to believe this is the main problem. I just don't know how to resolve/work around this?
    Thanks for any help.

    I haven't setup a sample because my custom authentication is using LDAP authentication. I'm not sure how I can replicate that on the samples server?
    I'm using LDAP authentication with a Page Sentry function. My further testing reveals that the Page Sentry function is setting the APEX variable user to NULL (ie blank) whenever there's any code in the Page Sentry function box. PL/SQL code as simple as
    BEGIN return TRUE; END;
    in the Page Sentry function box sets the "user" is set to <null>. When the Page sentry function box is left empty (no code specified) it sets the "user" properly after authentication against the specified LDAP directory.
    What all this has to do with Interactive Reports...
    It seems like when the user is NULL it messes-up Interactive Reports that are stored in the flows database. Although it shows the default report properly, but no runtime interactive actions (filtering, sorting, column break, etc.) work.
    Can someone please correct or confirm this?
    Thanks.

  • Interactive Report - search does not work when using custom authentication

    Apex 3.2.x
    I can authenticate fine with my custom authentication and all of my pages work okay except for one page that uses the Interactive Report feature. When I click 'Filter' then enter the column name, operation (contains, =, like, etc.) and the expression, then click the 'Apply' button, the page just re-displays and my filter information is missing?
    If I first login to Apex, select and run my application, the Interactive Report features work just fine. What's missing?

    More information:
    After login into my Apex workspace (development environment), when I display the Interactive Report and click debug I see this debug message:
    "using existing session report settings"
    When I login using my application's custom authentication and click debug I see this debug message:
    "creating session report settings as copy of public saved report"
    Based on this, it appears that my session info in not set correctly when using custom authentication... but I'm not sure what needs to be set.
    Edited by: user9108091 on Oct 22, 2010 6:44 AM

  • Problem using Interactive Report  in Application Express 3.2.1.00.11

    Hi All ,
    I am using Interactive Report in Application Express 3.2.1.00.11
    I have made report as editable by using following query
    Select ROWID,
    APEX_ITEM.CHECKBOX(1,IDSKILL,'UNCHECKED') "Mark",
    APEX_ITEM.TEXT(2,IDSKILL)"IDSKILL",
    APEX_ITEM.TEXT(3,SKILL) "SKILL",
    APEX_ITEM.SELECT_LIST_FROM_LOV(4,IDBEARBEITER,'DIR_LOV'),
    APEX_ITEM.TEXT(5,ÄNDERUNGSDATUM)"ÄNDERUNGSDATUM"
    from SKILLS
    Problem :-
    When I click FILTER option in Interactive Report , It is taking under Expression "<input type="text" name="f03" size="20" maxlength="2000" value="ARIS" />" and displaying in search filter as
    Skill = '<input type="text" name="f03" size="20" maxlength="2000" value="ARIS" />'
    Can I make display like Skill ="ARIS"
    Any suggestion is welcom ..
    Thanks in advance
    Cheers
    Sachin Srivastava

    Hi,
    As I know there is no fix/workaround for that.
    Disable filtering and other stuff is only. But I think you of course like have filters and other nice thing of interactive report. Other vice you have done classic report.
    It is better use classic report and build own custom filers.
    Br, Jari

  • APEX 5: Problem displaying breadcrum (Create) button on interactive report

    Hello There
    I am trying to build a small app in APEX 5. I am taking the default 'Sample Database Application' (SDA) as an example for design.
    In SDA the interactive report of Customer a breadcrumb 'Create which is displayed on the top right corner. I am trying to replicate the same in my interactive report, but in vain.
    I have attached the printscreen for your reference. Could you please guide and advise me on how to get the same functionality of breadcrumb create button,etc same as in displayed in SDA into my custom app in APEX 5?
    Thanks a lot for helping me out
    Regards
    Don

    hi ,
    i had used like this .. it is working...
    *&      Form  USER_COMMAND
    FORM USER_COMMAND USING R_UCOMM LIKE SY-UCOMM
                            R_SELFIELD TYPE SLIS_SELFIELD.
      clear : v_flag.
      CASE R_UCOMM.
        WHEN 'DATA'.
    LOOP AT IT_TEMP.
         if it_temp-checkbox =  'X'.
              v_flag = 'X'.
              v_pernr1 = IT_TEMP-PERNR.
    *--Get compensation data and populate final internal table
              refresh it_fin.
              CALL FUNCTION 'Z_HR_COMP_STATEMENT'
                EXPORTING
                  PERNR = v_pernr1
                  BEGDA = s_date-low
                  ENDDA = s_date-high
                TABLES
                  FINAL = it_fin.
              if not it_fin[] is initial.
                delete adjacent duplicates from  it_fin comparing pernr.
                read table it_fin index 1.
                move-corresponding it_fin to it_final.
                append it_final.
                clear it_final.
              endif.
            endif.
         enddo.
    ENDLOOP.
          if not v_flag is initial.
    *------ display final data
            PERFORM final_display.
          else.
            message s000 with 'Select atleast one pernr'.
          endif.
      endcase.
    ENDFORM.                    "USER_COMMAND
    regards,
    venkat.

  • Interactive Report Filter Problem

    Hello,
    I ran into a problem with an interactive report today. When the report first loads, no issue. If a filter is added, an error is returned. The error is actually generated by an assertion routine that raises and exception if a NULL value was passed in. Here's a modified/simplified version of the query:
    SELECT id,
       name,
       dept,
       emp.year_of_emp(hire_date) AS years_of_employment
    FROM emp_table
    WHERE id IN (
       SELECT c001
       FROM apex_collections
       WHERE collection_name = 'EMPS_UNDER_MANAGER'
    );Again, when the report first loads, no problem. Then when the manager applies, say a filter on dept, an error is raised from the emp.year_of_emp function because a NULL value was passed in.
    I know that all emps with an emp id in the collection have a hire_date so I don't feel as though I should have to add another condition in the where clause to filter those out (although that is the work around at this point). Anyone have any ideas as to what could be causing this?
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur

    Roel,
    Hey there! Hope you enjoyed your time off ;) Thanks for having a look...
    Yes, of course I "could" update the functions, but this is NOT something I want to do. I'm one of those people that subscribes to Coding by Contract and the assertion routines at the beginning and end of my subprograms are an important part of that.
    This may be a lack of understanding on my part with regards to the order in which Oracle does it's thing - or a bug in Apex... I'm able to duplicate the problem on apex.oracle.com: dmcghan/test/test.
    Log into the demo app with admin/dmcghan. The home page has an interactive report, filter the name and you should get the error. When you look at the query you'll see a filter in the where clause that goes against the apex_collections table. This is populated from the post-authentication procedure. Let me know if you have questions.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur

Maybe you are looking for

  • OWA Exchange 2013 SP1 Security Update KB3011140 December 2014

    After performing this update on our server, I noticed now users can no longer recover items from deleted items in OWA. The page always errors out now. The KB installed was KB3011140 something went wrong Sorry, we can't get that information right now.

  • Download error for Inspiration Browser and AIR- Elements 9

    I have had Elements 9 for months but just installed it. I want to the the Inspiration Browser. It is not installed and asks if I want to install. I say yes and am taken to a downoad page saying I also need AIR, would i like to download both. I say ye

  • Finder is not showing any external devices

    I'm having problems with the Finder not seeing any external devices. First I tried to restart from a CD to run Tech Tools. Even though I held the "C" down, it kept popping out the CD and then restarting as usual instead. I gave up on that and tried t

  • User exit on PA40

    Hi... I want to put a check on PA40 based on RFPNR. can somebody let me know if there is any userexit or BADI on PA40 where I can access RFPNR... in the regular HRPAD00INFTY and PBAS0001 I am not able to access RFPNR. BR, Ram

  • Removing the need for a temporary table

    Hello I have a large query which is generating rows for a report. At the moment it puts the whole result set into a temporary table, and then does a number of updates and deletes in a certain order. Fkey1     Fkey2     action_id 1     10     2 1