Can a url referencing an Application Process pass more than one parameter?

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 a report external to the APEX application (either a call to Oralce Application Server generate live or pull clob stored in database). If the URL calls the pl/sql procedure directly I lose session state and no longer know who the user is. To maintain session state the URL references an APPLICATION_PROCESS. I would like to pass a number of parameters, but can only seem to pass one, using javascript to pass the value to a hidden item which is then accessed in the procedure called by the APPLICATION_PROCESS.
Can I pass more than one parameter?
My URL:
https://<server>/pls/apex/f?p=V('APP_ID'):0:V('APP_SESSION'):APPLICATION_PROCESS=MY_PROCESS:NO::P1NAME:P1VALUE
I could pass all the parameters in P1VALUE and using a special character delimiter break it up again in the javascript, but would prefer not to.
Thanks for any help,
Jock

Did you mean something like this?
https://<server>/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

Similar Messages

  • How to pass more than one parameter using common...

    Hi,
    I am using ODP.NET with my 2005 VB
    I want to create function from where I can pass more than one parameter to execute SP, or query just like i created for SQL SERVER as below
    Public shared Function CreateParameter(ByVal paramname As String, ByVal paramvalue As Object) As DbParameter
    Dim param As DbParameter
    param = New SqlParameter
    param.ParameterName = paramname
    param.Value = paramvalue
    Return param
    End Function
    Public Shared Function ExecuteQuery(ByVal sql As String, ByVal commtype As CommandType, ByVal ParamArray parameter As DbParameter())
    Dim cmd As DbCommand = New SqlCommand()
    cmd.Connection = OpenConnection()
    cmd.CommandType = commtype
    cmd.CommandText = sql
    cmd.Parameters.AddRange(parameter)
    Dim RetVal As Integer = cmd.ExecuteNonQuery()
    Return RetVal
    End Function
    specially part is in bold to be converted
    I tried like but oracleCommand.parameters doesnt support AddRange
    please help me out
    Regards

    Hello,
    I used the following way:
    pCommand.CommandText = "Update " + sDataTable + " set "
    + sColumnName + " = :1 ";
    pCommand.Parameters.Add("ValueToDb",
    this.DefaultDbType,
    this.m_Value,
    System.Data.ParameterDirection.Input);
    Of course, you can add :2,... to your command text, too.
    The way back is:
    sEndOfTheClause += " RETURNING " + sDataTable + "." + sColName + " INTO :iNewValue";
    pCommand.CommandText = ... + sEndOfTheClause;
    pCommand.Parameters.Add("iNewValue", this.DefaultDbType,
    ParameterDirection.Output);
    bool bReturn = (pCommand.ExecuteNonQuery() != 0);
    if ((bReturn == true) && (pCommand.Parameters.Count > 0))
    this.Value = DataService.Convert<DATA_TYPE>(pCommand.Parameters[0].Value);
    ....

  • How to pass more than one parameter

    Hello,
    This is my code.
    How to pass more than one parameter:
    SELECT:responsibility_name responsibility_name,
    LPAD(' ', 6*(LEVEL-1))
      || menu_entry.entry_sequence sequence ,
      LPAD(' ', 6*(LEVEL-1))
      || menu.user_menu_name SubMenu_Description ,
      LPAD(' ', 6*(LEVEL-1))
      || func.user_function_name Function_Description ,
      LPAD(' ', 6*(LEVEL-1))
      || menu_entry.prompt prompt
      ,menu.menu_id ,
      func.function_id
      --menu_entry.grant_flag Grant_Flag ,
      --DECODE( menu_entry.sub_menu_id , NULL, 'FUNCTION' , DECODE( menu_entry.function_id , NULL, 'SUBMENU' , 'BOTH') ) Type
    FROM fnd_menu_entries_vl menu_entry ,
      fnd_menus_tl menu ,
      fnd_form_functions_tl func
    WHERE menu_entry.sub_menu_id    = menu.menu_id(+)
    AND menu_entry.function_id      = func.function_id(+)
    AND MENU.LANGUAGE(+) = 'US'
    AND FUNC.LANGUAGE(+) = 'US'
    --AND func.user_function_name LIKE '%Primary Care Providers%'
    AND grant_flag                  = 'Y'
      START WITH menu_entry.menu_id =
      (SELECT menu2.menu_id
      FROM fnd_menus_tl menu2,apps.fnd_responsibility_vl resp
      WHERE menu2.menu_id=resp.menu_id
      and resp.responsibility_name= :responsibility_name
      --and menu2.user_menu_name = ('ATCO HR INQ USER'
      AND LANGUAGE = 'US'
      CONNECT BY MENU_ENTRY.MENU_ID = PRIOR MENU_ENTRY.SUB_MENU_ID
       and menu_entry.function_id not in (select func.function_id
                                       from --fnd_form_functions_vl fnc,
                                       apps.fnd_resp_functions exc,
                                       apps.fnd_responsibility_vl res
                                      where func.function_id = exc.action_id
                                      and res.responsibility_name =:responsibility_name
                                      and res.responsibility_id=exc.responsibility_id)
      and menu_entry.sub_menu_id  not in (select menu.menu_id
                                       from --fnd_menus_vl imn,
                                       apps.fnd_resp_functions exc,
                                       apps.fnd_responsibility_vl res
                                       where menu.menu_id = exc.action_id
                                       and res.responsibility_name =:responsibility_name
                                      and res.responsibility_id=exc.responsibility_id)
    ORDER SIBLINGS BY menu_entry.entry_sequence;
    Thank you for your help
    Shuishenming

    Hi, Ming,
    One way is to put the "parameters" in a table, and join to that table in your query.  If you make it a Global Temporary Table, then multiple sessions can run the query at the same time, and each can be seeing different responsibilities.
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.  Since this problem involves parameters, you should give a couple of different sets of parameters, and the results you want from the same sample data for each set.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using (e.g. 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • Pass more than one parameter to ITS link

    Hi all,
    I have a requirement where I have a report and a tx code assigned to it. Now, I have to open this tx code through ITS, where I have to pass 6 parameters.
    When I am trying to pass more than one parameter to the url, it does not work. It only takes the first parameter.
    How do I resolve this?
    Plzz help!!
    Thanks,
    Debolina

    Hi all,
    I have a requirement where I have a report and a tx code assigned to it. Now, I have to open this tx code through ITS, where I have to pass 6 parameters.
    When I am trying to pass more than one parameter to the url, it does not work. It only takes the first parameter.
    How do I resolve this?
    Plzz help!!
    Thanks,
    Debolina

  • Problem with passing more than one parameter to a function

    Dear Experts,
    I have a strange problem while trying to pass parameters to a function in Csharp :
    On my database I have a function like
    function fooo (parameter1 varchar2, parameter2 varchar2) returns number {
    I want to write a csharp function which can execute those functions with varying numbers and types of parameters and returning always a number (see below).
    My problem is, that I always pass only one parameter, the second parameter seems not to reach the database-function although I can see
    all parameters within the OracleCommand structure (dbcommand) in the debugger.
    Can you give me a hint why my function does not work ?
    Best regards,
    Desperately Daniel
    This is my function :
    public override int insertDataSetwithReturn(String ProcCall, ArrayList Parameters, ArrayList ParameterTypes, ArrayList ParameterNames)
    int ReturnValue = 0;
    try {
    //Check for compliance of Arraylength
    if (!(Parameters.Count == ParameterTypes.Count)) {
    //falsche Eingabe !! TODO !
    DBConnection myDBConnection = new DBConnectionORA();
    DBPOOL.getConnection(out myDBConnection);
    OracleConnection myOracleConnection;
    myDBConnection.getConnectionout(out myOracleConnection);
    OracleCommand dbCommand = new OracleCommand(ProcCall, myOracleConnection);
    dbCommand.CommandType = CommandType.StoredProcedure;
    //Nun die Parameter aus der Parameterliste füllen.
    for (int ParameterCounter = 0; ParameterCounter < Parameters.Count; ParameterCounter++)
    OracleParameter myParameter = new OracleParameter();
    myParameter.ParameterName = (String) ParameterNames[ParameterCounter];
    myParameter.OracleDbType = convertdotNetVariableTypesToDBVariableTypes((String) ParameterTypes[ParameterCounter]);
    myParameter.Direction = ParameterDirection.Input;
    myParameter.Value = Parameters[ParameterCounter];
    dbCommand.Parameters.Add(myParameter);
    OracleParameter returnParameter = new OracleParameter();
    returnParameter.ParameterName = "ref_ret";
    returnParameter.OracleDbType = OracleDbType.Int16;
    returnParameter.Direction = ParameterDirection.ReturnValue;
    dbCommand.Parameters.Add(returnParameter);
    dbCommand.ExecuteNonQuery();
    catch (Exception e)
    string MessageStr;
    MessageStr = "Error insertDataSet (DBConnection_ORA insertDataSet). " +
    Environment.NewLine +
    e.Message + "." +
    Environment.NewLine;
    MessageBox.Show(MessageStr, "Error in getArrayListfromProcedureNIP",
    MessageBoxButtons.OK, MessageBoxIcon.Exclamation);
    } //catch
    return ReturnValue;
    Edited by: danielwetzler on Dec 15, 2010 4:23 PM

    Hi,
    Can you give exactly the error generated by the application?
    You can try to reverse the invoking of the parameters. That means, try to invoke the returnValue parameter first and then the others ( IN Parameters ) in the same order that you declared them in your stored procedure.
    in PLSQL you have,
    Create or replace function ( parm1 IN varchar2, parm2 IN varchar2, parm3 OUT varchar2)
    In your application, you must write first:
    bla bla bla parm3.direction=parm3.returnvalue
    and then
    bla bla bla parm1.direction= parm1.input
    bla bla bla parm2.direction= parm2.input
    Hope this helps you
    Walid

  • Having problems passing more than one parameter with html:link tag

    Hi guys,
    for my web application I�m using Struts. I�ve got a database with user details. I would like to get users list and link to the details of each user. I wrote the code and everything is working fine only the users list is repeating as many times as users in the list.
    For ex: I have in the database User1, User2 and User3. I would like to have a result like:
    User1
    User2
    User3
    Instead of it I have the result like:
    User1
    User2
    User3
    User1
    User2
    User3
    User1
    User2
    User3
    What I�m doing wrong? Could somebody help me please?
    Thank you in advance
    There is a snippet of the code, which I�m using in jsp:
    <code>
    <logic:iterate id="root" name="user">               
                   <%
                        java.util.HashMap users = new java.util.HashMap();
                        params.put("user",root);
                        pageContext.setAttribute("usersName", users);
                   %>
                   <html:link name=" usersName " scope="page" page="/name.do">
                        <logic:iterate id="folder" name="user">
                             <bean:write name="folder" /><br>
                        </logic:iterate>
                   </html:link><br>
                   </logic:iterate>
    </code>

    Suggestion: next time you post code use the "CODE" button to put code tags around it. It formats much nicer that way :-)
    You have a nested loop structure here.
    <logic:iterate id="root" name="user">
      <%
        java.util.HashMap users = new java.util.HashMap();
        params.put("user",root);
        pageContext.setAttribute("usersName", users);
      %>
      <html:link name=" usersName " scope="page" page="/name.do">
        <logic:iterate id="folder" name="user">
          <bean:write name="folder" /><br>
        </logic:iterate>
      </html:link><br>
    </logic:iterate>Both loops iterate over your "user".
    Your first loop loops over each user.
    Then your second loop also loops over each user - hence you get number of users * number of users = 3 groups of 3.
    If you have 4 users, you would have 4 groups of 4.
    I only see you setting one parameter: "usersName" What other parameters do you need to pass?
    At a guess, the inner loop is unnecessary, and you want to write the users name as the text for the link, and also use it as a link parameter.
    <logic:iterate id="root" name="user">
      <%
        java.util.HashMap users = new java.util.HashMap();
        params.put("user",root);
        pageContext.setAttribute("usersName", users);
      %>
      <html:link name="usersName" scope="page" page="/name.do">
          <bean:write name="user" /><br>
      </html:link><br>
    </logic:iterate>

  • Pass more than one parameter

    Hi Friends,
    I want to pass 4 parameter from one iview to other with OBN in the Portal . Can you please give me the details step for that.
    Thanks,
    Satya

    My got my answer myself.

  • IDLE URL in 8941 doesn't accept more than one parameter

    Hello,
    I created a service that start on idle url.
    Example of the URL
    http://callmanager/service.php?a=11&b=22&c=33
    The problem is: in the 7941 phone model works, but in the 8941 phone model doesn't works.
    In the 8941 model the XML service can get only the first parameter a=11, and ignores the b=22 and c=33.
    In the 7941 model the XML service can get all parameters correctly.
    Someone knows about this problem?
    Thanks,
    T. Sakata

    hi,
    Check these Two Defects :
    IP Phone Freezes when pushing XML - CSCtt07888
    IP Phone Freezes with CiscoIPPhoneMenu - CSCtt37837
    Hope this helps!
    Thanks,
    Karthik

  • Having problems passing more than one parameter with html:li nk tag

    Hi guys,
    for my web application I�m using Struts. I�ve got a database with user details. I would like to get users list and link to the details of each user. I wrote the code and everything is working fine only the users list is repeating as many times as users in the list.
    For ex: I have in the database User1, User2 and User3. I would like to have a result like:
    User1
    User2
    User3
    Instead of it I have the result like:
    User1
    User2
    User3
    User1
    User2
    User3
    User1
    User2
    User3
    What I�m doing wrong? Could somebody help me please?
    Thank you in advance
    There is a snippet of the code, which I�m using in jsp:
    <logic:iterate id="root" name="user">               
                   <%
                        java.util.HashMap users = new java.util.HashMap();
                        params.put("user",root);
                        pageContext.setAttribute("usersName", users);
                   %>
                   <html:link  name=" usersName " scope="page"  page="/name.do">
                        <logic:iterate id="folder" name="user">
                             <bean:write name="folder" /><br>
                        </logic:iterate>
                   </html:link><br>
                   </logic:iterate>

    Why do u need the first iterator
    <logic:iterate id="root" name="user">
    remove that and see the result.
    Bye.

  • How can I pass more than one parameters in PDK-URL services?

    Hi all,
    How can I pass more than one parameters in PDK-URL service? All samples on Portal Center shows just one parameter passing.
    <inputParameter class="oracle.portal.provider.v1.URLPortletParameter">
    <name>csz</name>
    <isMandatory>false</isMandatory>
    <displayName>What location do you want a map for (City, State or Zip)?</displayName>
    </inputParameter>
    How can I write the privider.xml file for passing multiple parameters?

    I answer to my question. I've got the answer.
    I repeatly write down the <inputParameter> tags, and it works.

  • Pass more than one argument for action in the URL

    Hi,
    i've created a DesktopURL object with which i refere back to the Front Page. With the same URL i want to minimize two channels at the same time. I know that i can minimize one channel with the "action=minimize&provider=myProvider" attribute.
    Is there a way to pass more than one provider for an action ?
    Or exists another way to do that ?
    thx

    In fact, my code was completely right. I tried with commas and it hasn't work. When I tried again without commas it worked perfectly...
    Nevertheless, thanks for the advice!
    Gilmar

  • How to pass more than one value to the procedure

    How can I pass more than one letting date to this procedure. If it is only one letting date, I do not have a problem but when it is more than one letting date at the same time then I am stuck. please help
    example I would like to pass this three letting dates : '01/17/2010', '01/27/2010','05/22/2010'
    CEATE OR REPLACE PROCEDURE TPLCP.PLANHOLDERSLIST
    P_LettingDate IN  VARCHAR2,
    p_results OUT sys_refcursor
    AS
    BEGIN
        OPEN p_results FOR
    SELECT DISTINCT DECODE (TRIM (MIN (j.route)), NULL, 'N/A',TRIM (MIN (j.route))) rt,l.lcontid conid,
                     SUBSTR (q.cprojnum, 1, 10) pr, SUBSTR (l.letting, 3, 2)|| '-'|| SUBSTR (l.letting, 5, 2)|| '-'|| SUBSTR (l.letting, 1, 2) lt,
                    (q.cdescr) jbtyp, INITCAP (q.clocat1 || q.clocat2) loc
               FROM vendor v,
                    vendaddr r,
                    letprop l,
                    planhold p,
                    proposal q,
                    project j,
                    propproj k,
                    bidlet bd
              WHERE v.vendor = r.vendor
                AND k.contid = q.contid
                AND k.pcn = j.pcn
                AND l.lcontid = k.contid
                AND p.vendor = v.vendor
                AND l.letting = p.letting
                AND TO_CHAR (bd.datelet, 'MM/DD/YYYY') IN P_LettingDate
                AND l.CALL = p.CALL
                AND r.addrnum = p.billto
                AND bd.letting = l.letting
           GROUP BY v.vendor,
                    r.addrnum,
                    v.vnamel,
                    r.aaddr1,
                    p.billto,
                    r.acity,
                    r.astate,
                    q.cdescr,
                    q.clocat1,
                    q.clocat2,
                    bd.letting,
                    r.azipcode,
                    r.vasst1,
                    r.aphone,
                    l.letting,
                    l.lcontid,
                    q.cprojnum;
    END PLANHOLDERSLIST;

    you can create your on array type and then pass that as the parameter. I use the suffix of ttyp to represent a table type.  The name of the column when using the table() syntax is columnvalue.
    I altered my session to set the default date format to match your format. you could have used the to_date function to set the values for the arr type.
    Hope this helps.
    create type msw_ttyp as table of date
    create or replace
    procedure msw_test(p_arr     in msw_ttyp) as
    v     integer;
    begin
    select count(*)
       into v
       from table(p_arr);
    dbms_output.put_line('count: '||v);
    for rec in (select column_value
                   from table(p_arr))
    loop
      dbms_output.put_line(rec.column_value);
    end loop;
    end msw_test;
    alter session set nls_date_format = 'MM/DD/YYYY';
    set serveroutput on size 1000000
    exec msw_test(msw_ttyp('01/17/2010', '01/27/2010','05/22/2010'));
    begin
    msw_test(msw_ttyp(to_date('01/17/2010', 'MM/DD/YYYY'),
                       to_date('01/27/2010', 'MM/DD/YYYY'),
                       to_date('05/22/2010', 'MM/DD/YYYY')));
    end;
    /

  • XSL call URL not accepting more than one parameter

    Hi,
    I'm using PL/SQL to generate XML/HTML output. EVerything seemed to be going fine, until I started trying to pass more than one parameters in my URL when I call my XSL.
    Instead of displaying the HTML as defined in the XSL, it just displays the XML page in an XML format.
    Sample output is as follows:
    <?xml version="1.0" ?>
    <?xml-stylesheet type="text/xsl" href="DP_QUERY_SCHED_PKG3.stylesheet?pthrsh=20&pqsid=2635"?>
    - <ARRAY>
    - <ROW num="1">
    <ACCOUNT_DESC>Accommodation</ACCOUNT_DESC>
    <ACTUAL_PERIOD_CREDITS>0</ACTUAL_PERIOD_CREDITS>
    <ACTUAL_PERIOD_DEBITS>533307.94</ACTUAL_PERIOD_DEBITS>
    <PTD_ACTUAL_NET_ACTIVITY>533307.94</PTD_ACTUAL_NET_ACTIVITY>
    </ROW>
    - <ROW num="2">
    <ACCOUNT_DESC>Accum. Depr. Vehicles</ACCOUNT_DESC>
    <ACTUAL_PERIOD_CREDITS>0</ACTUAL_PERIOD_CREDITS>
    <ACTUAL_PERIOD_DEBITS>0</ACTUAL_PERIOD_DEBITS>
    <PTD_ACTUAL_NET_ACTIVITY>0</PTD_ACTUAL_NET_ACTIVITY>
    </ROW>
    </ARRAY>

    It is work fine for me, but I am using DB Prism on IAS. DB Prism is a servlet engine which works as PLSQL cartridge of OAS.
    Check in this url for a demo online of an xml page generated in plsql with two stylesheet generated in the db too. http://cocodrilo.exa.unicen.edu.ar:7777/servlets/xml/demo.xmlcomplex?producer=db
    You could fine the source of the demo at: http://cocodrilo.exa.unicen.edu.ar:7777/servlets/plsql/demo.startup
    Look for "XML Complex generation" demo.
    It has 3 stored procedures in plsql demo.complex, demo.news(a,b) demo.news_text.
    Best Regards, Marcelo.
    PD: If you need more information about DB Prism and XML capabilities with Apache Cocoon look at: http://www.plenix.com/dbprism/
    null

  • Can I use the same email address in more than one community? How?

    Can I use the same email address in more than one community? How?

    Yes, you can be a member of multiple communities under the same email address. You will need to be invited to those communities. If you are trying to create new communities under the same address, you will not be able to do that through our website.

  • Can i use the same payment info on more than one iphone?

    Can i use the same payment info on more than one iphone?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact
    Accepted forms of payment  >  http://support.apple.com/kb/HT5552

Maybe you are looking for

  • ICal hiding events in "Month" view

    Hello. My iCal hides some events in the "Month" view, but shows them in the "Day" and in the "Week" view (it is actually hiding the events from the week of October 16th to October 22nd of 2011) What can i do? Thanks!

  • How to add new segment to IDOC in BADI CRMXIF_ORDER_R3_MAP

    Hi All, I am creating a DMR in ECC when a service order is created in CRM. I am using Basic Type ORDERS05. This Basic Type does not have the segment E1CUCFG populated when it comes to the BADI. I want to populate this segment and attach to my IDOC. H

  • Photos from computer have lines running through them on iphone???

    I have had no trouble getting my photos of my cute little baby girl from my computer to my iphone. However it is useless b/c there are weird lines running through all the photos making it impossible to view the photos. I thought this would be a great

  • Oracle support for opensource platforms

    hello will Oracle support DB server installations on eg. OpenSolaris or Centos? if I'd like to buy an oracle license.

  • Problem loading external urls [please..]

    hello guys, i am usin this code to run some file and make queries: ActionScript Code: var req:URLRequest = new URLRequest("http://site.com/z.php?id=" + user_id + "&mana=" + (Round - 1)); var loader:URLLoader = new URLLoader(); loader.load(req); when