Pass parameter to form from webpage?

Hi guys,
I'm aware that you are able to pass parameters between forms using CALL_FORM (using parameter list).
Is it possible to pass parameters to a form from the webpage?

i am trying to pass the parent_id as a parameter to a portal page but am not able to... i can add it to the list of in parameters to the PL/SQL based parent id but when i add the parent id to the url then i get no result... i created a custom attribute for the parent id since there is no attribute build other then page group and page id... when I set the Parent ID attributes default value in the attribute properties of the item type based on PL/SQL it just brings back results for the default value and if i pass a different value for ithe parent id i dont get the correct result I get the result for the default parent id.
I am using the followin url to pass the parent id
http://localhost:7778/portal/page?_pageid=76,87832&_dad=portal&_schema=PORTAL&parentid=22223

Similar Messages

  • How to pass parameter /1BCDWB/DOCPARAMS from webdynpro?

    Hi Experts,
    We create a wdp view and indert an adobe form into it. And this form has an interface based on XML schema.
    Now we want to translate this form into multi-language, and in wdp side, we will display diffenent language version of form for different regions.
    I found that there is a paramater /1BCDWB/DOCPARAMS-LANGU, and it seems can control the language version in processing.
    But I donot know how to pass parameter /1BCDWB/DOCPARAMS from wdp to adobe form.
    Its my 1st to use adobe form and wdp, i really have no way out. Any advice will be Appreciated.
    Thank you.
    Richard

    @sahai: Hey no , I am using very very simple example without any query or complex statement. I just have 2 radio buttons in VIEW1. On clicking the radio button, the naviagtion to view2 is done and the value of selected radio button is passed as a parameter in the plug.
    In the view2 , i just have a caption in my layout where i am displaying the parameter value by setting the attribute.THe warning i get is in view2. Here is the code. Apart from this there is no coding in view2.
    METHOD HANDLEPLUG_IN_V2 .
        DATA:
          NODE_CAPT_MSG                       TYPE REF TO IF_WD_CONTEXT_NODE,
          ELEM_CAPT_MSG                       TYPE REF TO IF_WD_CONTEXT_ELEMENT,
          STRU_CAPT_MSG                       TYPE IF_VIEW2=>ELEMENT_CAPT_MSG ,
          ITEM_MSG                            LIKE STRU_CAPT_MSG-MSG.
    *   navigate from <CONTEXT> to <CAPT_MSG> via lead selection
        NODE_CAPT_MSG = WD_CONTEXT->GET_CHILD_NODE( NAME = `CAPT_MSG` ).
    *   get single attribute
        NODE_CAPT_MSG->SET_ATTRIBUTE(
          EXPORTING
            NAME =  `MSG`
            VALUE = PAR_1 ).
    ENDMETHOD.

  • How to Pass Parameter a form to another form ?

    Hi,
    I want to pass Parameter a form to another called form.
    What are the steps i want to do.
    Please guide me
    kanish
    Edited by: Kanish on Jul 21, 2010 11:38 PM

    Besides the two options FormsEleven gave, there's a third one: package variables.
    Create a package in a Forms library, define a variable in the package specification.
    Start the form with call_form/open_form with the option "SHARE_LIBRARY_DATA".

  • Problem while passing parameter between forms

    Hi,
    I am tring to call a form from another form using the code
    fnd_function.EXECUTE (function_name => 'TABFORMFUN',
    open_flag => 'Y',
    session_flag => 'Y',
    other_params => 'EMPNO="' ||'paramvalue'||'"');
    in WHEN-MOUSE-CLICK trigger.
    when I deployed it in applications and click the button on the first form
    getting an error message:
    FRM-47023 No such parameter Named G_QUERY_FIND exist in form TABFORM.
    Thanks
    Kittu.

    Hi there
    I have the following questions:
    1. Does the code work in any of you environments?
    2. Does the G_QUERY_FIND exist in the TABFORM form? If it is not there, what happens if you add it?
    3. Can we have a sample of what code is in the fnd_function.EXECUTE procedure? This will help expain the actual method that you are calling the TABFORM form with. i.e are you using call_form/open_form/new_form built-ins or are you constructing a URL. I assume this is a forms/library based package.
    Sorry to be picky Eric, but EXECUTE is not an Oracle reserved word, it is perfectly fine to use it. Oracle use is themselves in various manners e.g. as a function in the dbms_sql package as well as for the EXECUTE IMMIDIATE statement for imbedded dianamic sql. Ref to the following Oracle URL for a list of all reserved words: http://download-east.oracle.com/docs/cd/B14117_01/server.101/b10759/ap_keywd.htm
    Cheers
    Q

  • Pass parameter to portlet from jspx page

    Hello guys, i have one question about portlet. Curently i have 2 application, 1 weblogic portal application and 1 portlet producer application. Both project was successfully setup. I already put 1 portlet created in the portlet producer into 1 page in the weblogic portal application. The problem is, how can i pass parameter from weblogic portal page (which i call the portlet) to the portlet. Thank you

    Hi,
    worth checking the WebCenter forum as both products seem to belong there: WebCenter Portal
    Frank

  • Pass parameter to Action0 from VbScript & Read it in Action0

    Hello, Anyone please can you give me example of how can I pass parameter from vbScript to Action0 of UFT 11.53 and read it in Action0.

    i tried your soluation
    <managed-bean>
    <managed-bean-name>testBacking</managed-bean-name>
    <managed-bean-class>checklist.TestBacking</managed-bean-class>
    <managed-bean-scope>session</managed-bean-scope>
    <managed-property>
    <property-name>testValue</property-name>
    <property-class>java.lang.String</property-class>
    <value>${param.myParam}</value>
    </managed-property>
    </managed-bean>
    it return to me in the getter method for the testValue the experssion as string ${param.myParam} but if i put ${param.myParam} it return value.
    please advice.
    Regards
    Mohd.Weshah

  • URGENT !!!!!!!!!How to pass parameters to Forms from Reports(Oracle 10g)

    Hai
    I can call a form named "ABC" from one Report, using "hyperlink" . The URL is
    http://....../forms90/f90servlet?form=c:/ABC&userid=a/a@a
    Now I want to pass 2 parameters (that are received in that report) to the form ABC.
    I am using Oracle 10g.
    What to do?
    Please reply soon.
    I am eagerly waiting for the solution.
    Please Help.
    Bye

    Hai
    Thank u for the reply.
    Is it possible to pass the variable instead of values.
    My report receives 2 parameters named p1 & p2. Actually I want to pass that parameters to the form from the report.
    I have tried as You said.
    //http/.........&otherparams=param1=:p1+param2=:p2
    Then the form receives the ":p1" as the value, it does not take the value of that variable p1.
    Please Reply Soon.
    Bye...

  • Passing parameter to report from form using RUN_REPORT_OBJECT method

    Will you please let me know how to do this. I tried using run_product but it is giving error as too many declarations. So I decided to use RUN_REPORT_OBJECT, but no help is provided how to pass paramters to this routine from FORMS to REPORTS.

    If you just want to change the heading of a column dynamically, you can go with any of the two options. For both the options, you need to remove the static text and replace it with any dummy field (ensure the reference of field w.r. to repeating frame)
    1. Use the Format Trigger and change the heading to either "school" or "college" based on your field value.
    Ex.
    If :<field_name> = 'S'
    then :dummy_field := 'School'
    Else
    :dummy_field := 'College'
    End If;
    Return (true)
    2. Another option is similar to this and uses a CF.
    (I would prefer CF).
    Warm Regards,
    Raja.

  • PASSING PARAMETER TO REPORTS FROM FORMS...

    I have one form called empform, by clicking a button i want to run report.
    I have created a record_group by name emprec,
    i am using same query for my report also with dame parameter.
    My when button pressed trigger has following,
    DECLARE
    pl_id ParamList;
    BEGIN
    pl_id := Get_Parameter_List('tmpdata');
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    pl_id := Create_Parameter_List('tmpdata');
    Add_Parameter(pl_id,'EMPQRY',DATA_PARAMETER,'EMPREC');
    *** empqry=query name on which report and record group is based***
    Run_Product(REPORTS, 'g:\cl2\vatdata\emprep', SYNCHRONOUS, RUNTIME,FILESYSTEM, pl_id, NULL);
    END;
    but when i am clicking button to run report.
    it is asking parameter again before displaying report.
    Please let me know where i am doing mistake...
    Thanks in advance..

    Hi!
    To suppress Oracle Reports native Parameter Form just add:
    add_parameter( pl_id, 'pARAMform', text_parameter, 'NO' );
    Andrew Velichko
    Brainbench MVP for Oracle Developer 2000 http://www.brainbench.com
    null

  • Pass Parameter with Form

    It is a common and frequent question, but it has not been answered satisfactorily. The question is, how do I pass a parameter from a form in a Portal page to another page?
    I have discovered that using a Dynamic Page, I can read parameters passed in by referencing them as bind variables in a PL/SQL block. For example, given a parameter of "bindMe" as in "http://portal_path/object.show?p_arg_names=bindMe&p_arg_values=hello", the following code will display it:
    <oracle>
    declare
    localVar varchar2(50) := :bindMe;
    begin
    htp.print('bindMe = ' || localVar);
    end;
    </oracle>
    However, I am having trouble sending a form parameter out, in Portal format. By default, it will create the "?bindMe=hello" form, which isn't easily recognizable by Portal. I tried to setup a bind variable for an out-going parameter, but either it doesn't work that way, or I didn't set it up correctly. Any help would be appreciated.
    Not interested in the JavaScript approach.

    I've tried using the wwpro_api_parameters.get_value function, but it doesn't work. I keep getting a "not found" error for the page when trying to pass a parameter.
    Here's my code for the page. I'm trying to simply read a parameter that's passed in. Cut and paste it into your Dynamic Page, and see if you can get it to work.
    <html>
    <head><title>test</title></head>
    <body>
    You passed in
    <oracle>
    begin
    htp.print(portal.wwpro_api_parameters.get_value('empno','a'));
    end;
    </oracle>
    </body></html>
    Now use the URL:
    http://....show?empno=10
    According to the API documentation (http://portalstudio.oracle.com/pls/ops/docs/FOLDER/COMMUNITY/PDK/plsql/doc/sdk3gvf.htm), this should work, but it doesn't. I know I shouldn't be surprised that Oracle's documentation is inaccurate, but I'm having trouble finding a solution.
    Help!

  • Passing Parameter to AbstractPortalComponent from Iview

    Hi All,
    i am trying to pass a parameter from iview so that i can retrieve in abstract portal component as
    request.getParameer("parameterName") ;
    Do any body know how to configure parameter for Iview created by
    New From Par -> iview .Please pass the code.
    advance thanks
    kaushik

    Hi,
    Code for your question
    package com.sapportal.training.portal;
    import com.sapportals.portal.prt.component.*;
    public class FirstPortalComponent extends AbstractPortalComponent
         public static final String PARAMETER_NAME = "name";
         public static final String HELLO_STRING = "HELLO_THERE";
         public static final String HELLO_STRING_END = "!!!";
        public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
              response.setContentType(PortalComponentContentType.HTML);
              String myName = request.getParameter(PARAMETER_NAME);
              String hello_string ="";
              // = HELLO_STRING + myName + HELLO_STRING_END;
              if(myName !=null){
                   hello_string = HELLO_STRING + myName + HELLO_STRING_END;
              response.write("<h3>" + hello_string + "</h3>");
              response.write("<form method = 'post'>");
              response.write("<p>Name:<input type = 'text' name='" + PARAMETER_NAME + "'size='20'></p>");
              response.write("<p><input type = 'submit' value='submit' name='mysubmit'></p>");
              response.write("</form>");
    Reward useful answers

  • Passing Parameter to Report from a JSP

    <p>I have a report which calls a Oracle stored procedure which requires some  IN parameters. These parameters need to be passed from the JSP. For this scenario if someone has some sample code please post it.</p><p>Thanks.<br /></p><p>&#160;</p>

    <p>In the scenario you described the report that connects to the stored procedure will automatically require parameters so they can be passed to the stored procedure.</p><p>Here is a link to a sample that passes a parameter to a report at runtime using BusinessObjects Enterprise XI R2:</p><p>http://diamond.businessobjects.com/node/1018 </p><p>Rob Horne<br /><a href="/blog/10">Rob&#39;s blog - http://diamond.businessobjects.com/blog/10</a></p>

  • URGENT:How to pass parameter to page from java portlet

    Hi,
    All i need to do is to pass a parameter from my custom java portlet to an omniportlet. Is it achievable? If so, please point me direction!
    Thanks,
    Ceren

    Hmm yeah or else you could use java.net.URLEncoder.encode(String s) to encode it automatically.
    (java.net.URLDecoder.decode(String s) decodes btw)

  • Pass parameter to VC from workflow

    Hi,
    We created a Visual Composer application which we would like to call from a workflow. If we don't pass a parameter to the VC, it works, when we pass one, it doesnu2019t work.
    Our Visual Composer application expects an input value called WI_ID.
    We would like to call this Visual Composer aplication via an iView launched from a workflow item.
    Our task is TS90000138 and its visualization contains DYNPARAM: wi_id=${item.externalId}.
    If we execute this task, &iviewDynamicParameter=wi_id%3d000005985089&wi_id=000005985089 is added to the URL, but the value is not passed on to the VC application, because as explained in http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/2090414b-cd20-2a10-d594-8de9d146044a, Visual Composer expects &_paramsXmlStr_=<Params><Row%20WI_ID="5984427"/></Params>.
    We tried two options:
    Option 1:
    change the task visualization to paramsXmlStr=<Params><Row%20WI_ID="${item.externalId}"/></Params>, but this results in the following line in the UWL XML (after re-registering the UWL WebFlowConnector and deleting the cache):
    <Property name="iviewDynamicParameter" value="_paramsXmlStr_=&lt;Params>&lt;Row%20WI_ID=&quot;${item.externalId}&quot;/>&lt;/Params>"/>
    which is not a valid XML format due to the < and > signs.
    Option 2:
    encode the string as explained on http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/2090414b-cd20-2a10-d594-8de9d146044a?QuickLink=index&overridelayout=true and enter paramsXmlStr=%3CParams%3E%3CRow%20WI_ID%3D%22${item.externalId}%22%20/%3E%3C/Params%3E into the task visualization.
    When we execute this "the encoding gets encoded" and we get the following URL, which doesn't work either:
    &_paramsXmlStr_%3D%253CParams%253E%253CRow%2520WI_ID%253D%2522000005985097%2522%2520%2F%253E%253C%2FParams%253E&iviewDynamicParameter=_paramsXmlStr_%3D%253CParams%253E%253CRow%2520WI_ID%253D%2522000005985097%2522%2520%2F%253E%253C%2FParams%253E
    As explained on http://help.sap.com/saphelp_nw70/Helpdata/en/45/a7863f445f4617e10000000a114084/content.htm, there are only 3 pamaters (ID, CONFIRM, DYNPARAM) and no other one can be used.
    Do you know how to fix this issue?
    Thanks,
    Tamas

    Hello Tamas,
    I did succeed to call a Visual Composer model from the UWL (using workflow tasks coming from our ERP 6 backend).
    I did customised UWL workflow task (within the portal) :
    <Property
    name="iviewDynamicParameter"
    value="WI_ID=${item.externalId}"/>
      <Property
    name="iview"
    value="pcd:portal_content/pcc_portal_application/.../xxx.uwl_task_VC"/>
    Parameter WI_ID (WorkItem Id) is automatically sent by the portal system.
    I set, in VC, a start point with a string data parameter called WI_ID.
    When calling the model this parameter WI_ID is filled.
    Hope it could help.
    Rgds
    Gilles

  • Passing parameter value back from Child region [BTF] to Parent

    Hello,
    I am using Jdev 11.1.1.6. I have a use-case where I need to pass value back from child taskflow to parent.
    Let me elaborate the use-case:
    I have a main page which is implemented as BTF with fragment. This main page contains a child region [again a BTF with fragment].
    I am passing a parameter value from parent page to it's region using taskflow input parameter. Now value for one of the parameter changes inside child/region taskflow and I need to make this value available to main page taskflow.
    This parameter is just pageFlowScope variable, so basically not coming from any VO.
    I know that taskflow can return value via return parameter but I don't know if that is true for taskflow implemented as region in a page.
    Is it possible to communicate the pageFlowScope variable value from child region to it's parent page?
    Thanks,
    Jai

    Hi Frank,
    I tried to follow steps mentioned in your post but encountered error that "The scope of the referenced object #{viewScope.parentBeanName} is shorter than referring object childBeanName"
    Let me explain what I did:
    1. Created a bean parentBeanName in viewScope
    2. Created another bean childBeanName in pageFlowScope
    3. In ChildBean.java, created a private property parentBeanProperty for Class [ParentBean] and generated the accessors
    4. Created a input parameter in region TF as:
    <input-parameter-definition id="__28">
          <name id="__27">parentBeanParam</name>
          <value>#{pageFlowScope.childBeanName.parentBeanProperty}</value>
          <class>ParentBean</class>
          <required/>
    </input-parameter-definition> 5. Since my mainPage contains child page as region. I added parameter to mainPageDef to pass it to child TF, like this
    <parameter id="parentBeanParam" xmlns="http://xmlns.oracle.com/adfm/uimodel"
                       value="#{viewScope.parentBeanName}"/>6. Introduced a client method in childBeanName that is called from UI. There I am retrieving parentBeanParam instance from pageFlowScope and call setter method of my variable inside ParentBean.java
    7. Ran the page but encountered the error.
    Did I miss something somewhere?
    Initially I got error where #{viewScope.parentBeanName} returned NULL due to parentBeanName not instantiated. I created a variable in mainPageDef with it's default value pointing to #{viewScope.parentBeanName.variableName}, which I guess will instantiate the bean in viewScope.
    After this I got error of shorter scope. It never reached to code in Step 6 during execution cycle.
    FYI - My application is based on UIShell and essentially a one page application. Main page referred above is also a jsff based on BTF. I hope, this should not affect this implementation but I thought of at least mention it.
    Thanks,
    Jai
    Edited by: Jai Om on Dec 18, 2012 2:38 PM

Maybe you are looking for

  • How do I change the room that my FiOS Internet connection is wired to?

    My FiOS Internet connection was placed in my office but I am now renovating and need to remove my computer ( wired ) as well as router to another room during the renovation . I have coax outlets in 4 other places throughout the house but they were no

  • Can't synch Podcast from Itunes to IPOD Touch

    I'm no longer able to synch a paid subscription PODCAST from my computer to my Apple devices.  The response says "Unable to Authorize", although the new episodes can be played on my  Microsoft PC where ITUNES resides.  This happened immediately after

  • 10.9.4 Finder crash when renaming any file or folder

    Since I updated yo 10.9.4, I can't rename any file with finder. After renaming a file, when I hit "enter", Finder restarts and file is not renamed. Tried with new user account: same issue. Tried in Safe Mode, same issue. The only way right now to ren

  • Add-on connection timed out Error

    Hi all,       I have created an add on following sdk help. (ie; a blanket project). The add - on installs properly but while runnig it gives connection timed out error. I have found a lot of similar threads in the form. but all of them uses B1DE. And

  • What, *exactly*, does a factory reset do?

    My Thinkpad T430, less than a year old, is having issues - corrupted .dll files, Windows Update not working, all sorts of fun stuff. I am waiting on someone to e-mail me clean copies of the .dlls I need BUT am concerned that that won't fix everything