Pass parameter from page link to report

<span><font face="Verdana, Geneva, Arial, Sans-serif" size="2">How can I pass 3 parameter values from a link on one page to a report or CrystalReportViewer.<br /><br />Report is a CR/VS 2005 web report in C#<br /><br />Parameter fields in the report are:<br />   CampaignID<br />   BeginDate<br />   EndDate</font> <p><font face="Verdana, Geneva, Arial, Sans-serif" size="2">So say link page URL looks like this:<br /></font><a href="http://localhost/reports/campaign_report/default.aspx?CampaignID=61325&BeginDate=1/1/2006&EndDate=1/2/2006" target="_blank" title="http://localhost/reports/campaign_report/default.aspx?CampaignID=61325&BeginDate=1/1/2006&EndDate=1/2/2006"><font face="Verdana, Geneva, Arial, Sans-serif" size="2">http://localhost/reports/campaign_report/default.aspx?CampaignID=61325&BeginDate=1/1/2006&EndDate=1/2/2006</font></a><br /><font face="Verdana, Geneva, Arial, Sans-serif" size="2">and I want to pass these values to the report and bypass the Parameter Prompt Page.</font></p><p><font face="Verdana, Geneva, Arial, Sans-serif" size="2">When i run this link the report viewer page says "missing parameters"</font></p><p><font face="Verdana, Geneva, Arial, Sans-serif" size="2">Do I need to add something to the default.aspx.cs page?<br /></font><font color="#0000ff">--<br /><br /><font face="Verdana, Geneva, Arial, Sans-serif" size="2">protected</font></font><font face="Verdana"><font size="2"> <font color="#0000ff">void</font> Page_Load(<font color="#0000ff">object</font> sender, <font color="#008080">EventArgs</font></font></font><font face="Verdana" size="2"> e)<br />{<br />     Parameter.Field1 = (CampaignID);<br />     Parameter.Value1 = Request.QueryString("CampaignID");<br />     ...??<br />}<br /><br />--
<br /></font><font face="Verdana" size="2">Any help would be greatly appreciated?<br /><br />Thank you,<br />Jason</font> </p></span>

 Hi Jason
 You are correct. The Viewer object will not automatically look at the URL and try to assign the values. You need to grab these values from the URL and properly assign them to the parameter objects.
Rob Horne
[My Blog | /blog/10]

