passing parameters to a procedure of url

Hello

I use the Express 4 Application, in which my requirement is as follows:
(a) conduct a redirection to a url by using pl/sql procedure "authenticate" when the page loads
as follows:
return_to_uri varchar2 (2000): = ' http://mysite.com: < port_no > /apex/ < my_schema >. < package_name >. < procedure_name > ';
openid_uri varchar2 (100): = 'https://www.google.com/accounts/o8/id;
build_uri: = '? NS = http://something.com'
|| '& id2 = http://something2.com'
|| '& id3 = http://something3.com'
|| '& return_to =' | UrlEncode (return_to_uri);
v_redirect_url: = openid_uri | build_uri;
owa_util. REDIRECT_URL (v_redirect_url);

The above procedure performs a redirect url to Google successfully and send some parameters added to
return_to_uri' so ' http://mysite.com: < port_no > /apex/ < my_schema >. < package_name >. < procedure_name >? NS = http://something.com & param_id = AQRST1299STR4 & param_id2 = 1QPL86GBN4JK55F';

However, it always gives me error BAD URL.

I get the params individually as follows in the procedure:

procedure get_redirect (p1 in varchar2, p2 in varchar2, p3 in varchar2)
Start
< redirect here once again to a valid apex application >
end;

I gave approval to run on APEX_PUBLIC_USER and the PUBLIC procedure.
I don't know if something like this is possible. Is it the signs '&' in the url that is the problem. I tried searching for it but I'm still not able to get any useful resource.
Any help would be greatly appreciated.
Thank you

possibly an apache rewrite rule can help, something that identifies the query based on the name of your procedure and converts the URL for procedure parameter names. You can even google Server provide a dummy URL that can handle your HTTP server using a rewrite rule redirect to the URL and real procedure
Here are some links that may help you get started in this direction

Oracle Application Express (APEX)
http://httpd.Apache.org/docs/1.3/mod/mod_rewrite.html

Tags: Database

