Passing parameters from report to new page with portlets.

Hello everyone:
I have a plsql report portlet on a page that has a column that I would like to pass as a parameter to a new page to populate more portlets. I tried setting up a link but I can't seem to get the value in the column to pass as the parameter. I am a novice when it comes to developing portlets.
Thanks in advance!

The link is the way to go (at first). You have to create the link first. Then assign this link to the column that you want to the hyperlink to appear on - this assignment happens on the 2nd tab of the report (Column formatting) by choosing the newly created link in the link dropdown. After you have assigned the link to the column you must edit the assigned link where you can then choose the value that must be passed across.
The link approach works fine, but there are limitations. I just do all the links in code these days - so in the report select statement I have <a href....>. This gives more flexibility. Ultimately there is the issue of passing parameters to forms: using links (or hand coded) you can pass parameters to reports (if param is also defined as input param with ":") and also forms, but all you can do with a form is to pass param that can be used to uniqeuly identify one record which is the one that will show in the form. Anything else (e.g. pass a param to prepopulate a field on the form) needs an even more complicated solution (:).
Cheers.
Anton.

Similar Messages

  • How can I pass parameters from report to HTML page

    Hi,
    Does any one know how to pass value from Portal Report to other HTML page (asp for excample).
    I build a Protal report, and I want jamp to "http://...viewDoc.asp?DocID=DocumentID" URL, by clicking on link, where "DocumentID" is parameter that to be pass from report.

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

  • Passing parameters from REPORTS to FORMS.

    Hi,
    Could anyone help my on this, I'm trying to pass parameters from reports to forms is it possible? could anyone give me an idea how do I have to proceed.
    thank youk,
    bino

    http://technet.oracle.com:89/ubb/Forum4/HTML/009647.html

  • How to pass parameters from report to graph

    I am trying to call an existing chart from Reports60.
    I figured out that only CHAR and NUMBER parameters can be passed. The mychart.ogr executable works fine from command line with parameters passing.
    Now I'm trying to pass parameter to Graphic Display, for that I associated Report Column/Parameter with Chart Parameter. (set parameter/column property).
    It's not working.. I'm getting Graph for the initial values parameters which are in the chart. Seems like there are no parameter value passing from reports to graph.
    Are there any tricks to pass value for the CHAR parameter?
    Thanks in advance for the help,
    Helen

    Nobody help me?

  • How to pass parameters from GP to Portal-page or iView

    Hello all,
    I tried various things but I'm not succesfull in creating an callable object of type 'Portal-page or iView' which receives certain parameters.
    Currently we open the portal page from within a WebDynpro.  I pass a string "zaanum=909&zasnum=1" to the Portal-page. The parameters are received in the webDynpro-app.
    Now I want to do this from within GP. I thought to create a CO of type 'portal-page or iview' and the parameters are given to that CO.
    I expect the parameters to be received by the WebDynpro in the iView.
    I tried:
    - defining one parameter for CO of type string. At initiation time I fill this with "zaanum=909&zasnum=1" ==> Nothing received in iView/WebDynpro
    - defining two parameters (technical names 'zaanum' and 'zasnum')  for CO of type string. At initiation time I fill them with 909 and 1 ==> Nothing received
    - defining two parameters (technical names 'zaanum' and 'zasnum') for CO of type integer.  At initiation time I fill them with 909 and 1 ==> Nothing received
    - defining two parameters (parameter names 'zaanum' and 'zasnum')  for CO of type string. At initiation time I fill them with 909 and 1 ==> Nothing received
    Any help is appreciated!
    Maarten Rutten
    Edited by: Maarten Rutten on Jan 9, 2008 8:36 PM
    Edited by: Maarten Rutten on Jan 9, 2008 8:37 PM

    Hi Ramien,
    I have a similar problem. I need to pass values from webdynpro to jsp and vice versa. Kindly let me know how you solved this problem.
    Thanks & regards,
    Amrita

  • Passing parameters from report to form

    Hello,
    I have a report based on a View with all the details of only one record. I whant to link this report with a form in insert mode, passing some of the fields as parameters.
    Anyone konws how to do it?

    Jan,
    Thanks for the succinct reply! I've been trying to 2 days to solve this problem. Whew!
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Jan Willem Vermeer ([email protected]):
    Unfortunately linking reports and forms in insert mode is not completely tackled in the faq.
    For a long time Oracle Customer Support and I were not able to get the form in insert-mode. My forms kept on appearing in query-mode, so when I passed values from the report to the form, the form queried records based on the parameters passed through from the report. While I wanted these parameters filled in as default values.
    The solution is almost too easy to imagine. When you define the link-parameters in the report definition, you should leave the EQUAL-sign blank. On metalink you can read TAR 1258704.996 and bug 1696340 for more info.<HR></BLOCKQUOTE>
    null

  • Passing parameters from report portlet to a forms portlet

    Hello All,
    I am trying to link data in a report to a form. Here's the gist: I click on a record in the report and the data is passed to a form in update mode. The problem is that when I click on the record the data is not passed right away to the form. Only after clicking the record again or refreshing the page does the data get passed. Any ideas? I'm sure it's something very simple that I'm missing. Here's the code below:
    report code:
    select ''||empno||'' empno_link, empno, ename, job, mgr, hiredate, sal, comm, deptno
    from scott.emp
    set_context_refresh procedure:
    procedure set_context_refresh
    p_context in varchar2,
    p_context_value in varchar2,
    p_page in varchar2)
    is
    v_Session portal30.wwsto_api_session;
    begin
    v_Session := portal30.wwsto_api_session.load_session('CONTEXT','SESS_EMP');
    v_Session.set_attribute(p_context, p_context_value);
    v_Session.save_session;
    owa_util.redirect_url('http://jvic9/pls/portal30/url/page/'||p_page);
    end set_context_refresh;
    form code:
    /* ... before displaying the page section */
    portal30.empcust.autoquery_emp_form(p_session);
    autoquery_emp_form procedure:
    procedure autoquery_emp_form
    p_session in out portal30.wwa_api_module_session
    is
    v_RowID varchar2(100);
    v_Session portal30.wwsto_api_session;
    v_empno varchar2(40);
    begin
    v_Session := portal30.wwsto_api_session.load_session('CONTEXT','SESS_EMP');
    v_empno := v_Session.get_attribute_as_varchar2('EMPNO');
    begin
    select rowidtochar(rowid) into v_rowid
    from scott.emp
    where empno = v_empno;
    end;
    p_session.set_value(p_block_name=>'DEFAULT',p_attribute_name=>'_CALLED_FROM_LINK',p_value=>'ROWID');
    p_session.set_value(p_block_name=>'DEFAULT',p_attribute_name=>'_ROWID',p_value=>v_rowid);
    portal30.wwa_api_module_event.do_event('DEFAULT','QUERY_BOTTOM',1,'ON_CLICK',True,'',p_session);
    p_session.save_session;
    end autoquery_emp_form;

    Hi John,
                  If Not CRRpt.ParameterFields("AgeType") Is Nothing Then
                        CRRpt.ParameterFields("AgeType").CurrentValues.Clear()
                        Dim ParamValue As new CrystalDecisions.Shared.ParameterDiscreteValue
                        ParamValue.Value = AgeType.ToString 
                        CRRpt.ParameterFields("AgeType").CurrentValues.Add(ParamValue)
                    End If
    Note that the ParamValue.Value should be assigned with exact same data type as you declared it in CR.
    If it is string, Convert your Variable to string first.
    If it is date, make sure you are passing a date variable.
    and so on...
    Regards
    Edy

  • URGENT: pass parameters from report to report without usting a link or URL

    HI.
    I want to send an ID field from a report to a report (like master-detail) and that should be done by pressing the next or previous button. So, not with a LINK or URL link.
    Is that possible? I used the wwsto_api_session package in several ways, but no luck so far.
    Thanks,
    Paul.

    If your requirement is to provide buttons that take the users to another report, you have to do the following:
    In your source report (report A), create a form containing a button. Use hidden fields for the parameters you have to pass to the target report (report B).
    You'd need to base your report A on a SELECT statement. One of the columns in the SELECT statement can be a string where you actually construct the entire HTML form, something like:
    SELECT ...., '<form action=... method=post> ... ' FROM ...Hope this helps.

  • Passing parameters from report to form portlet

    I am trying to link data in a report to a form. Here's the gist: I click on a record in the report and the data is passed to a form in update mode. The problem is that when I click on the record the data is not passed right away to the form. Only after clicking the record again or refreshing the page does the data get passed. Any ideas? I'm sure it's something very simple that I'm missing. Here's the code below:
    report code:
    select 'http://jvic9/pls/portal30/portal30.empcust.set_context_refresh?p_context=EMPNO&p_context_value='||empno||'&p_page=reportform">'||empno||'' empno_link, empno, ename, job, mgr, hiredate, sal, comm, deptno
    from scott.emp
    set_context_refresh procedure:
    procedure set_context_refresh
    p_context in varchar2,
    p_context_value in varchar2,
    p_page in varchar2)
    is
    v_Session portal30.wwsto_api_session;
    begin
    v_Session := portal30.wwsto_api_session.load_session('CONTEXT','SESS_EMP');
    v_Session.set_attribute(p_context, p_context_value);
    v_Session.save_session;
    owa_util.redirect_url('http://jvic9/pls/portal30/url/page/'||p_page); end set_context_refresh;
    form code:
    /* ... before displaying the page section */
    portal30.empcust.autoquery_emp_form(p_session);
    autoquery_emp_form procedure:
    procedure autoquery_emp_form
    p_session in out portal30.wwa_api_module_session
    is
    v_RowID varchar2(100);
    v_Session portal30.wwsto_api_session;
    v_empno varchar2(40);
    begin
    v_Session := portal30.wwsto_api_session.load_session('CONTEXT','SESS_EMP');
    v_empno := v_Session.get_attribute_as_varchar2('EMPNO');
    begin
    select rowidtochar(rowid) into v_rowid
    from scott.emp
    where empno = v_empno;
    end;
    p_session.set_value(p_block_name=>'DEFAULT',p_attribute_name=>'_CALLED_FROM_LINK',p_value=>'ROWID');
    p_session.set_value(p_block_name=>'DEFAULT',p_attribute_name=>'_ROWID',p_value=>v_rowid);
    portal30.wwa_api_module_event.do_event('DEFAULT','QUERY_BOTTOM',1,'ON_CLICK',True,'',p_session);
    p_session.save_session;
    end autoquery_emp_form;

    Your code seems to be OK.
    The problem of the data not appearing when you do the query manually (i.e through an API call), is a bug and has been fixed in patch 3.0.9.8.3.

  • OAF: passing parameters to report from OAF page and running concurrent prog

    Hi Everyone,
    i have an OAF page with 10 fields after filling those fields i need to press "Submit" button.
    On pressing Submit button 5 parameters i have to pass to the xml publisher report to run the concurrent program and display the output in pdf format.(Out of 10 fields on the page the first 5 fields will be passed as parameters)
    How can i pass parameters from OAF page to the report(concurrent program)?
    and how can i call concurrent program?
    and how can display the output of the report in pdf format after calling the concurrent program?
    Any answers will be really useful...
    Thanks in advance.
    Thanks.

    Hi kumar ,
    XML report will generate output in PDF format , first you need to try generating report separately , manually submit
    the concurrent program and make sure every thing goes well .
    Once the above step is done you can try to submit the concurrent from controller class . The submitRequest method
    will return the request ID of the concurrent program .
    Now with the help of this request ID you can redirect the page to Oracle standards Request Page( you can monitor
    the status of concurrent program and view output ) this can be done with the following piece of code
    String url = "OA.jsp";
    parameters.put("akRegionApplicationId", "0");
    parameters.put("akRegionCode","FNDCPREQUESTVIEWPAGE");
    String id = "" + return_reqId + "";
    parameters.put("requestMode","DEFERRED");
    parameters.put("requestId", id);
    pageContext.setForwardURL(url,null,OAWebBeanConstants.KEEP_MENU_CONTEXT,null,parameters,true,OAWebBeanConstants.ADD_BREAD_CRUMB_NO ,OAWebBeanConstants.IGNORE_MESSAGES);
    Keerthi

  • How can i use link in report to go to new page with parameters??

    Hello
    I've created a report and have added a link (to a html url) to one of the columns. Whenever i click that column in a row, a new page appears. At this moment this page is static. However, i want to show the details of the selected row in the report. This means that somehow i have to pass a parameter to the second page with the primary key of the selected report row.
    Is there any way to do this?
    Thanx
    Ben

    You can do this using SQL based reports.
    Here is an example
    select ''||empno||'' emplink,ename
    from SCOTT.EMP
    Here the link "http://forums.oracle.com/forums/message.jsp?id=" takes a parameter whose value is the empno.
    In the column formatting section of SQL reports you should display this column as HTML and not TEXT.

  • Passing parameters from portlet reports to portlet forms

    Hi,
    I'm tring to pass parameters between a Report displayed as a portlet in a page ( page 1) and a form displayed in other page ( page 2).
    The problem is i can't do this.
    I only can pass parameters from a report ( running as normal or in a portlet displayed in a page) to a form running "normal" by using application links. Can i do this between a report that show's me every employees of scott.emp table. Then when i click on each employee, it open's me another page with the portlet form of the specified employee.
    I'm not sure i made myself clear. Please send me some feedback.
    Pedro

    I have the same problem. Please let me know if this could be done.
    In particular my form is a type of "Form on Table/View."
    Thanks
    Henry

  • Passing parameters to report from current form

    Hi all!
    I have a problem with parameter passing from form to report. I want to display the report with the current customer id and current product id from the form. But my problem is I don't know how to pass parameters from form to report. I am a new user of oracle applications. If any one can help me, please tell me step by step what I should do because I am so new with oracle developer.
    Thanks.
    Sonia.

    Hi,
    An easy way to pass the parameters to the report from the form.
    In the trigger from where u are calling the report you can write a short code there to pass on the parameters you want in the report.
    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,'PARAM1',TEXT_PARAMETER,:FORM_ITEM1);
    Add_Parameter(pl_id,'PARAM2',TEXT_PARAMETER,:FORM_ITEM2);
    Add_Parameter(pl_id,'PARAM3',TEXT_PARAMETER,:FORM_ITEM3);
    Run_Product(REPORTS,'C:\UR.RDF',(SYNCHRONOUS or ASYNCHRONOUS), RUNTIME,FILESYSTEM, pl_id);
    END;
    For this there is an assumption that in your report you have created, 'PARAM1', 'PARAM2', 'PARAM3' as User Parameters in you data model.
    I have also just now answered for your problem of setting item properties on select of a value from an LOV. Check that out too.
    Regards
    Chintan

  • Getting error , while passing parameters from one page to another page

    Hello friends,
    i am getting error, while passing parameters from one page to another page, below code i wrote.
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    ArrayList arl=new ArrayList();
    EresFrameworkAMImpl am=(EresFrameworkAMImpl)pageContext.getApplicationModule(webBean);
    ERecordImpl ERecordObj=new ERecordImpl();
    HashMap hMap = new HashMap();
    hMap.put("1",ERecordObj.getTransactionName());
    hMap.put("2",ERecordObj.getTransactionKey());
    hMap.put("3",ERecordObj.getDeferredMode());
    hMap.put("4",ERecordObj.getUserKeyLabel());
    hMap.put("5",ERecordObj.getUserKeyValue());
    hMap.put("6",ERecordObj.getTransactionAuditId());
    hMap.put("7",ERecordObj.getRequester());
    hMap.put("8",ERecordObj.getSourceApplication());
    hMap.put("9",ERecordObj.getPostOpAPI());
    hMap.put("10",ERecordObj.getPayload());
    // hMap.put(EresConstants.ERES_PROCESS_ID,
    if(pageContext.getParameter("item1")!=null)
    pageContext.forwardImmediately(EresConstants.EINITIALS_FUNCTION,
    OAWebBeanConstants.KEEP_MENU_CONTEXT,
    null,
    hMap,
    true,
    OAWebBeanConstants.ADD_BREAD_CRUMB_YES
    Error(71,2): method forwardImmediately(java.lang.String, byte, null, java.util.HashMap, boolean, java.lang.String) not found in interface oracle.apps.fnd.framework.webui.OAPageContext
    Thanks
    krishna.

    Hi,
    You have imported the wrong class for HashMap.
    Import
    com.sun.java.util.collections.HashMap; instead of java.util.HashMap
    Thanks,
    Gaurav

  • How to pass parameters from a dashboard or report to any OA Framework-based

    In Metalink Note:276708.1, about Oracle E-Business Intelligence Minipack L (4.0.9).
    Common Features for Dashboards and Reports section say:
    You can now pass parameters from a dashboard or report to any OA Framework-based application page.
    How to do pass?
    Regards,
    Arone

    Nobody help me?

Maybe you are looking for

  • How to track the report calling from powerbuilder?

    Suppose I have a powerbuilder application myapp. there are many reports created with pb. There are 2 possible for pb report: datawindow get data from stored procedure datawindow get date with sql. myapp use a specific login mylogin to connect to syba

  • Rfq document once used as reference for po should not come in doc overview

    Sir, i want to create po with reference to rfq. the issue is that my client  daily creates30 po'swith reference to rfq. so once the rfq is adopted in po that rfq should not be seen in document overview. ONLY RFQ WHICH ARE NOT ADOPTED AS PO SHOULD BE

  • Reusing dynamically loaded movies

    Hello, I am trying to reuse a dynamically loaded movie which has been loaded with a movie clip loader. The movie loads fine and can be displayed once with no problem. However, I would like to be able to store this movie so that it can be resused agai

  • How to get rid of strange pixelation on exported videos?

    I'm trying to export a video (with Final Cut Express 4), and it seems as if no matter what settings I use, I keep getting this nasty pixelation on the screen. http://i298.photobucket.com/albums/mm242/piratedcomedy/image1.jpg http://i298.photobucket.c

  • DKU-2 for 6131

    Does anybody knows if I can use my DKU-2 cable with a Nokia 6131?