4.2 DOC BUG: all about the application process

"There is an error in Oracle Application Express Application Builder User Guide version 4.2 §8.8.1 " "on the implementation of the application process":

A process On Demand is a special type of procedure of demand that has a Point of On Demand process and executes when it is called from a process On demand page level or a browser AJAX call. On-demand processes are useful when you have logic of PL/SQL that you want to run different execution points on several pages.

At the request of the process generally must be created on a page and not at the level of the application. On request, process created at the application level are created with an initial authorization scheme of must not be Public user. This prohibits the process invoked with users in authenticated sessions.

As it is perfectly possible (and desirable) at the request of the application process to be invoked, [that] by authenticated users, this should probably read:

A process On Demand is a special type of procedure of demand that has a Point of On Demand process and executes when it is called from a process On demand page level or a browser AJAX call. On-demand processes are useful when you have logic of PL/SQL that you want to run different execution points on several pages.

At the request of the process generally must be created on a page and not at the level of the application. On request, process created at the application level are created with an initial authorization scheme of must not be Public user. This forbidden process be invoked from users not authenticated sessions.

In addition, the second paragraph is a new addition to the documentation for APEX 4.2. What is the reasoning for not creating processes on request at the application level? I've used them for a few years as a way to provide reusable, application- wide (for example, the file downloads and the AJAX content) only items authenticated Apex sessions.

Hello

Thanks again. I added a note to the 5.0 docs.

It is certainly very good create processes at the level of applications On Demand. However, if a process is tied to a single page, only, it is immediately obvious that the process belongs to the interface of this page. It's good from a maintenance point of view, because if you only use application-level processes, it may be more difficult to determine if the process is still in use and where it is called from.

Kind regards

Christian

Tags: Database