Similar Questions

  • Process 1 gr 2 OWB flow - how to pass parameters to a procedure

    Hello
    In 10.1 OWB processflow IN procedure parameters can be passed in the activity view that appears on the choice of the procedure within the processflow. How to enter the parameters IN the case of OWB11gr2. In property inspector no options are there. Any help is much appreciated

    Hello

    Select the processing activity. In the structure window, select the parameter. Then, you can set the binding or the value in the Properties window.

    Sometimes the property window is not updated when the setting is selected. Double-click the bar from the window of the property window to maximize.

    Kind regards
    Carsten.

  • Passing parameters to the URL - availability in the new process of request

    Hello

    I am able to pass parameters in the URL of the APEX that defined the points of the application as below

    : http://application-tier server: port/pls/apexdev/f? p = 1001:1:APP_CLIENT_NUMBER, APPLICATION_NUMBER:0001285, 0000051:

    I would like to get and set other items based on elements of application passed as parameters. I would like to only enter once application.

    I found the best place for this action in a process of application with Point on new Instance of Process.

    The problem seems to be that the value of point of application has not been set at this point, and therefore the values are null.

    If I change the application process process Point to something that runs to each page as On Load: after the header, then the values are available. It is not suitable as only wish to run once at startup of the application.

    I can't find discussion of this documentation.

    1. I would be able to access URL parameters in the application process with Point on a new Instance of the process?

    2. are there any other equivalent task for access to URL parameters at the start of the application?

    Thank you

    Hello

    APEX runs only on the new process Instance when a new session has been set up. As you discovered, URL items are not yet saved in session at this point State. You can use a level app process before header instead, with a condition that makes that make it run when certain elements that you want to initialize are null.

    Kind regards

    Christian

  • Navigation after passing parameters to ADF via URL

    How you exit a page after passing parameters via a url as in the method in this link https://blogs.oracle.com/shay/entry/passing_parameters_to_adf_appl?

    I tried to drop this delimited task flow on adfc-config and adding a flow of control to another opinion, but I can't seem to access my opinion of this workflow call.

    In other words, I can call the workflow bounded through a url and pass it a parameter, but once it is posted I can't go to my other point of view.

    How can I do this?

    Thank you

    If you use a wildcard of navigation in the unlimited workflow as shown here https://tompeez.wordpress.com/2013/06/18/jdeveloper-navigation-after-return-from-bounded-task-flow/

    It should work.

    Timo

  • Pass parameters to GO URL help - how to get the real URL?

    Hi gurus,

    I'm testing a method of passing dimensional values of the main report to detail report by clicking on the measured value in the main report. The idea is to convert the measurement column in a href HTML column, so it can pass parameters to the 2nd report using the URL GO.

    What I entered in the formula tab, it is like this:
    ''|| CAST ("sales facts". ("' Quantity ' AS CHAR (50)): ''

    Now when I click on the value of the measure, it can refer to the detailed report but cannot pass parameters. I have already added FILTERS to this report and set with clause IS GUEST.

    I have no idea why it cannot work because I do not see the actual URL, it has generated. The URL at the bottom of the page is incomplete.

    Is it possible to get the real URL? Expected my feasible approach?

    Concerning
    Jeffrey

    P2 is the target and P3 is the source column. P2 should be replacement of 20% for spaces.

    P2 = customer. "% 20Region" & P3 ='| " Clients. "" Country region |

    There are many examples of correct GO the URL code here in the forum, you just find it. :-)

    Concerning
    Goran
    http://108obiee.blogspot.com

  • Pass parameters to the box of the HTML form to a stored procedure

    I'm always looking for a solution to my problem of forms. For the record, I don't use Express applications to create my application - I use PL/SQL right. I need to know how to pass parameters from the box to my Web form. I welcome people select one or more checkboxes in a form that calls a remove function to delete the selected records. What I read in Oracle of the "Guide to the developer of database applications - Fundamentals" is not useful to me. If someone could tell me some examples, maybe I could see what I'm doing wrong. Here is what I wrote in "the developer of database applications - fundamentals Guide ':

    All the boxes with the same NAME attribute are a group of checkbox. If none of the boxes in a group is selected, the stored procedure receives a null value for the corresponding parameter.

    If a check box in a group is selected, the stored procedure receives a single parameter of VARCHAR2.

    If more than one check box in a group is enabled, the stored procedure receives a parameter with the type of PL/SQL TABLE OF VARCHAR2. You must declare a type like this, or use a pre-defined as OWA_UTIL. IDENT_ARR. To retrieve the values, use a loop:
    CREATE OR REPLACE PROCEDURE handle_checkboxes ( checkboxes owa_util.ident_arr )
    AS
    BEGIN
    ...
    FOR i IN 1..checkboxes.count
    LOOP
    htp.print('&lt;p&gt;Checkbox value: ' || checkboxes(i));
    END LOOP;
    ...
    END;
    /
    SHOW ERRORS;

    I'm not sure that understand what your question is.

    If your web form has the following defined all with the same name:

    one
    two
    three
    

    You create and save a procedure to manage the sending of a form that contains a parameter with the name of attrib type owa_util.ident_arr for example:

    create or replace procedure handle_form(attrib owa_util.ident_arr) as
      iter number;
    begin
      for iter in attrib.first .. attrib.last loop
        -- do something with attrib(iter)
      end loop;
    end;
    /
    

    Now, the only problem with this Manager (or any other), is that if the user selects any of the boxes, or no value for the parameters expected, the Manager called with parameters missing or with on all of the passed parameters, as well as the call will error.

    To move, you need to provide default values for all parameters passed to your handler such as the settings of ident_arr, but with ident_arr settings, it's hard to do with autonomous procedures. If you place your procedure in a package you can define variables of package-level of the appropriate types that can be used as default values:

    create or replace package my_web as
      empty_arr owa_util.ident_arr;
    
      procedure handle_form(attrib owa_util.ident_arr := empty_arr);
    end my_web;
    /
    create or replace package body my_web as
      procedure handle_form(attrib owa_util.ident_arr := empty_arr) as
        iter number;
      begin
        for iter in attrib.first .. attrib.last loop
          -- do something with attrib(iter)
        end loop;
      end;
    end my_web;
    /
    

    now, when you hit in the situation where the user does not select the checkboxes, the call to handle_form will be no reviewable error on due to missing parameters, and the empty_arr will not have all the elements to iterate over so the loop in the body of the procedure will be fine and you will be able to retrieve each value of the checkbox selected attrib table when you iterate on it.

  • PowerCLI pass parameters

    Hello

    I want to pass parameters to my scriptblock in invoke-vmscript

    $a = "Hello".

    = {} Scriptblock

    Param ($Outside)

    write-host "Hello".

    $b = $outside

    }

    invoke vmScript - vm VM - GuestCredential Hello - ScriptText $ScribtBlock - arguementlist ($a)

    The ScriptText parameter requires a string not a script block in the direction of PowerShell.

    Substituting the parameters becomes much easier this way

    param(
    [string]$port,[string]$creds)
    
    $scriptblock= "{
    `$url=http://localhost:$port/ write-host `$url}
    "
    Invoke-VMScript -VM VM -GuestCredential $GuestCredential -ScriptText $ScriptBlock
    

    Note how you can use the escape character (backtick) to spend the dollar sign

  • How to call parameters for a procedure of a table?

    Hello world

    I use the oracle 11.1.0.6 version.


    I have a procedure that must call 6 parameters in a table. Could I know how to perform the procedure parameters in a table?

    Now, I'm running a .sql file.

    SELECT TO_CHAR(SYSDATE,'DD/MM/YY hh24:mi:ss') FROM DUAL;
    EXEC call_all (201208, 'DBC', 2, 'Choice', 201223, 201236);

    Thanks in advance

    How do you get the values of the parameters to pass to the CALL_ALL procedure?

    If you want to get all the parameters to pass to CALL_ALL, to be taken from the table, you will need to do so in an anonymous PL/SQL block/function/stored procedure as below:

    declare
     v_bmonth       param.bmonth%type;
     .
     .
     .
     v_tweek_2     param.tweek_2%type;
    begin
     select bmonth, ssc, label, tweek_1, tweek_2
        into v_bmonth, ..., v_tweek_2              ---> ... corresponds to Individual Parameter variable
       from param p
     where p.some_column = some_value        ---> This condition should be able to fetch only One row from table, else it will throw error.
    
     call_all(v_bmonth, ... v_tweek_2);
    end;
    
    ------Alternative-------------------
    declare
     v_param            param%rowtype;
    begin
     select *
        into v_param
       from param p
     where p.some_column = some_value        ---> This condition should be able to fetch only One row from table, else it will throw error.
    
     call_all(v_param.bmonth, ... v_param.v_tweek_2);     ---> ... corresponds to v_param."Column_Name" for corresponding column names.
    end;
    

    Just read that you want to run the procedure for all values:

    begin
      for cur in (select * from param) loop
    
        call_all(cur.bmonth, ... cur.v_tweek_2);
    
      end loop;
    end;
    

    I want to do it in a simpler way:

    create or replace function f_execute_call_all
    (
    b_bmonth in number,
    b_banner_name in varchar2,
    b_ssc in number,
    b_label in varchar2,
    b_tweek_1 in number,
    b_tweek_2 in number
    )
    return number is
    begin
      call_all(bmonth,banner_name,ssc,label,tweek_1,tweek_2);
    
      return 1;
    exception
      when others then
         -- Log Exception Message
         raise;
    end;
    
    calling Code:
    
    select f_execute_call_all(bmonth,banner_name,ssc,label,tweek_1,tweek_2) from param;
    
  • Passing parameters from HTML to Flash Object

    I know it must be very simple, but following the examples I can find on passing parameters from HTML to my Flash application, I have not been successful. I would like to find a relatively common using AS3, Flash CS4 example.

    If it helps, I need to pass the url of an XML file to the flash application so that it can get instructions on what it is supposed to play. We want to do in this way because we do not control the web site so that we can not just leave the XML file on the server and maintain as needed.

    I don't know if I'm just making typo or what. Share and other snippets of it would be greatly appreciated.

    Thanks for any help.

    Hey I think I know what you need to do, try this "" in the HTML code, and then create a Flash var like this:

    var xmlURL:String = this.loaderInfo.parameters.xmlURL;

    chance!, tell me if it works

  • Pop-up - passing parameters

    I need some help w / pop-up windows and pass parameters in both directions.

    Page 7 (reports page), I have:
    -TXT_P7_SALESREP displays the name of the sales reps selected, by default, all the
    -CMD_P7_PICKSALESREP opens the popup window when you click
    -H_P7_SALESREPIDLIST stores the list of IDS (used to generate the report) currently selected sales rep

    Page 10 (page popup), I have:
    -CBL_P10_SALESREP a list check box, all of the VRP (by name)
    -H_P10_SALESREPIDLIST stores a list of the IDS of representative sales currently selected
    -CMD_P10_OK to submit the changes and close the page
    -CMD_P10_CANCEL to close the window without saving changes (I got this work already through the process of close popup window)

    The process should be something like:
    1) User opens report page, 'All' is displayed in the text box, and H_P7_SALESREPIDLIST contains all the sales rep ids 
    2) User clicks CMD_P7_PICKSALESREP to change list of sales reps 
          2a) Popup window opens & the value of H_P10_SALESREPIDLIST is set to the value of H_P7_SALESREPIDLIST
          2b) CBL_P10_SALESREP has values checked based on the value of H_P10_SALESREPIDLIST (all by default, but a user could change sales reps multiple times)
    3) User makes their changes and hits OK
          3a) Value of H_P10_SALESREPIDLIST is updated w/ list of currently selected sales reps
          3b) Value of H_P7_SALESREPIDLIST is updated w/ the value of H_P10_SALESREPIDLIST
          3c) Popup window is closed, returning the user to the report page
          3d) TXT_P7_SALESREP is updated via the contents of H_P7_SALESREPIDLIST
    4) User runs the report which is processed/displayed based on the values of H_P7_SALESREPIDLIST
    I tried to put some javascript:popupURL('f?p=&APP_ID.:10:&SESSION.::NO::H_P10_SALESREPIDLIST:&H_P7_SALESREPIDLIST'); in the target URL for CMD_P7_PICKSALESREP, but it did not work. I don't know enough about the passage of parameters and APEX-details to implement myself. Any help would be appreciated.

    I prefer this w / do as little javascript as possible coding, but I understand that it may be necessary.

    Hmmmm, this is weird @ no alerts

    Probably a syntax error in the JS (missing order, quote, brackets etc.)?

    CITY

  • Pass parameters using SFWLoader

    I need to load a SWF (AS2/AS3) go in an AS3 SWF and pass parameters to the child. It works fine using FlashVars when loading a SWF from JavaScript. Now, I need to do the same thing with a Flex2 SWF file.

    I read several posts where people succeed in passing a flex application settings 2 to the SWF, using SWFLoader. I spend a day trying to get this to work but not luck. Read a lot of forum posts and some people claim that it works for them.

    The following code is an example. A swf file that loads again all showing the parameters in a label. If you run this in a browser with "test.swf? var1 = hello-world"then it shows well-Hello everyone in the label. Click the load button and it is supposed to load the same swf with another parameter var1. The SWF file loads well but CCET times that the label is empty. The query part of the URL that contains the settings seems to be ignored. What I'm doing wrong here?

    Quote:

    <? XML version = "1.0" encoding = "utf-8"? >
    < mx:Application
    xmlns:MX =' http://www.adobe.com/2006/mxml'
    verticalAlign = "top".
    Width = '100% '.
    Height = "100%".
    creationComplete = "init ()" "
    >
    < mx:Label id = "appParmsLabel" text = "parameters of the URI:" / >
    < mx:Button label = "Load test.swf? var1 = 123" click = "load1 (); "/ >

    < mx:Script > <! [CDATA]
    public var SWFURL:String = ' test.swf? var1 = 123;
    private function init (): void {}
    application.appParmsLabel.text += getAppParms();
    }
    Get the settings of the application
    private function getAppParms (): String {}
    var result: String = "";
    for (var name: String in application.parameters)
    {
    name of result += + ': ' + application.parameters [name] + ",";
    }
    return the result;
    }

    load swf flash
    private void hearings1 (): void {}
    Child.source = SWFURL;
    }
    []] > < / mx:Script >

    < mx:SWFLoader id = "child" / >
    < / mx:Application >
  • passing parameters between different areas to help Navigate the column

    Hi all

    I know I can pass parameters between the reports through a few subjects by using Url go. However, I want to keep the functionality of the menu displayed when you use defyining multi target in the s column Navigate with drop-down feature. So the problem I encountered is the sequel

    (1) when I set some goals to navigate - is it possible to transfer parameters to these links point to destinations? (I tried to add them at the end of the link in the field "Target", but without success)

    (2) or alternatively - when you use GoUrl, can I define a < would display a href link that might point to places menu and mulitple drop down?

    I really appreciate your help with above
    Best regards
    Wojtek

    Published by: user1291979 on October 7, 2009 11:51

    -without add nothing more to this link, selected GEOGRAPHY. COUNTRIES must be passed to destination and > must complete guest there? It works that way in my environment

    If you are using navigation on the current query column properties and component the dashboard then the query current source column is analyzed on the quick dash in both have SAME_TABLE. The names of SAME_COLUMN, else parameter is not parsed.

    Target: / shared/Adecco01/_portal/01 edge/weekly table dashboard
    You don't enter anything

    He must complete only the GEOGRAPHY. COUNTRIES in the reports within the area where the source report comes from?

    If you use the navigation on the properties of the column and the call to another then asks the current column is analyzed on the query target only if in the SAME_TABLE target. SAME_COLUMN value IS INVITED, another parameter is not parsed. Report of the target and the source may be on different areas but we need SAME_TABLE. Names of SAME_COLUMN.

    If you use GO URL, URL of the dashboard EDGE or the other, I already explained.

    Concerning
    Goran
    http://108obiee.blogspot.com

  • pass parameters to treat the flow of pl / sql block

    Hello

    I integrate with Warehouse Builder 10.2, a process named PF_1 flow and a PL/SQL procedure that calls this workflow process using the WF_ENGINE API.
    This process flow, call a large number of mappings of Warehouse Builder. The question is, if I can pass a value get in the PL/SQL block for the process flow and then use it for calls of mappings.

    Example:

    DECLARE
    w_value INTEGER.
    BEGIN

    -Get the value that I need to go to deal with the flow, but I don't know how
    SELECT column1
    IN w_value
    FROM table1;

    -Start the process
    WF_ENGINE. LaunchProcess ('PF_PACK ',' PF_CALL_01 ',' PF_1, 'PF_CALL_01', 'OWB102');

    -Commit final
    COMMIT;

    END;

    Thank you in advance.
    Francisco F.

    Published by: franciscof on Apr / 03/2009 0:06

    Hello

    Have you seen the script below to run any object OWB, including process flow:
    owb\rtp\sql\sqlplus_exec_template. SQL
    in the installation.

    This use and API that has an example of using here;
    http://blogs.Oracle.com/warehousebuilder/2007/07/publishing_process_flow_as_a_w.html

    You can pass parameters to it and bind the mapping of input parameters for process flow settings to the settings, this might help:
    http://blogs.Oracle.com/warehousebuilder/2009/01/process_flow_parameters_1.html

    See you soon
    David

  • How to run and pass parameters to the exe file in the txt file.

    Hello

    I am facing problem with passing parameters in the .exe file, which is run by labview.firstly that I have script .txt with the settings that I have to go to the .exe file. This .exe file is also a software, and this script is written for her. And now I have to create program in labview which should satisfy the following points.

    1. I have to use a button named "Run script". If I pressed the button, it should open the browser where I can choose the script .txt file.

    2 .exe application is expected open(Path already chossen).

    3. After passing the .exe application settings should be closed.

    4 and labview should now update its parameter

    I just open using Exce.vi .exe file, but I didn't get any idea to do more than this.can someone please help me?

    Thanks norbert. CAN I love it? What should I change now? VI attached below...

  • Passing parameters to dynamically loaded screws

    Hello

    I have a data acquisition application that uses an analog input, PCI-Hardware.
    With this material I enjoy different channels and display them in audio
    In operation 'Preview' I enjoy 4 channels and display them in 4 audios.
    I have therefore a quarter of the maximum sampling for each channel.
    Operation 'zoom' I only enjoy a channel (at the material max sampling rate)
    and display the data in the selected channel (the other channels are igored in zoom mode)

    My idea is to launch the different screws according to the mode (overview, zooom).
    I could imagine, that a good approach to perfom this task calls different screws
    of the main program.

    Unfortunately, I do not understand how to pass parameters to the VI if I call them
    using knots "reference open VI", "call for reference" and "close reference VI.
    I tried to understand the Labview "Example of dynamic load", but it's too complicated for me.
    Can someone give me a simple example to dynamically load the screws or y at - it white papers
    or nugets on this topic?


Maybe you are looking for