A url that refers to an application process pass several parameters?

Hello

I have a page in an application that uses pl/sql to generate a list of links.

The purpose of each link is to call another pl/sql procedure which in turn opens / runs an external report on the application of the APEX (or a call to the server to Oralce apps generate direct or pull clob is stored in the database). If the URL call the pl/sql procedure directly, I lose session state and doesn't remember who the user is. To maintain session state made URL refers to an APPLICATION_PROCESS. I would like to pass a number of parameters, but may only move one, using javascript to pass the value to a hidden element that is accessible in the procedure called by the APPLICATION_PROCESS.

Can I pass several parameters?
My URL:
https:// < Server > / pls/apex/f? p = V('APP_ID'):0:V('APP_SESSION'):APPLICATION_PROCESS = MY_PROCESS:NO:P1NAME:P1VALUE

I was able to pass all parameters P1VALUE and using a special character delimiter he break up once again in the javascript code, but would rather not.

Thanks for any help,
Jock

Did you mean something like this?

https:///pls/apex/f? p = V('APP_ID'):0:V('APP_SESSION'):APPLICATION_PROCESS = MY_PROCESS:NO:P1NAME, P2NAME, P3NAME:P1VALUE, P2VALUE, P3VALUE

Best regards, Kostya Proskudin

Tags: Database