Similar Questions

  • All of the applications included in eLearning Suite 2.0 are compatible with Windows 10?

    All of the applications included in eLearning Suite 2.0 are compatible with Windows 10?

    Probably not. Certainly not spec'd to work with Windows 10, as 'eLS 2.0' is quite old now and well before the 10 Windows.

    The latest version of eLS is version 6.1, and even programs included with this sequel released before 10 Windows.

    In fact, it looks that they have completely abandoned support for any version of eLS. The post on this forum just before this one, I pointed the user to eLS download page. It controls today, it redirects to the Adobe Captivate page.

    While you might have some programs in eLS 2.0 to work on Windows 10, so he is certainly a risk.

    Flash, Photoshop, and Dreamweaver can work very well under Windows 10 32-bit, but I'm pretty sure that you will have problems with Captivate 4 and presenter.

    And I think that the risk runs even more high under 64-bit Windows 10. Note all programs of eLS 2.0 back to CS4. It is quite old now...

  • Bought Adobe CC today. More apps for how I can use outside of photoshop, illustrator and indesign. Can I use all of the applications listed in the membership fees charged per month? Or will be charged extra?

    Bought Adobe CC today. More apps for how I can use outside of photoshop, illustrator and indesign. Can I use all of the applications listed in the membership fees charged per month? Or will be charged extra?

    Cloud Plans https://creative.adobe.com/plans

    - and conditions for subscription http://www.adobe.com/misc/subscription_terms.html

    -what is in the whole cloud http://www.adobe.com/creativecloud/catalog/desktop.html

  • adding additional drives in the application process

    Hi, how it is possible to add additional disks in the application process? Now, go in the settings of the virtual machine in vCenter client to add disks after the virtual machine has been created in LCM. We take for the applicant specify how many additional disks and what size (just not RDM VMDK)

    Thank you

    It can get quite complicated because this is certainly not the standard features of LCM and would not be supported by VMware if this customization is not performed by the team of the Orchestration Services of our Professional Services organization... However, that being said, a general approach would be as follows:

    • Duplicate the workflow application for Virtual Machine to the category of workflow custom under user and give a custom name like ask VM

    • Add new entries to the custom workflow that are something like: additionalDiskCount (number) and additionalDiskSize (number) (which implies that all the additional disks would be the same size)

    • Update the workflow to store these values by using a standard LCM Action such as:

    System.getModule("com.vmware.lcm").addDataToTokenKeyAsString (provisioningToken, additionalDiskCount, "additionalDiskCount");

    System.getModule("com.vmware.lcm").addDataToTokenKeyAsString (provisioningToken, additionalDiskSize, "additionalDiskSize");

    The two lines above will store the specified user to other values that the token of data in the database of LCM and you will be able to get it back later because it is related to this particular request token.

    • Hide the initial request button of the tab requests and create a new button that points to your custom workflow

    • Create a new workflow that takes an object of lcm:ProvisioningToken as an entry called "token".

    • Inside of this workflow (let's call it 'Add disks to ask'), you will need to retrieve the additionalDiskCount and additionalDiskSize values that have been stored with the token:

    additionalDiskCount = System.getModule("com.vmware.lcm").getDataFromTokenKeyAsString (token, "additionalDiskCount");

    additionalDiskSize = System.getModule("com.vmware.lcm").getDataFromTokenKeyAsString (token, "additionalDiskSize");

    • You then get the object of VMware3:VirtualMachine of your token:

    VM = System.getModule("com.vmware.lcm.vim3").getVmFromToken (token);

    • Then, using those extracted values and the virtual computer object, use a loop to pass these parameters and some other default values you want in the workflow 'Add drive' (it's in the category library/VIM 3/Virtual Machine management/Device Management workflow.)

    • Once you have confirmed that this new workflow 'Add disks to ask' is working properly by passing only an object token with these entries of additional data stored with them, you can add this workflow for the reminder 'onCreate '.

    The above process is a general approach that could be taken. The specifics of real workflows that you create are up to you and the support of this customization

    Good luck!

    Visit me on http://www.vcoteam.info for vCenter Orchestrator tips and tutorials

  • Show/hide a Div so that the application process will be executed

    Hi all

    I have the following problem:
    I'm on APEX 3 and I have the page with 2 elements. When the user, enter the value in the first element on the page and navigate out of the element, in the second article should be the SYSDATE.
    This must be done as:
    1. set the fovus in the Item1.
    2. navigate off the Item1 (with TAB or the mouse).
    3 JavaScript function will be executed:
    3.1 icon "Please wait...". "will be displayed.
    3.2 application of getDbDate process will be executed.
    3.3 the value returned by the getDbDate of application process is allowed in the Field2.
    3.4 icon "Please wait...". "disappears.

    Here ist the sample application: http://apex.oracle.com/pls/otn/f?p=MISCELLANEOUS:108

    In Firefox, I have no problems to show the "Please wait...". "Icon, but the Explorer Intener shows me nothing. But the application process will be executed.

    Any ideas?

    Best regards

    Hello

    See the example of CARL
    http://HTMLDB.Oracle.com/pls/OTN/f?p=11933:62

    Kind regards
    Jari
    -----
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Sending page apex to the application process (JSON) values

    Hi all

    A page 5 apex has a value in a hidden item, P5_CLASS
    In the apex 5 page, I wrote a JavaScript to call for a process of application (PL/SQL) to retrieve the values of a table on Page 5.
    var ajaxRequest = new htmldb_Get (null, & APP_ID., 'APPLICATION_PROCESS is Get_Class_Data', 0);
    and I use the JSON object to display the rows in the table.
    -----------
    Problem
    -----------
    It works pretty well. But I need to send the value of the hidden element P5_CLASS to Get_Class_Data so that I can ask P5_CLASS-basedapplication process.

    Help, please.

    Shiva says:
    Thank you Paul,.

    So I can use

    var ajaxRequest = new htmldb_Get (null, & APP_ID, 'APPLICATION_PROCESS = GET_CLASS_DATA', 0);
    ajaxRequest.add ('F15_GLOBALVAR', $v ("#P5_CLASS")) to send the value to the application process?

    (F15_GLOBALVAR is an application-level element, I created in the shared components)

    And to use this application in my sql in GET_CLASS_DATA, I can use sql... where class =: F15_GLOBALVAR?

    Yes.

    (Please zip code wrapped in \

    ...\
    

    Tags to preserve the special characters and formatting.)

  • How to make a visible object in the application process?

    Hello

    I have a resource that is self down and the shape of the object have a few specified additional fields (the fields are marked as required and are made in research). I want to allow (or even force) user to complete a form during the application process. How to do this? Is is possible?
    In fact, the user cannot see the form requesting a resource, it can be seen and filled by approver or administrator...

    Thanks in advance!

    Hi Magnan,

    If your resources form is not available, consider the following configurations:

    -Make sure that the form is active.
    -For the definition of the record resource, ensure that you have set the form as the object Type and define the purpose of your resource in the object name field.
    -For the definition of the resource object, make sure the resource card is defined in the name of the Table field.

    That's all you need to do to have the shape of resources when the user creates a request

    Renato.

  • Error: Failed to create the application process: operation not permitted - deployment of ripple to Dev Alpha

    Hey people,

    I was puzzled on this the last bit of time and can't seem to find a solution. (The closest thing I could find is here: http://supportforums.blackberry.com/t5/Web-and-WebWorks-Development/Webapp-not-starting-on-device-VM... but there does appear to be a response [UPDATE: Adam Stanley mentioned that it was due to a missing Debug token, and this isn't the case for me.])

    When I try to "Package & launch" of the ripple, the project is created correctly and even installs the application on the device (is the application icon on the home screen). However, when he tries to run the application, the console of the ripple spit:

    "Error: cannot create the application process: operation not permitted".

    Any later attempt to open the application from the icon on the screen will result in an immediate fall.

    As an attempt to circumvent, I use "Package & sign" and then run the blackberry-deploy with installApp - launchApp - tool options and... it generates the same error as described above.

    I'm working on OS X, and I successfully installed the Webworks SDK as well as the undulation on Chrome Plugin. I have a project together upward with a running python web server and can view the content properly on the ripple. I have my signature correctly registered keys and I generated the file debugtoken.bar. I downloaded the debugtoken on the alpha dev successfully device and placed a copy of the debugtoken.bar file in the root folder of the SDK Webworks. The unit is in developer mode.

    Someone at-troubleshooting suggestions?

    [Edited for format (original post deleted line breaks) and also to highlight a number of things]

    So after getting back to the question, I loaded build with the SDK 1675 Webworks (1.0.4.5) published today, and I was able to go beyond the permission error that plagued me previously.

    Thanks again for the help Adam.

  • Redirection of the application process

    Hello

    When we try to redirect using the application process get below error.

    When the same process is tried to process Page it works fine.

    We use 5 APEX. Tried owa_util.reirect_url and apex_util.redirect_url.

    Any ideas?

    Hi Arun,

    Why don't you use a branch?

    If you cannot you must always use apex_util.redirect_url. Can you provide an example of code you used? As it seems that the browser actually receives the redirection, but it seems that it is not correct. Use the function "Check system" and tab Net of Firefox to have a look at the answer and after that is returned by the server.

    Concerning

    Patrick

  • How to set the value of the point of application using pl/sql in the application process

    Hi guys,.

    I want a global variable (application point) whose value will be set to start when a user logs on to the application. The value will be retrieved from the database by using a sql query. I don't exactly know the syntax to set the value of the point of application in the application process. Also, I want to know what type of enforcement process should I use to set the value of the point of application, when a user starts a session. The value of the point of application varies from one user to the user.

    Help, please.

    I use apex 4.2

    Kind regards

    Waqas

    You can use the application element as a link with his name. That is to say. your point of application is named G_MY_APPLICATION_ITEM, then you can / set of access using: G_MY_APPLICATION_ITEM.

    For example

    BEGIN

    -assign as a variable

    : G_MY_APPLICATION_ITEM: = 'LARRY ';

    --

    -use in a SQL statement

    SELECT WHATEVER_COLUMN

    IN: G_MY_APPLICATION_ITEM

    FROM MY_TABLE

    WHERE USERNAME =: APP_USER

    ;

    END;

    Peter

  • To access the settings of ajax in the application process

    Hello

    I have an ajax call, submitting a parameter called cBoxKey.

       var get = new
       htmldb_Get(null,$v('pFlowId').value,'APPLICATION_PROCESS=TrackRows',0);
       get.add('cBoxKey','NOTREQUIRED');
      get.get();
    
    

    In the application process I can access the parameter 'cBoxKey' like below;

    declare
        l_checkBoxKey  varchar2(4000);  
    begin
        --
        -- Get the value of the global which will be set in JavaScript
        --
        l_checkBoxKey := wwv_flow.g_cBoxKey;
    
    

    However, this does not seem to work because when I replace

    l_checkBoxKey := wwv_flow.g_cBoxKey;
    
    

    with

    l_checkBoxKey := 'NOTREQUIRED';
    
    

    The application process is called and produces results (through the ajax call).

    In my view, that the question is how access the "cBoxKey" parameter in the application process.

    Any ideas on what could be wrong.

    Thank you.

    Hello

    I check any specification of package APEX version wwv_flow, there is no variable of g_cBoxKey.

    If you have idea there?

    Change your JavaScript for

    var get = new
    htmldb_Get(null,$v('pFlowId').value,'APPLICATION_PROCESS=TrackRows',0);
    get.addParam('x01','NOTREQUIRED');
    get.get();
    

    And then access process on demand as

    l_checkBoxKey := APEX_APPLICATION.g_x01;
    

    Kind regards
    Jari

  • Question of the application process

    +(First OFF, we're using ApEx 4.0 through IE8) +.
    I have a report that serves as a "shopping bag" of sorts, with a "Delete" button to cancel the Articles of him. But the button 'Delete' is not to go to the page, it leaves just a blank white page. (Fortunately, the process works in the removal of the element)

    The link to the column in the report Page 11 goes back to Page 11. (I tried to change to a new Page 12, including a few branches immediately back to the 11 Page, but it does not solve the problem) The link name is APPLICATION_PROCESS = REMOVECART, clears the cache on Page 11 and sets the value of a hidden element (P11_ITEMCODE) to be referenced in the App.Process.
    The REMOVECART process is a SQL/PL block running On-Demand"that says:

    DELETE FROM INFO_CART WHERE ITEMCODE =: P11_ITEMCODE;
    UPDATE the STATUS value INFO_INDEX = 'In', ORDEREDBYUSERID = '0' where ITEMCODE =: P11_ITEMCODE;

    There is no Conditions, permissions or authentication on the process or the link in the column. Ideas, why the process is not back to the Page based on its execution?

    It appears when you run the application process of the URL which deal with the application will run and that's it. You will need to provide a code in the process of redirection request to the url of the page you want to go.

    Another option is to create a process to run the application process and make it conditional to a certain request value that you can set in your link. Look at the page 4 ("basket 2") for an example.

  • APEX Bug: Creation Bug, or make the Application Builder

    In the page editing screen application Builder:

    -Click the icon of legend at top right (left of the lock icon)
    -You have the option to create a task, a bug, or comment
    -Click on a task or a Bug
    -Scroll on the pop-up screen and in a context of application they have no application or pages to choose from

    The problem disappears if you use the create menu (top-right)
    -Select this option to make or Bug
    -If you scroll on the pop-up screen in a context of application good application numbers and page are displayed.

    Martin
    -----
    http://www.talkapex.com

    Thanks Martin. It is now classified as Bug 10267913 to fix in the APEX 4.1.

    Joel

  • The application process - special characters

    I have an application process (ODP) that I use to fill elements in a page with. I followed the examples of Denis Kubrik e.a. OTN. The problem, in that I ran given with this symbol. I know that there is a special characters that must be escaped in the XML documents. I used the function replace in the SQL query to change '&' in ' & amp;'. However, the process still seems to die. I use the feature of documented test here.

    When I run the ODP that does not return the ampersand, all right, I see the XML document. When I retrieve a line with the ampersand, I see:

    "Cannot view XML input using XSL style sheet. Fix the error and then click the Refresh button, or try again later.

    The operation completed successfully. Error during processing of the resources ' http://test:7734 / pls/apex/f? p = 128:0:8491... »

    When I run the SQL in SQL Developer using output I see a valid XML document.

    Someone saw this?

    Thank you!

    Probably because the first is interpreted while the second is not.

    To be honest, I don't know, but it worked for me.

    If it works, I prefer the CHR option.

    See you soon

    Ben

    Don't forget to mark the answers as useful or correct ;)

  • How to keeps it external links in the application process?

    I have an application that has production, development and test environments. I need to incorporate some external tool URL in APEX and APEX page javascript code pl/sql/menu code links how to respective production, development and test environments in external tools. It is very difficult to change these links manually everytime we Nettwerk enforcement around different environments. is it possible to define an application process where these links are accessible by code APEX page javascript and links of menu/code APEX pl/sql, so that I can change the links in one place? any ideas are appreciated.

    Kind regards
    Surya

    Hello

    To list the target URL place you

    &SERVER_NAME.
    

    Kind regards
    Jari

Maybe you are looking for

  • How can I get the old behavior back to switching tab?

    I have installed Firefox 8 today to give him another chance after a pretty bad experience of the passage of the FF 3.6 to the FF 4.0.Right now, I am dealing with most of the disadvantages of the switch, but it is something I don't understand. What ha

  • HP Jet 8 5801 how to access the webcam

    I just bought HP 8 5801 stream, product number K5L4OUA. The card that I printed shows it has a front and a rear facing camera, but I can't find how to access the rear side.  The camera screen does not show how. Also, how can I return the default tabl

  • My cat stepped on my laptop keyboard...

    So, my kitten has decided that it would be a good idea to walk on my keyboard while I was on facebook, trying to chase the mouse on the screen.  She walked on the keys from F1 to F7, probably, and a window pops up with a 'yes' or 'No' down.  Before I

  • Last DBMS_SCHEDULER job Start Date

    I have a job scheduled to run every 15 minutes using DBMS_SCHEDULERI used user_scheduler_jobs table to get last_start_date for my work, and it reflects the time where the work was last started.But, when I manually run the job using DBMS_SCHEDULER. RU

  • with master as * ERROR at line 1: ORA-01762: vopdrv: query not in FROM block

    with master as (   select lbrcode,prdacctid,dateclosed,dateopen custno from masters   where  dateclosed>=to_date('30-Sep-2014','DD-MON-YYYY') ) , limit as (   select totsanclimit,expdate ,lbrcode,prdacctid             from             (             s