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

Similar Messages

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

  • Passing parameter from Iview to SAP WD ABAP application

    Hi All,
    Can we pass single / multiple parameter(s) from the Iview to the Webdynpro Component ? I mean we are calling a WD Component by executing its application from the Iview. In that process, is there a way we can send some parameters to the WD component from the Iview ?  If yes, please let me know how.
    Thanks and Regards,
    Sayan Ghosh

    Hi Sayan,
    It is possible to pass parameters from portal Iview to WD component. For that there is one property of Iview called
    Application Parameters
    You can pass value like this:
    parameter1=value1 &parameter2=value2
    Regards,
    Vikrant Trivedi

  • Pass parameter from dynamic page to form

    I have a report that uses a link to pass a parameter (projno) to a dynamic page. This dynamic page calls a procedure which, using the projno, pulls information from four tables. Depending on who the user is and what phase the project is in, each heading can be a link to a form so that the proper user can update the project. For instance, the projetc manager can update the progress table during phases 2-9. So I want the Progress Heading to be a link to a form so that the project manager can update the progress for a specific project number. I tried to put the link in the procedure like this:
    if iPhase in (2,3,4,5,6,7,8,9) then
              htp.p('<TD><a           href="/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=6803259033&p_arg_names=projno&p_arg_values='||projno||'&p_arg_names=_projno_cond&p_arg_values=%3D&p_arg_names=_sessionid&p_arg_values=" target="_blank"><FONT FACE="VERDANA" SIZE="2">Progress</FONT></a></TD><TD width="10"></TD>');
         else
              htp.p('<TD><FONT FACE="VERDANA" SIZE="2">Progress</FONT></TD><TD width="10"></TD>');
         end if;
    But it brings up a blank form... no parameters are passed. Help!?

    when I use :projno I get a "bad bind variable" error. But really, I don't think that's the problem. Using the code in my last message, I can mouseover the link and see the correct information:
    http://spring.ous.edu:7778/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=6803259033&p_arg_names=projno&p_arg_values=14&p_arg_names=_projno_cond&p_arg_values=%3D&p_arg_names=_sessionid&p_arg_values=
    When I actually click on the link however, this is the URL now displayed in the address field:
    http://spring.ous.edu:7778/pls/portal/PORTAL.wwa_app_module.show?p_sessionid=2592
    It strips the url of the projno information.

  • Passing Parameter from Dashboard to WebI

    Hi All,
              I need to pass the value that I select from the dashboard to a WebI document.
    I have the code below which is not working. 
    openAnalytic.jsp?DocumentName=Test&RepositoryType=C&DocumentId=9413&DocumentExt=wid&nbPrompts=1&sWindow=New&mode=ful&sRefresh=Y&lsSYear="+[Year]+"
    Now in the above code when i remove
    ="+[Year]+"
    from the last and put the year as
    2001,2002 or any..It use to give me the result.It opens up the reprot with the year showing 2001 or 2002 etc.
    Please help me in the code to pass the value that i select in the graph of a dashboard.
    I am Using BOXI R2
    Regards
    Prashant

    Prashant,
    If you are going to a WebI document, I think you should be using the OpenDocument feature.  Are you familiar with OpenDocument?  If not, it is described in be_xi_r2_opendocument.pdf
    Thanks,
    John

  • How to pass parameter from SSO login page to ADF application page?

    We have ADF-JSF application (running on AS 1013) that is being protected by OID running on AS 1012. SSO login page contains (among others) paramter ssousername and I wish to pass this to my ADF application. For the testing purpose I created ADF application entry point page that has something like this:
    <h:outputText value="#{param.ssousername}"/>and my sso login page has:
    <input type="text" size="30" maxlength="50" name="ssousername" value="<%=str_user%>">OID and ADF OC4j are running on two different servers, same network.
    So after successful login, when my page displays param passed is NULL?!
    Why?

    I solved it with the following....when my page loads, I execute test method:
        public void processLogin(String ssousername) {
             Object o  = JSFUtils.getUserFromSSOLogin();
             if (o!=null) System.out.println(o.toString());
        public static Object getUserFromSSOLogin(){
            FacesContext ctx = FacesContext.getCurrentInstance();
            return ctx.getExternalContext().getRemoteUser();
        }

  • Stop poodle vulnerability in oracle application server

    Hello guys.
    Our Enterprise is using Oracle Application Server in front of oracle database. we using oracle wallet manager(Installed with Oracle client 10) to create self sign certificates. as you may know wallet manager in v 10 has some limitation in key size or ... (i don't know exactly the limitation and i hope you could help me on it ).
    when we want to issue a certificate at first we create a certificate request with wallet manager and then issue based on certificate in windows server CA.
    now i have some question:
    1- what are the limitation of using wallet manager in V10 to issue the self sign certificate?
    2- is there another way to create self sign certificate without wallet manager V10?(when i try the newest versions oracle application failed to open a certificate)
    3- and my most important question:
    can i stop poodle attack in oracle application? (i red somewhere that poodle attack doesn't apply in TLSV1. so i guess its better to ask my question this way:
    does oracle application server support the TLSV1? )
    i really appreciate any sort of help.
    thank you.

    Hi Muhammad,
    What do you mean with BI?. do you forms & rep servers or discoverer.
    Anyhow you can download BI separately the contents of BI is as following:
    Oracle Business Intelligence Discoverer
    Oracle HTTP Server
    Oracle Application Server Containers for J2EE (OC4J)
    Oracle Enterprise Manager 10g Application Server Control
    Oracle Application Server Web Cache
    Oracle Application Server Reports Services
    Also you can download Forms & report servers separately.
    Regards,
    Hamdy

  • Oracle Application Server 10g Cloning

    Hi All,
    Could anyone please advice on How we can create a cloned copy of 10g AS(including infra DB) for DR purpose.Any document or guideline will be highly appreciated.
    Regards,

    Hi,
    </p>
    Please correct me if I am wrong, but I think cloning is fine to copy or clone a middle-tier instance. But for a copy of infrastructure DB one needs to use the chapter next to the referred one.
    </p>
    11 Staging a Test Environment from a Production Environment</p>
    Oracle® Application Server Administrator's Guide <br>
    10g Release 2 (10.1.2) <br>
    B13995-06 <br>
    </p>
    The term cloning is commonly used for copying the systems but in Oracle AS, it is for copying the middle-tier instances only. That difference is often misleading.
    </p>
    hope that helps. <br>
    syed

  • ORACLE APPLICATION SERVER 10G R2...64BIT??

    From where can i download ORACLE APPLICATION SERVER 10G R2...64BIT for Windows 2003 Server

    Hi,
    Please see these links.
    Oracle Application Server 10g Release 2 (10.1.2.0.2)
    http://www.oracle.com/technetwork/middleware/ias/downloads/101202-095224.html
    Oracle e-Delivery website
    http://edelivery.oracle.com/
    Thanks,
    Hussein

  • Pass data parameter from URL to Forms

    Hi
    Is it possible to pass a data parameter from asp to Forms?.
    In my asp I have a url to call a form (eg. http://servername:port/forms90/f90servlet/form=testform.fmx). In my testform.fmx I accept 'account no' as a parameter for querying the records. Since I am calling this form from asp, I already have the account no in my asp. I would like to pass this account no to the form automatically.
    Is it possible to pass this data parameter from url to forms?.
    If possible, what changes to be made in the form. Please help.
    sreekumar

    Create a parameter in your form, there's a node for it in the Navigator window. Imagine it is called myParam.
    Pass it on the URL like this:
    http://host/forms90/f90servlet?config=myApp&otherParams=myParam=somevalue
    Regards,
    Robin Zimmermann
    Forms Product Management

  • UPDATE: Pass Parameter from Form to Form While on Seperate Pages

    I'm running 9iASR2 on Linux
    My issues is that In need to Take a Parameter entered on Form1 one a page then upon click of insert I need to pass a parameter entered into that form and naviagate to another page containing 2 portlets 1 being another form and 1 being a dynamic page both of the portlets on the second page need to beable to access the parameter.
    Since my last post I updated the PL/SQL code to better fit the situation and now have a different problem.
    Ok.. So I'm still attempting to do the same thing a about. Here what I tried and the outcome.
    1. I put following code in the succeful submission pl/sql procedure of the first form(the calling form).
    What a suspected the follow code to do was navigate to the page containing my other from in a portlet. Which it did. Cool!
    declare
    url varchar2(220);
    v_FLOWNAME varchar2(220);
    begin
    v_FLOWNAME := p_session.get_value_as_VARCHAR2(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_FLOWNAME');
    url:='http://ebalpha3.us.oracle.com:7778/portal/page?_pageid=36,31629&_dad=flowmanager&_schema=PORTALSCHEMA&a.FLOWNAME='||v_FLOWNAME;
    call(url);
    end;
    2. It passed the follow URL http://ebalpha3.us.oracle.com:7778/portal/page?_pageid=36,31629&_dad=flowmanager&_schema=PORTALSCHEMA&a.FLOWNAME=MyFLow
    3. In the accepting form I input the following code in the before displaying the page section of the the form.
    declare
    FLOWNAME varchar2(200);
    begin
    FLOWNAME := portalschema.wwpro_api_parameters.get_value('FLOWNAME','a');
    p_session.set_value(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_FLOWNAME',
    p_value => FLOWNAME);
    end;
    What I expected it to do is take the a.FLOWNAME from the url and input it into the FLOWNAME variable, but the FLOWNAME variable came across as blank and the FLOWNAME text area came accross as blank because the FLOWNAME parameter was never pulled.
    What do you think?
    Thanks for you help!

    I have a similar problem where I have a portlet X which accepts parameters using the <passAllUrlParams>true</passAllUrlParams> tag in the provider.xml and it works if portlet X is directly on page A. However, because I need to wrap portal security around this portlet declaratively, I will need to apply security on this page A and then publish page A as a page portlet Z, then drop page portlet Z on another page, page B. (I hope you all been through this before to apply security around a portlet). By doing this - the parameters are no longer being passed into portlet X anymore.
    To get around this - I will need to define page parameters for page A and map them to portlet X via the "Parameters" tab in edit mode and then define the same set of page parameters on page B and map them to the page portlet Z just to get the parameter passing working and flowing through to portlet X.
    Is there anyway around this?
    Do we always need to define page portlets in 10.1.4?
    What does the <passAllUrlParams>true</passAllUrlParams> tag do in 10.1.4?
    In 10.1.2 - the <passAllUrlParams>true</passAllUrlParams> tag was all you need to pass any number and type of parameters from a page B->page-portlet Z->portlet X
    This feature seems to be missing in 10.1.4.
    Please respond.
    Thanks
    Stanley

  • 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

  • Search Results web part - Custom Query using "Value with a parameter from URL" inconsistent

    I have encountered what I think may be a bug, but I am hoping that there is something that I am missing.
    Within my search site, I have created a new search results page where I want to customize the "Search Results" web part query.  I can add in any number of property and keyword filters (using the "Build Your Query" dialog) without
    issue... until I add a filter that uses the QueryString property (the builder dialog calls this "Value with a parameter from URL").
    If I use {QueryString.MyParameterX} for filtering, it works beautifully in the query builder dialog.  I see the expected results in the search results preview pane, but as soon as I apply the changes things become inconsistent. 
    If I close/reopen my browser and navigate to my page at http://myaddress/search/Pages/testresults.aspx?MyParameterX=test I see results.  If I then refresh the page, I get a "Nothing here matches your search" message.  I can then go to
    the same address but change one character to an uppercase character and get results.  Refreshing that same page again returns "Nothing here matches your search".  I can only get search results one time per uniquely cased URL without having
    to close/reopen my browser.  This behavior was seen on both Firefox and IE.
    Finally, I found that if I instead navigate to http://myaddress/search/testresults?MyParameterX=test, it always returns results.  This, unfortunately isn't the best solution for me... but it is a solution.
    Any insight that anyone can provide is greatly appreciated!  I would really like to be able to depend on this working in all logical cases (especially since the search center of other sites is set using the path all the way down to /Pages).
    Thanks!

    Hi, have you been able to solve this issue? I'm getting the same issue and I cant solve it (required CU is installed).
    Fabio

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

  • How can I pass parameter from report to form?

    Hi :)
    Now I try to build conference room like this by using form
    and report. And i design that when users click at group report
    then i'll show page that contain questions report and add
    question form. And question form and report must receive the
    same parameter from group report.
    First Problem: is I don't know how group report send the
    same parameter to question report and add question report at the
    same time. And is it possible??? If not please suggest me what
    should I do???
    Second Problem: is I don't know how can I pass parameter from
    report to form. I don't know the way to do it.
    Please tell me!!! Please...
    I look forward to hearing from all of you.
    Thank You.

    One way is to create a link based on that form and attach that
    link with the report. Through links you can pass parameters

Maybe you are looking for

  • L key doesnt work

    yo what up yaLL got a new bLack macbook for the hoLidays and the Lowercase L key doesnt work onLy the upper case L works i wanted to post on here to see if it was just me being an idiot and i can fix it or i need to take it to get serviced. any heLp

  • Can't Add TV Shows to iPod Classic

    Recently, I downloaded from the iTunes store a couple TV shows. One was a King & Maxwell episode titled "Wild Card" that I missed a few weeks ago on TNT. The other was the pilot episode of Sleepy Hallow that aired on FOX this past monday. While attem

  • Hard reset & tapping the center of the target

    My first problem is I can't find my instructions for my Tungsten E2, so please excuse my inability to use the appropriate words to describe functions, etc. My current problem is that the screen isn't reading my taps from my stylus.  I have tried to r

  • Order of elements in Hashtable

    My code: Hashtable tabCtrl = new Hashtable(); tabCtrl.put("jTextField01", jTextField01); tabCtrl.put("jTextField02", jTextField02); tabCtrl.put("jTextField03", jTextField03); tabCtrl.put("jTextField04", jTextField04); tabCtrl.put("jTextField05", jTex

  • NLS support in JPDK

    Hello world ! I've written some portlets in jsp and OC4J (iAS R2). When i try load jsp throught oc4j server i see russian, but when i load the same portlet (i.e. some jsp) in portal environment i see ???????. What is my problem ? tnx