Similar Messages

  • How to   Pass Parameter from BIP  to Dashboard  Report

    Hi,
    Parameter from BIP to Dashboard Report
    If I select BIP report paremeter should pass value to dashboard report
    thanks in advance.
    CHEERS ,
    Jel

    Hi Saichand,
    I hav gone through above link its passing values from Dashboard prompt to BIP report only..
    just i need like reverse (if i click on BIP report value then it should pass that value to Dashboard reports) in this this case how to pass parameter from BIP to dashboard report
    Thanks in advance
    Cheers,
    Jel

  • Passing parameter from Summary to Detail report

    Hi,
    I have a summary report that has ID. Clicking on ID leads ot detail report. However, the parameter stays on the detail report. I also want to enable stand alone viewing of the detail rpeort. How can that be achieved?
    Regards

    User,
    What is your name?
    You could move the parameter/item to the detail page. Perhaps change it from a hidden item (if it is) to a visible item that users could select from. Then all you're doing when you come from the summary to the detail is setting that item's value.
    Note that if the item changes pages you'll want to change the name of the item and therefore any references to it. To make sure you don't miss anything you'll want to run the app though Patrick's APEX Essentials: http://www.inside-oracle-apex.com/apex-essentials/ (this will be integrated in APEX 4)
    Regards,
    Dan
    Blog: http://DanielMcGhan.us/
    Work: http://SkillBuilders.com/apex/

  • Pass parameter from page to page use af:declarativeComponent

    page1
    <af:declarativeComponent id="dc0" viewId="/includes/listWikiResult.jsff" myParam="#{pageFlowScope.wikiNewPagesBean.latestUCMDocVOList}"/>
    listWikiResult.jsff
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:f="http://java.sun.com/jsf/core"
    xmlns:af="http://xmlns.oracle.com/adf/faces/rich" version="2.1">
    <af:componentDef var="attrs">
    <af:xmlContent>
    <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
    <description>my fragment</description>
    <attribute>
    <attribute-name>myParam</attribute-name>
    <attribute-class>java.util.List</attribute-class>
    <required>true</required>
    </attribute>
    </component>
    </af:xmlContent>
    <!-- Actual content goes here-->
    <af:outputText value="#{attrs.myParam}"/>
    </af:componentDef>
    </jsp:root>
    will throw exception
    <ComponentMetadataHandler> <_typeConvert>
    java.lang.IllegalArgumentException: Could not coerce value of type class java.lang.String into type java.util.List
         at org.apache.myfaces.trinidadinternal.share.expl.Coercions.coerce(Coercions.java:298)
         at oracle.adfinternal.view.faces.taglib.region.ComponentMetadataHandler._typeConvert(ComponentMetadataHandler.java:243)
         at oracle.adfinternal.view.faces.taglib.region.ComponentMetadataHandler._typeConvertAndDefaultAttrs(ComponentMetadataHandler.java:233)
         at oracle.adfinternal.view.faces.taglib.region.ComponentMetadataHandler.handleContent(ComponentMetadataHandler.java:185)
         at oracle.adfinternal.view.faces.taglib.region.XmlContentTag.doEndTag(XmlContentTag.java:83)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:62)
         at oracle.jsp.runtime.tree.OracleJspCustomTagNode.execute(OracleJspCustomTagNode.java:261)
    how to pass List parameter?

    Hi
    You should pass your parameter with the <f:attribute> tag.
    See this sample:
    <af:declarativeComponent id="dcPrj" viewId="/WEB-INF/views/template/project.jsff">
      <f:attribute name="dataMap" value="#{backingBeanScope.vlbb.projectData}" />
    </af:declarativeComponent>
    Where my "projectData" is a HashMap and declared in the fragment as it.
    <af:xmlContent>
      <component xmlns="http://xmlns.oracle.com/adf/faces/rich/component">
        <display-name>ProjectTemplate</display-name>
        <description>This component will show project info.</description>
        <attribute>
          <attribute-name>dataMap</attribute-name>
          <description>Map with all data required</description>
          <attribute-class>java.util.HashMap</attribute-class>
          <required>true</required>
        </attribute>
      </component>
    </af:xmlContent>
    I hope this solve your problem.
    Regards, David Pérez.

  • Passing parameter from forms 9i to reports

    Hi,
    I have a parameter form running on forms 9i. i am running my forms through a web browser. When i pass a character parameter containing blank spaces in between, my report does not run, but it works fine when i pass a parameter without any spaces...
    my application is thin client based..
    Any solution for this problem?
    Thnks

    Hi Frank,
    Thanks for replying, How do i do this? here is the piece of code
    run_report('DGAR004''p_signatory',:signatory,
              'p_gua_title', :title
    I will have to pass :signatory within quotes ? how do i do this?

  • 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

  • How to pass parameter from 1 stored procedure to another stored procedure inside crystal report

    Hi
    I have several stored procedure in my Crystal Report. I am wondering if it is possible for me to pass a parameter to one of the stored procedure and to use the result of that stored procedure E.g. CustomerCode. To another 2 stored procedure to generate the report dynamically?
    I have 3 stored procedure
    The 1st one is used to gather information and process the calculation
    another 2 stored procedure is used for generate the graph and both of them required to take 2 parameters. The 1st stored procedure will require 1 parameter (E.G. Reference Code) and will return a set of information including the data that could be use on the other 2 stored procedures.
    After I added these 2 stored procedure, it requires me to pass 3 parameters to the report. I would like to know if I could only pass the Reference Code for stored procedure 1 and use it to retrieve the information for the other 2 parameter?
    Thanks in advance
    Chi

    Hi Chi
    To pass parameter from 1 stored procedure to another stored procedure, you will have to create sub report. In your case you will have to create 2 sub reports for 2nd and 3rd stored procedure and link those sub reports with the main report using Reference Code field in order to pass the values.
    After creating the report when you will refresh the report, it will ask 4 parameters, one parameter for main report, one for the first subreport and two for second subreport to fetch the data correctly.
    Regards
    Poonam Thorat.

  • Problem while passing parameter from report to report.

    Hi
    I'm using forms and reports 10g, hava a problem while passing the parameter from reports to report.
    i'm using srw.set_hyperlink to call report from report.
    i have created a key value in the cgicmd.dat file called
    faccre802005-2006: report=faccre80 destype=cache desformat=pdf userid=<userid/passwd@cs> server=<servername>
    Now in the format trigger i'm using this key value
    function BTN_DEBITFormatTrigger return boolean is
    temp varchar2(5000);
    IP_ADDRESS VARCHAR2(50);
    SERVER_NAME VARCHAR2(10);
    L_ACCT_CODE VARCHAR2(14);
    begin
    SELECT MAST_INT_DESC,MAST_USER_PGM_ID INTO IP_ADDRESS,SERVER_NAME FROM MAST_INT_INFO WHERE MAST_INT_ID='VISHWA';
    temp := IP_ADDRESS||'?faccre80'||:P_FIN_YEAR||'+server='||server_name;
    temp :=temp ||'+'||'P_PREVIOUS_CODE='''||:ACCT_CODE||''''||'+'||'P_COMPANY_CODE='''||:P_COMPANY_CODE||'''';
    temp :=temp ||'+'|| 'P_FROM_DATE='''||TO_CHAR(:P_FROM_DATE,'DD-MON-RRRR')||''''||'+'|| 'P_TO_DATE='''||TO_CHAR(:P_TO_DATE,'DD-MON-RRRR')||''''||'+'||'P_TRUST_CODE='''|| :P_TRUST_CODE||'''';
    temp :=temp ||'+'|| 'P_UNIT_CODE='''||:P_UNIT_CODE||''''||'+'||' P_FIN_YEAR='''||:P_FIN_YEAR||'''';
    temp :=temp ||'+'|| 'P_LEVEL='''||:P_LEVEL||''''||'+'||'P_HEADER='''||replace(:P_HEADER,' ','%20')||''''||'+'||'P_FORMAT='''||:P_FORMAT||'''';
    SRW.Set_Hyperlink(temp);
    END;
    return (TRUE);
    end;
    Report is coming but not the expected result because parmaeters are not coming from first report to second report.
    If i dont use cgicmd file userid and password are displyed in the URL.
    Pl tell me how to pass parameter from one report to another.
    thanks and regards

    Hi
    I got the solution.
    I forgot to add %* at end of the KEY value.

  • Hw to pass parameter from report to forms

    Dear Friends,
    I m working on Forms n Reports 6i,
    I m running report n passing parameter from the forms now the requirement is that if report run successfully it shuld give the msg otherwise give an user define error msg.
    Hw do i pass any parameter from report to form for acknowledgment.
    Thanking yours
    Chandan

    Hi Rajat,
    using run_product built in i can pass parameter from forms to reports but hw can i get some parameter value from reports to forms as mentioned earlier my post
    Thanking Yours,
    Chandan

  • Passing parameter from workitem to bsp page

    Hi,
    is it possible to pass parameter from workitem to bsp page and also vice versa?

    SAP_WAPI_READ_CONTAINER function works well.but i need to pass a parameter to workitem container.
    what i am trying to do is;
    1-get data by using sap_wapi_read_container
    2-change data
    3-send changed data back to workitem
    my problem is in third step.I am using SAP_WAPI_WRITE_CONTAINER. but it doesnt work.After execution the FM return_code set to 1.
    Do u know how to set a variable in workitem?

  • How to pass parameter from form6i to report6i

    when i passed parameter from form6i to report6i, while previewing report the data was not displaying only fields heading was displaying, but in report6i there is a parameter form thru that it was displaying data, but thru form6i to report6i it was not. Please kindly help me and give me the some sample or example of it.
    Thanks
    Best regards
    Zaheer

    ADD_PARAMETER(pl_id,'P_SCRIPT',TEXT_PARAMETER,:b1.script);

  • Pass parameter jspx page to portlet

    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

    Which type of portlet you are using jsr 168 /286 or oracle pdk or others ?
    Why do you need to pass parameters from portal page to portlet ?
    You can very well use taskflow to achieve the same thing in a much easier way that portlet way.
    If you are using jsr 286 portlet then you have to try with WSRP Soap call to get the required parameter. but I am not sure on how to achieve the final goal.
    Regards,
    Hoque

  • Pass parameters from hbj link

    Hi,
        I want to pass parameters from hbj link to the component where the event method is going to be called. And also when I click the event how it is going to redirect other jsp.
    Regards,
    Suresh.B

    Hello Reinuka,
    It is possible to send parameter to Web Dynpro iview.
    In the iview application parameters add Param1 =.
    Place this code wherever  you want to call that iview.
    WDPortalNavigation.navigateAbsolute("ROLES:"+iview,WDPortalNavigationMode.SHOW_INPLACE,(String) null, (String) null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS,(String) null,(String) null,"Param1 = ");
    "ROLES:"+iview=Iview Path
    "Param=Paramvalue"=Parameter and its value
    Youcan receive the value as
    String parmvalue=WDWebContextAdapter.getWebContextAdapter().getRequestParameter("Param");
    Regards,
    Sridhar

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

  • Pass parameter to page fragment in dynamic region

    Hello.
    I am using Jdeveloper 11.1.1.3.
    Can anyone explain to me how to pass parameter to page fragment in dynamic region?
    My situation is:
    I have only 1 page: index.jspx.
    This page include 2 elements:
    1. <af:tree>
    <af:tree id="t1" var="node" rowSelection="single"
    value="#{bindings.FpsrVO1.treeModel}" rendered="true" expandAllEnabled="true"
    contentDelivery="lazy" initiallyExpanded="false"
    contextMenuSelect="false" fetchSize="-1">
    <f:facet name="nodeStamp">
    <af:commandLink id="cl1" rendered="true"
    actionListener="#{backingBeanScope.RegionDynamicBean.treeClick}">
    <af:outputFormatted id="outForm" value="#{node.Name}" rendered="true"/>
    <f:attribute name="menuId" value="#{node.Code}"/>
    </af:commandLink>
    </f:facet>
    </af:tree>2. <af:region> :
    <af:region value="#{bindings.dynamicRegion1.regionModel}"
    id="r1"/>Region could be changed to 3 bounded taskFows wich have only one page fragment.
    Can anyone explain to me how i can send <f:attribute name="menuId" value="#{node.Code}"/> from tree element to page fragment which will be rendered on screen?

    You can pass a map to the dynamic region which would take the task flow parameters as key-value pairs.
    <taskFlow id="dynamicRegion1"
    taskFlowId="${backingBeanScope.TestPageBean.dynamicTaskFlowId}"
    activation="deferred"
    xmlns="http://xmlns.oracle.com/adf/controller/binding"
    parametersMap="#{backingBeanScope.TestPageBean.parameters}"/>
    When reloading the taskflow, ensure that the necessary parameters are loaded into the taskflow.
    Check this example exactly based on your use-case:
    http://adfsampleapplications.googlecode.com/svn/trunk/TaskflowParamSampleApp.zip
    Thanks,
    Navaneeth

Maybe you are looking for

  • Error while runing the report

    Hi, When I exceute my Querydesigner in BI 7.0 I am getting the following error A pop up block is activated .This prevents distrubted session management from functioning correctly. the WEb Application will therefore be ended.check teh sap note 919196

  • How can I get FIREFOX to store password for the public library, since it doesn't ask me when I go to that site ?

    My password at a particular website was changed recently, so I removed that site from the list of saved passwords in Firefox manager. Now, when I visit that site, FIREFOX doesn't ask me to save the password for this site. WHY ?

  • Getting Error in AppPart "The feed you've requested does not exist."

    I am getting " The feed you've requested does not exist." Error while app-part is getting loaded on a page. It works well while we open the app alone. The feed we are using is Yammer feed. Ashish Baranwal || To know what you know and what you do not

  • TS1424 8102 error

    Trouble dowloading two music tracks since artwork cannot be found. Have tried repeatedly downloading but to no avail, each time the following message appears- "There were problems downloading some purchased items. For more information on the items th

  • What's eating up all my HD space?

    I'm trying to figure out why my HD on my MacBook Pro (160GB) keeps filling up.  When I add up all of my obvious folders (photos, music, movies, applications, etc.) I can only find about 100GB.    Plus, I'm getting this very odd graphic when I check v