Passing parameter in URL (forms 10g)

Hi,
I'm using forms 10g (904) and I need to pass in a paramter when the form starts. I have created a parameter and it works when I debug.
But when I run it on Oracle Application Server, how do I pass the parameter in the URL? I have tried &parameter_name=parameter_value, but it does not seem to work.
Thanks.
WJ

Hi everyone,
When I tried the prior suggestion that parameter was not actually passed into the URL. Instead it is passed into the set of named parameters defined in the generated <Object> tag for the forms applet.
That is useful to know but what I want to do is permit the forms applet to access name-value pairs in the actual forms URL.
Does anybody know how this is done?
Also if anybody knows how to permit the forms applet to access client side environment variables (or even registry keys) without resorting to using java I would be grateful for the advice.
Basically it seems to there are several ways to access such values server side but I cannot find any way to access those values client side.
The task I have in mind is to load some properties which are configured on the clients' machine and which differ from client to client.
Thanks everybody,
Chris

Similar Messages

  • Passing parameter through url to report

    Hi
    I'm sorry if this question already exist anywhere in forum i didnt found it.
    so my question is:
    CAN I PASS PARAMETER VIA URL TO REPORT USING WEBFORM
    i don have RAS(Because in beta version of 2008 is this not included)
    I tried
    http://localhost/CRWEB/Default.aspx?param0="value" ->here i'm prompt for value instead of showing report with set value
    and
    http://localhost/CRWEB/DocumentDoc.rpt?param0=krneki&init=html_page -> here i prompt to save rpt file
    so But both doesnt work!
    OR it is necessery to have RAS to pass parameters through url
    thanks for quick answer

    URL reporting and RAS are not available with CR2008. To view reports over the web you will need to use the Crsytal Reports for .NET runtime engine inside a .NET app. This engine is licensed with CR 2008.
    Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/robhorne</a>

  • Passing Parameter from URL to Web Forms - Oracle 10 Application Server

    Hi All -
    I want to pass parameter from a URL to 10g Oracle Web Forms - Oracle Application Server 10.1.2
    http://server1/forms/frmservlet?config=SATWEB_SSO&otherparams=username_sso=BABUS
    How to receive this 'username_sso' value inside my forms application ?
    Created a Parameter in the same name as URL parameter 'username_sso' in forms but didn't receive the value. I want to know how to receive the value of this parameter within forms from URL.
    Thanks - Suresh

    Try this,
    1. Create a parameter in the formsweb.cfg (say username_sso) under default section ( or you can create it in your own config section)
    2. Add the username_sso in otherparams parameter as username_sso=%username_sso%
    3. Add this username_sso parameter in your form.
    4. Run the form as
    http://<machine>:<port>.....?form=blahblah....&otherparams=username_sso=scott
    Regards,
    Arun

  • Passing parameter from url to procedure

    i used to pass parameters from url to procedure like
    host:port/dads/schema.procedure(para_1, para_2, ...)
    for example
    http://localhost:7777/pls/login('UK',1,0)
    they have been working perfectly before, when i had 8i and webdb.
    but now i'm running 10g, and browser returns error page 400 when i click the above links.
    i know i can do
    host:port/dads/schema.procedure?para_1=value1&para2=value2...
    for example
    http://localhost:7777/pls/login?language=UK&section=1&timezone=0
    and this is what have been suggested in documentation of 9i and 10g
    however i have quite a few webpages written in the former syntax and they used to work with 8i and 9i.
    i don't want to change all the links in web pages, i prefer to stick with old style.
    any one has any idea? is there a switch i should take care of? i checked apache conf files (httpd, mod_plsql, dads) but didn't get it.
    ps for 10g companion, i installed http server (apache) only, no html db.
    another question is
    with brackets() in url, strings are to be quoted by ' ', but with question mark (?), single quote ' ' must not be used, is that what it has to be?
    Thanks a lot

    anyone have been using this?
    http://host:port/dads/schema.procedure(para1,para2,..)

  • Unable to pass parameter to EBS Form from external system (OBIEE)

    I set up the OBIEE to EBS Navigation as per a metalink note to the form PA_PAXTRAPE_SINGLE_PROJECT. I tried to pass a PROJECT_ID parameter. The form opens up but I do not see any indication of the parameter being passed through.
    In general, when you pass a parameter to a EBS form from an external system, is it suppose to open the FORM with that specific value? In this case should it open up the Project for the PROJECT_NUMBER that I passed through?
    Any way for me to diagnose the issue?

    Hi,
    Rather than giving the name of the Block and Field name there create a parameter in the form itself and pass value to that parameter. You can use this values using :PARAMETER.<field_name>.
    Regards,
    Viral

  • Can't pass parameter from HTML form of multipart/form-dta type to JSP

    I am using request.getParameter(passed variable name) to pass data from HTML form to JSP with no problem. WHen I try to pass data from HTML form of multipart/form-dta type to JSP as following:
    < form enctype="multipart/form-data" name="theForm" method="post" ACTION="http://titan.ssd.loral.com:7778/ifs/jsp-bin/ifs-cts/stringsecond.jsp">
    The passed value is null. Why?
    How can I pass data successfully from this form to JSP?
    How can I pass data from JavaScript to JSP?
    Thank you

    I am using request.getParameter(passed variable name)
    to pass data from HTML form to JSP with no problem.
    WHen I try to pass data from HTML form of
    multipart/form-dta type to JSP as following:
    < form enctype="multipart/form-data" name="theForm"
    method="post"
    ACTION="http://titan.ssd.loral.com:7778/ifs/jsp-bin/if
    -cts/stringsecond.jsp">
    The passed value is null. Why?because the jsp most likely does not handling of POST parameters like this.
    How can I pass data successfully from this form to
    JSP?jsp's are not meant to read such amounts of data. this (= uploading) is a typical task for a specialized servlet. there you have full control over input and output. if you need to, you can still forward to a jsp after processing in the servlet.
    How can I pass data from JavaScript to JSP???? i'm not sure what exactly you mean. normally you put it into an url and submit it.
    robert

  • How to pass parameter through URL to bounded task flow with page fragment

    I want to pass parameter to Bounded Task Flow With Page Fragment trough URL
    as I start this taks flow with router and according to this Param I will rout the user.
    I added input param to taks flow named direction and make the task flow called URL invoke url-invoke-allowed
      <input-parameter-definition id="__41">
          <name id="__42">direction</name>
          <value>#{pageFlowScope.direction}</value>
          <class>java.lang.String</class>
        </input-parameter-definition>but I don't know how to add this to the JSPX that I will add the bounded task flow Inside.
    and How to pass this from URL

    Hi,
    url-invoke-allowed is only required if the task flow itself is directly accessible from a browser (which is not the case at all if the task flow uses page fragments). To pass input parameters to a task flow that is embedded in a region and that has input parameters, you define the input parameters on the taskFlow Id that is created in the PageDef file of the containing page. To learn ADF task flows, have a look at the videos below. They also contain a sample for passing parameters to a region
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/taskflow-overview-p1/taskflow-overview-p1.html
    http://download.oracle.com/otn_hosted_doc/jdeveloper/11gdemos/taskflow-overview-p2/taskflow-overview-p2.html
    Frank

  • Passing parameter to Called form through Web.Show_document.

    i am calling a form say 'form2.fmx' from 'form1.fmx' using web.show_document. the parameter is concatenated with the URL string properly but this parameter is not accessible in the called form.
    Please Help
    thanks

    i am running forms Of 10G developer suit. i want to call and pass a parameter
    'emp_no'(employee no) to a form say 'form2.fmx' from the form say 'form1.fmx' on button
    click. so i have created a parameter named "emp_no" in the object navigator of "form2.fmx".
    in form1.fmx, i am using web.show_document(URL) function as given below.
    web.show_document('http://111.111.111.11:8889/forms90/f90servlet?form=form2.fmx&emp_no=7156&userid=scott/tiger@mysid','_blank');
    This function successfully call the "form2.fmx" but in this form the value of parameter
    "emp_no" is null even when i have passed it in the URL (as shown in the above code line)
    i.e; the value of emp_no is null.
    Note :
    7156 is the value of emp_no parameter.
    111.111.111.11 is the supposed ip address. etc.

  • Pass parameter in URL?

    Hi Guys, there used to be a forum or KB article about how to pass a url parameter from one page to another to populate a form field on the second page.  I cant seem to find this on the new forums, can anyone point me in the right directions?
    Cheers
    Malcolm

    All you need to do is add ?youparam=value at the end of you url of the page your sending through, or append to an action on a form.
    IF there is more then one parameter you separated these with &amp; ...
    /pagefile?yourparam=value&amp;another=value2
    Renders - /pagefile?yourparam=valueanother=value2
    This is with page with no file extension which you can do in BC.
    To fetch the value in another page you use {module_url,yourparam} so an input value would be value="{module_url,yourparam}"

  • ATrouble in passing parameter to PO Form from a Custom OAF Page

    Hi All,
    I have created a custom OAF page from where I am calling the standard purchase order screen, the URL which i am using is as below;
    form:Respapplshortname:Respkey:STANDARD:PO_POXPOEPO:po_header_id={@PoHeaderId}
    I have done the below Form Personalization for the same
    Create a when-new-form-instance personalization and create following actions
    1)
    Type: Builtin
    Builtin Type: DO_KEY
    Argument: ENTER_QUERY
    Create a WHEN NEW ITEM INSTANCE personalisation and create the following actions
    1)
    Type: Builtin
    Builtin Type: GO_ITEM
    Argument: PO_HEADERS.SEGMENT1
    2)
    Type: Property
    Object Type: Item
    Target Object: PO_HEADERS.SEGMENT1
    Property Name: VALUE
    Value :==:'PO_HEADER_ID'
    3)
    Type: Builtin
    Builtin Type: DO_KEY
    Argument: EXECUTE_QUERY
    Here in the below mentioned step
    Type: Property
    Object Type: Item
    Target Object: PO_HEADERS.SEGMENT1
    Property Name: VALUE
    Value =:253253
    If I hard code the value 253253(which is the header_id for PO_NUMBER 10031791) in the field 'value' then the PO_NUMBER form works as expected(PO Form opens up in queried mode and all the data of the PO_NUMBER is pre-populated)
    My query here is how do I pass a parameter from OAF page to PO_NUMBER form so that we are able to pass the value dynamically instead of hard coding the value(253253 as mentioned above).
    Please revert back as soon as possible in case anyone has inputs or better ways of achieving the above problem statement

    Did you ever figure out how to resolve this issue. We are facing the same issue and developer is not able to figure out.
    Thanks.

  • How to pass parameter from one form to another

    Hi,
    I have created a form based on a procedure . Now i want to pass a filed value from this form to another form . How can i do this.
    How can i pass a vlue from one form to another form in oracle portal.
    Thanks

    At last - I've managed to get this to work! Is this documented anywhere at all - I just guessed it based on other people's code!
    OK, to prove the example here is what I did:
    I have a form referencing the DEPT table.
    I created a item called 'Search' and of type button.
    I created a 'custom' PL/SQL block and added the following code:
    declare
    v_deptno NUMBER;
    begin
    v_deptno := p_session.get_value_as_NUMBER(
    p_block_name=> 'DEFAULT',
    p_attribute_name => 'A_DEPTNO');
    PORTAL30.wwa_app_module.set_target('http://server/pls/portal30/app_schema_name.EXAMPLE_SQL_REPORT.show?p_arg_names=_show_header&p_arg_values=YES&p_arg_names=_max_rows&p_arg_values= 25&p_arg_names=_portal_max_rows&p_arg_values=25&p_arg_names=DEPTNO&p_arg_values='&#0124; &#0124;LTRIM(TO_CHAR(v_deptno)),'CALL');
    end;
    Note: you need to reference the column with an 'A_' prefixing the columm name.
    I left the name 'DEFAULT' as it is.
    OK so I set this to a variable and now want to call a Report called EXAMPLE_SQL_REPORT which was created with the following code:
    select * from scott.emp where deptno = :deptno;
    The bind variable being the custom parameter for the report.
    I called the new report with the PORTAL30.wwa_app_module.set_target procedure and put in the full URL path (in this example) of the server and report.
    I hope this helps!
    John
    null

  • Passing Parameter to a form

    I am trying to create a link from my report to a form, this form is based on a procedure that brings up a detailed report. I tried to create a link from the wizard that would pass the parameter from the report to the form. My problem is that the link that is created won't pass the value from the report to the form/procedure. Is anyone developing an application in this way.
    Vivek

    hi,
    u can do this by using sessions;
    make a search in this forum with the key word: V_session;
    or take a look to this site: http://www.arrowsent.com/oratip/frames.htm
    hope this help;
    Mohamed

  • Pass Parameter to LOV-FORM

    How do i pass 1 or more parameters from a FORM to a LOV-FORM ?
    The purpose is to restrict the query in the LOV-FORM with values(*) from the calling FORM.
    (*)( values = 1 or more items )
    The LOV-FORM is called from an item with template/library = 'QMSSO$LOV_FORM_ITEM' !

    Paulo,
    The code to call the LOV Form is generated automatically by Designer. It generates the following line of code in the KEY-LISTVAL trigger of the item in question.
    call_form('module',NO_HIDE,NO_REPLACE,QUERY_ONLY);
    You could try adding application logic to override this code. (See Designer online help for how to do this.)
    Regards,
    Lauri

  • OAF : Passing parameter in URL the DestinationURL property

    Hi Frds,
    I am new to OAF.....
    Any one could explain , How to pass the parameters in destinationURL property ?
    Thanks in Adv

    Hi Friend,
    Sample Destination URL:
    OA.jsp?page=/XXCUST/oracle/apps/ap/advreq/webui/xxPagePG&UserDefinedName={@ViewAttribute}
    Regards,
    Antonyraj.M

  • Master-detail relationship - passing parameter from form to form

    Hello.
    I have a question about master detail relationship.
    In first form we have master-detail relationship.
    Example on dept, emp tables:
    We query dept (master), so we can get one or many emp (detail) records. Then we have a third table - tasks. Tasks table (detail) can have many records for one employee.
    Tasks table is in another form, which is called with call_form built_in. So we pass a parameter from master to detail - parameter empno. Because of that, we can only see tasks for one employee and can't navigate to another employee. This is normal.
    Now comes the question.
    Is it possible to call a form (with tasks table) with deptno parameter (so we can navigate through all employees with that department), but first show employee that was last used in first form?
    Example of our goal.
    Master: deptno = 20
    Detail: navigate to JONES employee
    Call new form (tasks)
    Tasks for JONES employee are first shown
    Can navigate to another employee - without requery
    Is this possible?
    If we pass deptno parameter, we can navigate through all employees - but must navigate to the employee we last used in first form.
    If we pass empno parameter to second form, we see last used employee but cannot navigate to another employee without requery.
    Hope you understand my problem.
    Thanks.

    Hi
    yes you can pass parameter from one form to another.
    In your master detail form set the trigger when-new-instance and there define the global variable like
    :GLOBAL.G_CIRCLE_ID := NULL;
    and in your task table set the trigger when-new-instance and there define the global variable like and also write this code
    :GLOBAL.G_DIVISION_ID := NULL;
    IF :GLOBAL.G_CIRCLE_ID IS NOT NULL THEN
         GO_BLOCK('DIVISION');
         SET_BLOCK_PROPERTY('DIVISION',DEFAULT_WHERE,'CIRCLE_ID ='||''''||:GLOBAL.G_CIRCLE_ID||'''');
         EXECUTE_QUERY;
    END IF;
    :GLOBAL.G_CIRCLE_ID := NULL;
    now you maintain your trigger according your need.
    Regards,

Maybe you are looking for

  • Sending a PDF document to printer directly

    Hi, can any one help me in printing a PDF file stored in the system to be sent to printer from abap code. thanks in advance.

  • Problems Installing Oracle 10g in Red Hat enterprise 5.3

    I am trying to install Oracle 10g in Linux RH 5.3 the I get the following error Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2009-05-07_11-08-08AM/jre/1.4.2/lib/i386/ libawt.so: libXp.so.6: cannot open shared object file:

  • Why does my computer not recognize my iphone?

    My MacBook Pro is not recognizing my iPhone 4. The iPhone is making the beeping sound as it is plugged in, but iTunes does not show it on the left side panel and it is not showing up on the desktop. I have tried using a different cord (the one to ano

  • Scripting in Forms Central

    I have just purchased Forms Central and would like to know if it is possible to script queries of the form data that has been uploaded to forms central?

  • Can't get duplicate images to "rename"?

    I'm copying all of my images from my camera SD cards to an external disk with my Mac.  On certain occasions, when there are duplicate images, it will correctly ask me if I want to "rename" the files before it copies them to the external drives.  On o