Similar Questions

  • captive portal url that refers to a domain name

    in a pilot project, during the setup of initial installation ISE, I configured a local domain. After installation, I then changed to use a domain name business resolved by the DNS server in the company, but even if the console accepts the new domain and the ISE GUI shows the new correct FQDN, I have problem with captive portal page resolution because the redirect url created automatically by the ISE for the CWA are still called the ISE with the old domain used in the initial configuration thus creating a problem to resolve the url.

    The only reason I can think, present at the client cert is always composed the old FULL domain name. As we changed the domain name, you must generate a new certificate and install it on the ISE so that CN must match the new FULL domain name.

    Jatin kone
    -Does the rate of useful messages-

  • Problem passing several parameters in URL

    I use a redirection to a URL action in a button (Apex 4.0.2) and I can't seem to understand how to properly complete multiple page items. I can use a parameter and the value is passed; However, when I try to pass two only the first element is filled. I don't know there is something wrong with my syntax, I don't know what.

    I use the $x () function I found in another thread here and as a sidebar, where can I find documentation on this feature? There seems to be little information here above.
    javascript:redirect('f?p=101:13:&SESSION.::NO::P13_REQ_ID,P13_REQUEST_NUMBER:'+$x('P3_REQUEST_ID').value,+$x('P3_REQ_NUMBER').value);
    Two items being passed are valid, because I can remove the comma from the value param string and two values of the element passed are concatenated into the first param element.

    Hello

    Try this:

    javascript:redirect('f?p=101:13:&SESSION.::NO::P13_REQ_ID,P13_REQUEST_NUMBER:'+$x('P3_REQUEST_ID').value + ',' + $x('P3_REQ_NUMBER').value);
    

    Kind regards
    Dirk

  • Error: demo.model.AppModule: demo.model.AppModule application module has an instance of the EmpByEmail1 view that refers to an invalid view object.

    • Error: demo.model.AppModule: demo.model.AppModule application module has an instance of the EmpByEmail1 view that refers to an invalid view object.

    Initially, I created view object named EmpByEmail... because this EmpByEmail1 is created in datacontrols... I deleted EmpByEmail in demo.model by mistake and I created again with the same name EmpBYEmail another object view... yet another EmpByEmail2 is created in datacontrols...

    while I'm running I get following error:

    • Error: demo.model.AppModule: demo.model.AppModule application module has an instance of the EmpByEmail1 view that refers to an invalid view object.

    User, please say it is your Jdev version.

    Open the module of the application in source mode and remove the old definition of the use of the source view.

    Timo

  • 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

  • Call javascript application process

    I use 5 APEX. I have a page that I use a button to call js and dynamic action.

    I created the button on my page with action "Defined by the dynamic Action" and static id "ajax".

    I added this js on my page 'function and declaration of global variables ' section:

    $('_#ajax').click (function () {}

    var ajaxRequest = new htmldb_Get (null, & APP_ID., 'APPLICATION_PROCESS is getId', 0);

    var ajaxResult = ajaxRequest.get ();

    Alert (ajaxResult);

    $.ajax({)

                 url: " http://10.25.7.84/WS/selectionService/currentSelection/student ",

    type: 'POST',

    data type: 'json ',.

    contentType: "application/json",

    data: ' {'mode': 'set', 'ID': "[" + ajaxResult + "]","page": 1, "pageSize": 20 "}'

    });

    Alert (' we need to find a better message - value current selection complete ');

    });

    I have created a process called 'getid ':

    DECLARE

    p_app_id NUMBER: = 100;

    p_page_id NUMBER: = 13;

    BEGIN

    ...

    END;

    2 questions:

    (1) I want this application process to be reusable for multiple pages/applications, so I need to replace the hard-coded "p_app_id", "p_page_id" with something I can put on each page. What is the best way to do it? Elements of the application? How and where should I set up on the page?

    (2) in my js, I don't want to hard-code the IP address in the URL.  url: "http://10.25.7.84/ws/selectionservice/currentselection/student". "" Y at - it something that I can use so that it uses the IP that APEX was running on?

    Hi bobmagan,

    bobmagan wrote:

    I tried, but it doesn't seem to work. The application process worked when I had coded the 2 variables. Don't know if its something in the code, that's why I've included pieces that use 'p_app_id' and 'p_page_id '.

    You can access the app ID and the ID of the Page in javascript and send it to your AJAX process as follows:

    • JS code:
    $('#ajax').click(function(){
        var ajaxRequest = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=getId',0);
        ajaxRequest.addParam('x01',$x('pFlowId').value);
        ajaxRequest.addParam('x02',$x('pFlowStepId').value);
        var ajaxResult  = ajaxRequest.get();
        //alert(ajaxResult);
        $.ajax({
            url: "http://10.25.7.84/ws/selectionservice/currentselection/student",
            type: "POST",
            dataType: "json",
            contentType: "application/json",
            data: '{"mode":"set","ids":"[' + ajaxResult + ']","page":1,"pageSize":20}'
        });
        //alert('We need to find a better message - Set Current Selection Complete');
    });
    
    • AJAX PL/SQL process:
    DECLARE
    
        p_app_id   NUMBER := APEX_APPLICATION.G_X01;
        p_page_id  NUMBER := APEX_APPLICATION.G_X02;
    
    BEGIN
      ...
    END;
    

    Kind regards

    Kiran

  • 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.

  • 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

  • Is it possible to POST data to an application process?

    Hello

    I use Google Gears to implement the Apex 3.2 multiple file upload. This works perfectly except that the downloaded files are inserted into the table document with security_group_id = 0 and are not accessible via the view wwv_flow_files.

    To resolve this problem, I am using an application process (if the security context is correctly set up), but I get a 404 error when I try to POST the file (using the standard URL format).

    Before I spend more time on this, I would ask... Enforcement procedures do not like HTTP POST and only work with HTTP Get?

    If this is the case, is there another option to implement the security context when validating data at the Apex DAD?

    Thank you
    Luis

    Hi Luis,.

    "on-demand" process supports HTTP post as well. I think you should take a look 'error.log' the file on your web server to know what is the root cause of your 404 error. Take a look at http://www.inside-oracle-apex.com/oracle-apex-got-404-not-found-2/ for more details.

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

  • Bug report: application process runs even if the user is not authenticated.

    Hi all

    I just stumbled on something that looks like a bug or a security problem for me:
    When you have an application at a point 'Load - before the header (header of page template)' this process is executed no matter if a user is logged on or past validates a session ID in the URL.


    Example:
    In my Application, I have an application process to download a file when a certain application is defined. I chose the application process to hide the url/location of the user files and make sure that this file can only be downloaded in an application context (thank you Dene for inspiration: [http://apex.oracle.com/pls/otn/f?p=31517:15]). This works really well and did all the things I want to do.
    But then I tried to call my download URL (for example http://myhost:myport / mytest/pls/f? p = 1234:0:123123123123:DOWNLOAD_FILE:NO ::) from another computer without logging in.) I expected to get the login screen of my application and all my pages require authentication, but I got the file.

    To work around this problem, I put in condition of the pl/sql process ": APP_USER IS NOT NULL AND: ASK 'DOWNLOAD_FILE' = ', now it works as expected and shows the login page if the user is not authenticated or given to the session id is null/not valid."


    I am mistaken and that the process should not run? I put same authorization "must not be public user" who has been ignored as well.

    Peter

    Peter and Dene,

    Thank you for this comment. I agree that this is a bug and we'll fix it. A solution you can set the attribute Public user of your application to PUBLIC_USER. As long as your FATHER connects as apex_public_user it shouldn't break anything.

    Scott

  • Get the error in the event viewer that refers to Repultemtn. How to remove it?

    Original title: Repultemtn

    Every day I receive at least one error in Event Viewer-system that refers to Repultemtn:

    The Repultemtn service failed to start due to the following error:
    The system cannot find the specified file.
    The only trace I can find is the reference to a former pilot of Repultemtn in the registry. When I search online, I don't find any reference to this driver. Someone met by this old driver before?

    I have a last question. The reference to Repultemtn has now disappeared from current control set in the registry, but it is still listed in ControlSet004 and cannot be deleted. Should I be worried?

    Look at the key HKEY_LOCAL_MACHINE\SYSTEM\Select to see what the setting is, if it's a set of failed control, you can skip the whole game, if it's the LastKnownGood game it will be gone once you restart the computer.

    When you start Windows the bootstrapper checks the key HKLM\SYSTEM\Select to see which setting it should load, if 004 is a set of failed control will never be loaded again, if it's the LastKnownGood control set it will be charged only if you use the F8 advanced boot menu and select this option to start the computer to the last good known Configuration.

    After that you start the computer and successfully log on the LKGC is copied over from the set of controls that has been used to start the computer, these entries have been removed from the default (CurrentControlSet) If you restart the computer normally with the control set by default the LastKnownGood (which is a copy of the set of control kick successfully) can no longer contain the entries.  The LastKnownGood game should NEVER be modified manually... otherwise he will not be the same game as the one that was last with success started, that's why in most circumstances you must only change the current setting.  See here for more information about the boot process and control sets and the Select button:

    System and startup settings
    (Written for Windows 2000, but it is the same for Windows XP)

    John

  • Get all the hidden Application processes

    Hi all

    There are Application processes that are running on Blackberry which are not visible Application. In the application manager, we can get only visible applications. How do we get all processes including hidden processes? What api gives all processes other than ApplicationManager?.

    Thanks in advance

    Have you seen this?

    http://kisses.zensay.com/

    Developer says he is gong to open source its code at some point.

  • 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

  • Redirection of PL/SQL in application process

    Hi all

    APEX 4.2 - Oracle 10g

    I read the forum here and the web. I'm not getting a redirect page 1 of PL/SQL code successfully in an application process.

    I see in other forums that the developers achieve success with the code below.

    Application process runs a PL/SQL block On anonymous, Load: before header.

    The code I am using has been tested and it fires properly. The problem lies in the actual redirect lines (owa_util.redirect_url).

    Begin

    If [a clause] = True then

    HTP.init;

    owa_util. REDIRECT_URL ('f? p = & APP_ID.:1: & APP_SESSION.');

    apex_application.stop_apex_engine;

    end if;

    END;

    Looks like the browser (IE 8.0.7601.17514) trying to open the following...

    .../f?p=4000:RUN_PAGE:5795566109287:BRANCH_TO_PAGE_ACCEPT:no::FB_FLOW_ID,FB_FLOW_PAGE_ID,F4000_P1_FLOW:1284,4,1284

    Wherever I expect what follows

    ... / f ? p = 1284:1:8744058503342:NO:

    Any help appreciated.

    Neil.

    The code works fine.

    The process page is triggered before * every * page load. So there loop of redirection to page 1 and more.

    I added a condition to exclude the redirect if the current page is page 1

    I love an easy solution!

Maybe you are looking for

  • How can I remove the newly added Search tab?

    Firefox updated today and now I have a 'search' tab. I would like to delete this tab, for when I opened several tabs at the same time, I don't need a blank tab too much room. In addition, there are already a search 'area' in the toolbar I really don'

  • Biometric fingerprint logon is not available after Windows update

    Hello I have a HP ProBook 4540 S with Windows 8 (not Pro) preinstalled. I activated the fingerprint reader to log in to the biometric applet when I got it, and it worked very well. Recently, after a scheduled Windows Update, he stopped to offer the o

  • Laptop battery and screen Dim

    Laptop is Vista Dell Inspiron 1420. My adapter/load came out. I always plugged in b/c my screen was so hard to see dim. When it is plugged in, the light was bright. Got new adapter/charger and in a clogged filter still dim and the battery icon does n

  • Battery Charge level

    Doing something to change the level at which my battery charge for the love of the life of the battery and now want to change it to load max capacity (100%).  How can I do this?

  • ARW. FILE MAY NOT BE DISPLAYED CORRECTLY IN EDIT (2015 LR CC)

    Hi, I bought just to LR CC Creative cloud and open my ARW. file with 2015 ver.6.1 LR CC, somehow, I found all of my photos cannot be display properly once I have enter the Panel, here's the sample photo:Could someone tell me what is the problem with