Dynamic Parameter in Page Header

Help.  I am trying to print a dynamic parameter in my page header.  I am allowing more than one value, but it only shows the first value, not the entire list.  How do i get it to show my entire list??<br /><br />Samantha L.

Multivalued parameters are returned as arrays not scalar values.
Therefore, you should create a formula that loops on the selected values and "merges" them the way you want.
Beware when there are many, many selections and when ranges are allowed.
Hope this helps,Â
Jordi Rambla<br />BOE & CR Consultant & trainer
Microsoft MVP SQL Server
Certia (http://www.certia.net )
BusinessObjects Partner
Microsoft Partner

Similar Messages

  • Dynamic field in master page header?

    Is it possible to put a dynamic field in a master page header that will either pull from a hidden text field added to each subform (e.g., appID) or pull in the title of the subform itself?  I have a number of variable-sized subforms that need the same header and footer, with the only distinct element being a different number at the top.
    I've been looking for a standard variable or wildcard that can be used to dynamically reference an object at the same level in multiple subforms, but so far have not been able to find what I need.
    Hierarchy:
    form1
         masterpage
         subformApp1
         subformApp2

    Hi Sankar,
    Create on eattribute of type String and bind to title property of page header,
    and your WDDOINIT or any event write code to set title for PG header,
    You are using different buttons, use this code in your buttons and change text.
    DATA lo_el_context TYPE REF TO if_wd_context_element.
      DATA ls_context TYPE wd_this->Element_context.
      DATA lv_pg TYPE wd_this->Element_context-pg.
    * get element via lead selection
      lo_el_context = wd_context->get_element( ).
      data pg1 type string.
      pg1 = 'selected the record'.
      lv_pg = Pg1.
    * set single attribute
      lo_el_context->set_attribute(
        name =  `PG`
        value = lv_pg ).
    In button 1..
    lv_pg = 'Enter the entries'.
    * set single attribute
      lo_el_context->set_attribute(
        name =  `PG`
        value = lv_pg ).
    Cheers,
    Kris.

  • Dynamically create javascripts using pl/sql code from page header

    I understand by placing a javascript code in the page header is one of the way adding javascript functionality to your pages.
    But lets say I need (dynamically) bring my javascripts into the page header using my pl/sql package/functions like core_func_jscript_pkg.get_jscript('jf_isnumber');
    1- How can I call my pl/sql package/functions from page header area of Apex?
    If I need to use 20 javascripts functions into a page which I have them stored in database (using them on my other pages) and I don't want to copy or re-write them in Apex, instead I like to have 20 line of calls to my pl/sql package like:
    core_func_jscript_pkg.get_jscript('myFirstJavascript');
    core_func_jscript_pkg.get_jscript('mySecondJavascript');
    core_func_jscript_pkg.get_jscript('myThirdJavascript');
    core_func_jscript_pkg.get_jscript('myFourthJavascript');
    ... and so on.
    2- In past we wrote our web apps using pl/sql example:
    htp.p('<html>');
    htp.p('<head>');
    core_func_jscript_pkg.get_jscript('jf_get_today_date');
    core_func_jscript_pkg.get_jscript('someothe_scripts');
    htp.p('</head>');
    htp.p('</html>');
    I like to do the same thing in Apex, Can I accomplish this in Apex?
    Thanks again
    -iahmadi

    There was a <head> content & dynamic metadata with APEX? that should provide some pointers.

  • 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

  • Dynamically changing page heading

    Hi,
       I need to change my page heading dynamically how can i do that one.
    For example i have a view which contains a view container and four buttons like create, change... When i press a button the appropriate page heading should come.
    I am expecting to ur valuable answer.
    Regards...
    Arun.

    Hi Arun,
    As far as I know, you cannot change the page heading (if you are referring to the heading on the IE window) dynamically, as it is the name of your application.
    However, you can use a PageHeader UI Element (at the top in ur RootUIElementContainer) and bind the 'title' property to an attribute in your context. You can change this attribute, depending on any events that occur.
    Regards,
    Neha
    <i><b>PS:Reward of helpful</b></i>

  • Dynamic Text in the Page Header

    Hi Gurus,
         I have a small requirement i.e., changing the text of title on page header UI element based on condition. if create then create data else if it is display then display the info some thing like that.
       Kindly can some help me regarding this....
    Regard
    Sankar

    Hi Sankar,
    Create on eattribute of type String and bind to title property of page header,
    and your WDDOINIT or any event write code to set title for PG header,
    You are using different buttons, use this code in your buttons and change text.
    DATA lo_el_context TYPE REF TO if_wd_context_element.
      DATA ls_context TYPE wd_this->Element_context.
      DATA lv_pg TYPE wd_this->Element_context-pg.
    * get element via lead selection
      lo_el_context = wd_context->get_element( ).
      data pg1 type string.
      pg1 = 'selected the record'.
      lv_pg = Pg1.
    * set single attribute
      lo_el_context->set_attribute(
        name =  `PG`
        value = lv_pg ).
    In button 1..
    lv_pg = 'Enter the entries'.
    * set single attribute
      lo_el_context->set_attribute(
        name =  `PG`
        value = lv_pg ).
    Cheers,
    Kris.

  • Is there any way to add dynamic parameter in sql without breaking Server Behavior

    Hello, i'm building multiple language site.. i would like to know if there is possible way to add dynamic parameter in my query, without break the server behavior.
    For example:
    mysql_select_db($database_dxc_conn, $dxc_conn);
    $query_Recordset1 = "SELECT article.articleName, article.articleDesc FROM article";
    $Recordset1 = mysql_query($query_Recordset1, $dxc_conn) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    will become something like this:
    $additionalSQL=", article.articleName_en";
    mysql_select_db($database_dxc_conn, $dxc_conn);
    $query_Recordset1 = "SELECT article.articleName, article.articleDesc $additionalSQL FROM article";
    $Recordset1 = mysql_query($query_Recordset1, $dxc_conn) or die(mysql_error());
    $row_Recordset1 = mysql_fetch_assoc($Recordset1);
    $totalRows_Recordset1 = mysql_num_rows($Recordset1);
    this is just an example, my real scenarion is far more complicated than this... however this kind of approach break the server behavior and force to do hand-coding...
    i would like to know if there's better way to do such thing like this...

    viktor.iwan wrote:
    Hello, i'm building multiple language site.. i would like to know if there is possible way to add dynamic parameter in my query, without break the server behavior.
    Server behaviors are simply bits of boilerplate code automatically generated by Dreamweaver. Editing the code doesn't "break" it (unless your edits are badly written). However, once you edit the code, Dreamweaver no longer recognizes it, so you lose the ability to drag recordset results from the Bindings panel.
    If you want to edit server behavior code, the best way to handle it is to lay out your page as you want, using the Bindings panel. Once everything has been done, only then edit the server behavior code.

  • How can we use C# to read dynamic parameter's value list from .rpt?

    I'm using Cystal Report 2008. We know starting from CR XI we can create dynamic parameters, the list of items of this kind of parameter are fetching from database. So in general the SQLs to get the list of values for dynamic parameters are stored in the .rpt.
    In Crystal Report Designer, if I preview a report with dynamic parameters, it will first query the database and then show the input dialog with list of values from database for user to choose. My question is can we implement the same thing by our C# code? I'm planning to use C# code to read this dynamic parameter's value list from .rpt and render them on the web page. Then pass back the user selected values to the .rpt to run the report after user make the choice. I didn't find any APIs can do this. Is it possible?
    Thanks in advance!!

    Hi,
    Can you explain a bit in detail, I have similar scenario. I am using the following code but not getting the Column name for dynamic parameter list.
    foreach (ParameterFieldDefinition prm
                              in reportDocument.DataDefinition.ParameterFields)
                    try
                        string vParameterFieldName;                   
                        *vParameterFieldName = prm.ParameterFieldName.ToString();*
    Shakeel

  • Dynamic lenght in report heading

    Hi experts,
    I need to pass dynamic length in report heading.
    i.e.., REPORT zrep LINE-SIZE dyn_len NO STANDARD PAGE HEADING.
    So that my report output width will be in different length based on value dyn_len.
    Any solution or alternative in simple list display. Pls suggest ....
    Thanks in advance.
    Zak.

    Hello,
    Do not specify LINE SIZE in that case.
    Thanks,
    Jayant

  • Dynamic parameter in webgui Iview url

    Hello experts,
    here it's my problem : In a email notification i put a link like this :
    [http://<myserver>.org:8000/sap/bc/gui/sap/its/webgui/?sap-client=210&sap-language=EN/webgui/!&transaction=SWNWIEX&P_WI_ID=000000018277&P_ACTION=EXECUTE&OKCODE=ONLI]
    (i'ts for realease a purchase request in a webgui frame)
    And for SSO reason i want to integrate this url in our portal. So i have created an url iview for join this adress [http://<myserver>.org:8000/sap/bc/gui/sap/its/webgui/] with my statics parameters in url parameters : sap-client, sap-language, transaction, P_ACTION and OKCODE.
    I call this new iview with his pcd url like this for exemple :
    [http://<myserver>.org:50000/irj/portal?NavigationTarget=ROLES://portal_content/iter_fd/test]
    It works fine, my webgui frame with SWNWIEX transaction in client 210 is opening! But i want add a dynamic parameter in this url for open the right Work Item (P_WI_ID).
    In fact, i want open an url like this:
    [http://<myserver>.org:50000/irj/portal?NavigationTarget=ROLES://portal_content/iter_fd/test&P_WI_ID=000000018277]
    But it doesn't work.
    I search on this forum and i try this solutions with no results :
    [http://<myserver>.org:50000/irj/portal?NavigationTarget=ROLES://portal_content/iter_fd/test&DynamicParameter=P_WI_ID%3D000000018277]
    [http://<myserver>.org:50000/irj/portal?NavigationTarget=ROLES://portal_content/iter_fd/test&DynamicParameter%3DP%5FWI%5FID%3D000000018277]
    Thanks a lot for your help !

    Dear ronando
    why you don't use IAC iViews?
    it's for that kind of thinks that you can use that xD
    In the System you can setup the SSO config's and you can add the parameter by URL
    http://.org:50000/irj/portal?NavigationTarget=ROLES://portal_content/iter_fd/test&DynamicParameter%3DP%5FWI%5FID%3D000000018277
    You have to read this two pages:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/e046cb5c-711a-2a10-95a9-81b365901b95
    http://help.sap.com/saphelp_nw04/helpdata/en/5a/6898dddb7afd44b07ca4e3bb15f676/frameset.htm
    it's seems very easly xD
    Thank you
    with best regards
    João Macedo

  • Dynamic parameter and SSO... HELP FAST!

    I should add an external application to portal. But I have a problem with a dynamic parameter that the application, in the normal case, generates when the user access the login page. But when the user comes from the portal this parameter never gets generated since the SSO posts the parameters straight to the application without going through the actual login page.
    Does Oracle provide a solution to this kind a problem?

    Has anyone solved this one or know when it is likely to be available ?
    I urgently need to ba able to address this for a customer.

  • IMPORT from database with dynamic parameter list

    Hi Gurus,
    Iu2019m having problems during import from a cluster table.
    I wanu2019t to do an import with a dynamic parameter list, but I cannot get it to work.
    Sample code ********
    DATA: BEGIN OF st_key,
    report LIKE rsvar-report,
    variant LIKE rsvar-variant,
    END OF st_key.
    DATA dirtab1 LIKE cdir OCCURS 10 WITH HEADER LINE.
    DATA dirtab2 LIKE cdir OCCURS 10 WITH HEADER LINE.
    st_key-report = 'ZPRG'.
    st_key-variant = 'VAR1'.
    IMPORT DIRECTORY INTO dirtab1 FROM DATABASE vari(vb) ID st_key.
    IMPORT DIRECTORY INTO dirtab2 FROM DATABASE vari(va) ID st_key.
    DATA: tmp_var(100)   TYPE c.
    This works - P_BWTAR is a parameter from the selection screen registred in VARI
    I'm getting the content of the field in tmp_var
    IMPORT p_bwtar TO tmp_var FROM DATABASE vari(va) ID st_key.
    This does not work - the parameter P_BWTAR is in the dirtab2-name
    I'm not getting the content
    LOOP AT dirtab2.
        IMPORT dirtab2-name FROM DATABASE vari(va) ID st_key.
      ENDIF.
    ENDLOOP.
    I have tried the syntax IMPORT (dirtab2-name) ........
    but this fails the syntax check.
    Please - if you have any suggestions  :o)
    Best Regards,
    Vibeke

    Dear Vibeke,
    Could you please explain us how you solved the problem because you have the same issue ?
    thanks a lot
    KR
    véronique

  • How to have a Dynamic PARAMETER in SMARFORMS

    Hi,
    I need a dynamic Parameter which will change its value for each copy. What I mean is I have a SmartForm with 1 Page. When number of copies is increased the dynamic Parameter should change in each copy.
    The following System Field will be used to display the copy number. Cant I do a arithmetic operation to this field.
    &SFSY-COPYCOUNT(CIZ)& + 1
    Thanks
    Kishan

    Hi,
    If you mark Identical Copies SAP Smart Forms buffers the output to increase performance. Within such a window, any queries of the system fields SFSY-COPYCOUNT or SFSY-COPYCOUNT0 have no effects.
    If you mark Different Copies SAP Smart Forms generates the contents again for each copy. You use this option if, for example, you want to number your copies consecutively (Copy 1, Copy 2, Copy 3, and so on).
    For more information,Check this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/b1/243fe0beee11d4b633006094192fe3/content.htm

  • Crystal Report parameter creating pages of lists to choose from

    Hi All,
    We have created a crystal report to produce statements for customers. We have added a dynamic parameter so the user can choose which BP Codes they want to run the report for, but the report creates several pages of codes, so, the user has to look through the pages to find the code to select.
    Is there any way to stop the report from creating these pages? I have been unable to find any mention of these in the online help files.
    Thanks

    Hi Prem,,
    I have created a crystal report which contains a parameter to choose a BP Code to run it for.
    The parameter is a dynamic one, so it fetches the list from the database, however, instead of opening one drop down box to scroll & choose the BP, it creates 5 pages of lists, so the user first has to guess which page the BP might be on, then scroll through the page to find the code.
    I need to know if there is a way to change this behaviour in crystal reports.
    Thanks

  • Dynamic parameter - Failed to retrieve data from the database

    I'm running  a report with dynamic parameters and this report ran successfully for 2 days . For no apparent reason they stopped and the error message was received.  There was no interference from head office soI'm at a loss to explain why the viewer / reports suddenly stopped working.
    Now  I get the following message:
    Prompting failed with the following error message:
    'List of values failure: fail to get values. Cause of error: Failed to retrieve data from the database. Error in file UNKNOWN.RPT: Failed to retrieve data from the database.'
    Error source: prompt.dll Error code: 0x8004380D
    The report is running on a Oracle database using CR-Viewer XI Product version 12.01.1.r228_v20071114
    I know there is a problem with dynamic parameters and citrix, but this is not run on citrix.
    Please help anypne
    Edited by: tstegen on Sep 30, 2009 2:48 PM

    Is this report based or Enterprise based LOV?
    If you have report published to BOEnterprise, then it automatically creates a chain of objects for any dynamic parameter:
    Data Connection,
    Data Foundation,
    Business View,
    Business Element
    and LOV.
    Each of this objects have configurations like users rights, permissions and some have logon configuration. Failing any of those elements may cause LOV to fail.
    One of the tests you may try is to test relevant Business View by connecting Crystal reports to it.
    Are you familiar with Business View Manager?

Maybe you are looking for

  • Project file location...an issue?

    I used to be warned by a supervisor to place FCP project files on the internal drive because it was worse to run the project directly from the ext. drive, even the one with the same media. (So the project file is on the computer and the media on an e

  • Critical: Requirements not transferred to sourcing worklist

    Hi, EBP 4.0 , SP11. Classic scenario. We have configured in such a way that all the requirements after approval are transferred to the purchasers worklist. But since the last one day 100% of requirements are not getting transferred to the sourcing wo

  • ABAP Generated WSDL Error ::

    hi experts, What could be wrong in ABAP Generated WSDL showing error when checked in SOAP tester? <soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">    <soap-env:Body>       <soap-env:Fault>          <faultcode>soap-env:Cl

  • Labview Chromatograhpy and Willstein software

    I am a student who is new to labview. My college purchased a program called Chromatography toolkit from Willstein software several years ago. I am told that it worked great with our computer and G.C. but now that we have moved to a new building and h

  • 4s wont update ios through itunes

    Really stuck here and have tried a few things. Went to update ios through phone via a messsage to update software. did that and when my phone came back on it said to connect to itunes. This done the download stopped just before the end and said the d