Apex_workspace_activity_log identification of AJAX call

I was going to drop this issue to see if the behavior may be different to the APEX 5, but it's been archived.

https://community.Oracle.com/thread/3678381

Nobody knows if they can distinguish apex_workspace_activity_log make records that were normal reminder related vs page?

Or how to populate the APPLICATION_INFO column?

Hi Scott,.

the new PAGE_VIEW_TYPE column is your friend.

Concerning

Patrick

Tags: Database

Similar Questions

  • I have the UI which downloads the file in file multiprt transfer in chuncks. It worked very well in a previous version of firefox, but now ajax calls gets abandoned?

    I have the UI which downloads the file in file multiprt transfer in chuncks (blob file). It worked very well in a previous version of firefox when we send chuncks 10 MB for each ajax calls. But now in the last version of firefox, its get rejected for 10Mo chuncks with every call, but allowing only 4 KB be sent for each call. You guys could help me. I also tried with the Application (/ octectstream). It also works very well in all browsers.

    Hi Sivasathy, support.mozilla.org is intended for management of the end user. If you have questions about web development please refer to the place to go for support the developers instead. Thank you for your understanding!

  • Whitelist config.xml does not work for some AJAX calls

    Hello

    Here's an excerpt from my config.xml file:

    http://www. .TV"/ >

    Here is the error I get: http://cl.ly/image/3r420g1Q2b1F

    You have to trust me that the fields are the same (in the AJAX call and config.xml). Indeed, this app works fine on the browser BB10, but not "wrapped" with WebWorks.

    What is strange, is that several other AJAX calls to the same area as planned work. I don't know where to look what could be the problem?

    Thank you.

    So first of all, the reason for which the application is refused is due to a known issue with URI invalid containing @ signs. Technically the sign @ is only a valid uri character forward as [email protected]/blah, and at other points should be % encoded.

    By your work around, the good work around would be to allow access uri = "" * ", which should solve this case."

    By disabling the security web, shall be carried out as a last resort, but your original implementation was correct except for one minor detail, the value should be 'disable' and NOT 'disabled', thus


       

    Finally, you can still file a bug on github

    Hope this clears up things.

  • APEX 5 Ajax call via javascript

    People,

    Using APEX 5 with Firefox ESR 38.2 and Oracle 11 g.

    I have a small application in 5 APEX and I try to call a process on demand through apex.server.process within a small JavaScript function in a page.  However, it seems that the code is NOT executed, and I don't see anything on my firebug console...

    What I have is a JavaScript function in the global declaration of a page and function section.  This is the actual function:

    Function myFunction (p_url, p_review_date, p_bsr_tracking_id) {}

    If (! p_review_date)

    {

    var r = confirm ("when you click on 'Ok', you accept que\nvous have read and reviewed the package BSR the\nselected");

    If (r == true) {}

    Alert (p_bsr_tracking_id);

    First update the revision date for the report, for the follow-up of compliance data

    HERE'S THE CALL FOR APPLICATION MODEL

    Apex. Server.Process ("DUMMY"

    , {x 01: p_bsr_tracking_id}

    , {dataType: "text"}

    );

    Alert ("after the Ajax call!")  ;

    Then, open the new window showing the report to display

    var a = window.open (p_url)

    }

    }

    else {}

    Alert ("BSR package has already been discussed");

    }

    }

    Here is a copy of the MODEL application procedure:

    BEGIN

    Logger.log (apex_application.g_x01);

    UPDATE Bsr_Tracking

    SET Date_Reviewed = SYSDATE

    WHERE Bsr_Tracking_Id = apex_application.g_x01;

    COMMIT;

    END;

    Do you see something that could be the cause of NOT work?

    Thank you

    Tony Miller

    Los Alamos, NM

    Patrick,

    Re: Network tab: I see activity on the network or firebug tab...

    Re: Application level process: Yes, it is, does a big difference if it is the application-level or page?

    Question IS... He had a system of authorisation of ' must not be Public user ", therefore, it would not fire, but also I don't have a reply back...

    Thank you for a new set of eyes to see the question, a little...

    Will post question followed on how via the same JavaScript function to refresh the report, he called from the end...

    Thank you

    Tony Miller
    Los Alamos, NM

  • Error when painting during the AJAX call page fault

    Hi all

    I do a simple AJAX call test with the emp table. In my page, I have a report, a search box and a button. You put in a text and click search and you will get the result that all the works.

    I have a requirement where if you click on the button and there is no search match you will be redirected to another page, just reload the report to display the result as usual.

    So, I took the road to AJAX where I perform a simultaneous when the user enters a text search and click on the button. If the search count (*) > 0 then return return County else returns 0.

    The code for the application process is:
    DECLARE
    begin
    CCOUNT number;
    
    
    
    begin
    Select count(*) into ccount 
    from emp
    WHERE 
    UPPER(:F_SEARCH_RESULT) like '%'||upper(ename)||'%';
    
    exception when no_data_found then
    htp.p(0);
    end;
    
    htp.p(ccount);
    
    
    END;
    My (still working on that) Java script code is:
    <script language="JavaScript" type="text/javascript">
    
    
         function search_count()
    
         var get = new htmldb_Get(null,null,'APPLICATION_PROCESS=SEARCH',0);
         get.add('F_SEARCH_RESULT', $v('P1_ENAME'));
         var gReturn = get.get();     
         console.log(gReturn);
    
         var gReturn_sanitised = praseFloat(gReturn);
              if (gReturn_sanitised == 1)
              doSubmit('SUBMIT');
         
              
    </script>
    I tested this code in Firebug, and when I do a console.log (gReturn) on the release of the AJax call I get this error that prevents me from dealing with the result of gReturn and be done with the code. The error looks like:
    <html><body>
    <h1>Error occurred while painting error page: ORA-01403: no data found</h1>
    </body></html>
    I tried adding exception when no_data_found but without success. Still get the same error. My version of the APEX is 4.2, any suggestion welcome. See you soon.

    Xrc xarg wrote:
    Still no luck, even if I'm doing a simple:

    begin
    htp.p('0');
    end;
    

    in the process of the page, I get the same error as before.

    I've done much AJAX call like this before elsewhere and can't for the life of find me whats wrong here.

    I have reproduced the issue in apex.oracle.com

    WORKSPACE: AIWORSKSPACE
    USER: TEST
    PASSWORD: test
    APP #: 69721
    Page: 1

    The point of application of F_SEARCH_RESULT had the security setting of default Session State Protection of Restricted - can not be set to the browser. Change this Unrestricted.

  • How to use the wait flag integrated at the level of the element during the AJAX call

    Hello
    I would like to use the integrated waiting indicator that appears next to the selection in cascade and textfields autocomplete lists in my own AJAX call. But I don't know how to attach to the question that I'm updating.
    Can someone help me in the right direction?

    In my case, I'm running the database to update the value of an elements to the screen. My Javascript looks like this
    function MY_FUNCTION
     (p_get_item1
     ,p_get_item2
     ,p_get_item3)
    {
      //create the AJAX call refering to the APEX application process
      var ajaxRequest = new htmldb_Get(null, $v('pFlowId'), 'APPLICATION_PROCESS=AP_NAME', $v('pFlowStepId'));    
      
      //put values on screen into APEX PL/SQL variables
      ajaxRequest.addParam('x01',$v(p_get_item1));
      ajaxRequest.addParam('x02',$v(p_get_item2));    
      ajaxRequest.addParam('x03',$v(p_get_item3));    
    
      //do the actual AJAX call 
      var ajaxResponse = ajaxRequest.get();   
      //and set the items on screen based on the JSON text returning  
      json_SetItems(ajaxResponse);  
    }
    Thanks in advance

    You must use jquery instead of htmldb_get to make real asynchronous, and then add the rotation like this icon

    I used the jquery post method to call the process of request here

    function MY_FUNCTION
    (p_get_item1, p_get_item2, p_get_item3) {
         //show indicator
         $('#YOUR_ITEM_NAME').after('');
    
         $.post('wwv_flow.show', {
              "p_request" : 'APPLICATION_PROCESS=AP_NAME',
              "p_flow_id" : $v('pFlowId'),
              "p_flow_step_id" : $v('pFlowStepId'),
              "p_instance" : $v('pInstance'),
              "x01" : $v(p_get_item1),
              "x02" : $v(p_get_item2),
              "x03" : $v(p_get_item3)
         },
              function (data) {
              //and set the items on screen based on the JSON text returning
              json_SetItems(ajaxResponse);
              //remove indicator
              $('#YOUR_ITEM_NAME').next(".loading-indicator").remove();
         });
    }
     
    
  • Ajax call resets the session?

    All,

    I got a general question about AJAX calls. During an Ajax call, which resets the session? I mean, if I put the session expires after 30 minutes and does it not everything hits server other than Ajax calls for 30 minutes, the session expires?

    Thanks in advance.

    Published by: user2865915 on June 17, 2011 07:22

    user2865915 wrote:
    All,

    I got a general question about AJAX calls. During an Ajax call, which resets the session? I mean, if I put the session expires after 30 minutes and does it not everything hits server other than Ajax calls for 30 minutes, the session expires?

    Session is kept alive due to the client HTTP calls. AJAX calls are HTTP requests. So no, the session has not expired.

  • AJAX call does not properly

    Hi all


    I have this very odd behavior when using AJAX calls to update a (name) field based on another field (number)
    When an existing number is given my alert ' Unable to search for a name. "pop-up up windows
    When you then refresh the page (F5), the correct name is displayed.
    I have not the slightest idea why

    also intermittently name gets filled with html code
    apparently if for example the number has been filled in, and you then turn off and leave the field name immediately fills
    with this code (no neede updating)
    I saved this html code and it's a page with following error message:
    Unexpected error, unable to find item name at application or page level.
         Error     ERR-1002 Unable to find item ID for item "STR_NAME" in application "33293".
    AJAX call is set up as follows
    (1) attributes of the HTML form for the P1_number field element:
    onChange="javascript:getName(this)";
    (2) page 1 of HTML header:
    <script language="JavaScript" type="text/javascript">
    function getName(callObj) {
       var get = new htmldb_Get(null, &APP_ID.,    
                        'APPLICATION_PROCESS=getName', 1);
       get.add('P1_NUMBER',callObj.value)
       var gReturn= get.get();
       alert('Before change');
       if (gReturn)
          { 
           $x('P1_NAME').value = gReturn;
           alert('After change'); 
          }
       else
          { alert('Unable to search for name.')
          }; 
      
       get = null;
    }
    </script>
    (3) application to the application named getName process:
    declare
      str_name   names.name%type;
    begin
      begin
        select name
          into str_name
          from names
         where nr = :P1_number;
      exception
        when no_data_found or too_many_rows then
          :str_name := 'Ongeldig klantnummer';
      end;
      --:P1_NAME := str_name;
      APEX_UTIL.SET_SESSION_STATE('P1_NAME', str_name);
    end;
    the name is a table with 2 field, nr (number) and name (varchar2)


    You can check it out here:
    [http://apex.oracle.com/pls/otn/f?p=33293]

    any ideas on what I am doing wrong?


    Martin

    Problem is here

    : str_name: = 'Ongeldig klantnummer ";

    It should be

    STR_NAME: = 'Ongeldig klantnummer ";

    ': ' is considered as a page element.

    Gary

  • APEX5: exceptions from AJAX calls not returned to the client

    I have a small question about the apex.server.process feature.

    I have a request where I do some AJAX requests to the server to do something. My JS (sample) code looks like this:

    apex.server.process("DO_SOMETHING", {
    }, {
        dataType: "text",
        success : function (pData) {
            alert(pData);
      }
    });
    

    The foo application process is defined as follows:

    BEGIN
    raise_application_error(-20001, 'exc');
    END;
    

    Now, I noticed that when I am connected to the request of the manufacturer, I get my alert with the message "sqlerrm: ORA-20001: exc ' (which I expected).

    If I connect to the generator and run my application, I get an empty alert message (ie: the pData in my success Manager parameter is empty, or better: the response of the network call is empty = > "this request has no data available response" chrome network logging).

    Is this as expected? If Yes, what is the reasoning (security as in "never disclose unhandled exceptions") and is there a setting/workaround, we use (short for catching exceptions and the sending of the response via htp.p data)

    I understand the fact that you should always do the appropriate error handling, but it's an internal application where I don't mind really if an unhandled exception is propagated to the client.

    I have a request on apex.oracle.com where it is reproduced, but given the behaviour depends on being connected to the APEX Builder I'm not confident to disclose identification for generating environmental information.

    Change the raise_application_error for:

    HTP.p ("exc");

    It is indeed strange that the behavior is different when running through the constructor, or directly. I have reproduced the same on apex.oracle.com

    Come to think of it: when running through the constructor, you can debug and use the developer toolbar. Maybe Apex handles exceptions differently to capture the output of the exception.

  • Cross domain AJAX calls work on browser, but not on ripple/Simulator

    The question I faced is I call of cross-domain ajax using jQuery for the facebook site using an access token. This call works on Chrome and Firefox, but fails on the Simulator and ripple. I have setup my file config.xml with the proper access flags.

    My related code is below (cut).

    var fbData = { access_token: _fbToken };
    var fbUrl = "https://graph.facebook.com/me";
    
    $.getJSON(fbUrl,fbData, function(data){
       // Some code here
    });
    

    I also tried using the extended method of $. ajax() and JSONP specifying the data type, but it is the same problem.

    I looked in the Inspector on the drive and I see that no host header is set, but Chrome or Firefox will automatically fill "Host: graph.facebook.com" in the request header. I wonder if this is the problem?

    Demand is just stuck as 'pending' in the network tab.

    JSONP requests in jQuery, you cannot alter the headers (so not in available beforeSend setHeader).

    I don't have the chance to test it on the device but wonder if other people have faced this problem.

    Well, for those who falls on this issue, the problem does not occur on the device (AFAIK). I ran on a device OS6 and things were good to go.

  • ColdFusion scheduled task for HTML files with javascript ajax call to the web service

    I have a regular html file, which are generated dynamically (on access to it) for a few seconds (about 7 to 10 seconds) as tables, lines that are added through javascript after having treatment and this process takes about 7-10 seconds of said.

    Using settimeout(), after 15 seconds (to ensure that the content has been correctly filled), I use a web service (.cfc with function with intrusion via cfmail tag inside) through the ajax javascript call, which captures all the html content of the page and sends it to marked e-mail ID - which, during normal operations, works very well - which page is accessible in the browser web and left pending for desired time of 15-20 seconds.

    However, the same page when I programmed in CF admin (even with the time-out of 60 seconds), it never fires the e-mail part.

    Can I have some advice, where I am doing wrong!

    Hi, I mean the scheduled activity could be accomplished using CF native heavyweight instead of light and fast javascript codes codes. Not a big problem anyway.

  • AJAX call to actions and the response of the PageFlow

    Hello

    in my portlet, I need to make calls ajax for certain actions. It works fine but I have a problem with the answer. I want to put in the answer that a message to display to the user (for example, "Update successful" or "Error!"), but WebLogic Portal write all the content of the page, even if I have everything set forward and I will return null in my action.

    @Jpf.Action)
    myAction() before protected throws IOException
    {
    content of the action

    Returns a null value.
    }

    How can I tell WebLogic Portal write anything in response when I returns null?

    Hello
    You can directly export the /webapp/folderofpageflow/action.do url (and depending on where your jsp is and using methods in the query, you can avoid to hardcode the name of the Web application / file name, but in most cases they do not change)
    Im not sure if Ajax can be disabled for particular Url Im to remember documentation about this, sorry
    concerning
    Deepak

  • Need help to make ajax calls with BB OS 5

    I need to execute the query as ajax

    Hi encoder.

    XHR is supported OS 5, http://docs.blackberry.com/en/developers/deliverables/11844/Feature_AJAX_512507_11.jsp

    but the features of jQuery is very hit and pass in 5... Try standard XHR and you should be OK...

    R

  • TMS - AJAX calls fail

    Are some of the things that you can check/try erase the browser cache, check disk space, erasing of unwanted logs, check for questions of connectivity to the database as well.

    Manish

  • How do you pass "struct" in an AJAX call URL? (CF11)

    Quote from CF11 documentation: "Note that"struct"is also available to be accessible through the argument of AJAX. Now you can pass struct in an AJAX URL to serialize a query as struct object. »

    How? A example URL would be practical.

    ' To serialize a query as struct object"overstates the case. You can serialize a struct, as well as a request for sending through the URL.

    For example, create the following 2 ft3/min in the same directory pages.

    testpage1.cfm

    testpage2.cfm

    SELECT Dept_ID, Course_ID, CorNumber,

    CorName, CorLevel

    TO courseList as

    WHERE Dept_ID = "BIOL".

    ORDER by CorNumber asc

Maybe you are looking for