How to pass a value to a filter prompt based on a value list?

I have a query that has a filter prompt that is based on a value list. I want to call this query from another query as a drill down.
So I build the URL to call the query and pass the value for the filter prompts as URL parameters. For the filter prompts that are simple text fields this works without problems, but how do I pass a value to the filter prompt that is based on the value list?
I tried passing
<parameterName>=<valueListId>:616:null
and that gives me "None" for the value list prompt as expected.
I then tried to pass the DisplayName (as I would do when setting a default value for the prompt).
Like this:
<parameterName>=<displayName>
but that does not work.
I also tried some variations/combinations like
<parameterName>=<valueListId>:616:<displayName>
but that does not work either.
So does anybody know how to pass a parameter to the value list prompt?

Hi Martin,
I saw the following post which may help answer your question.
How to default a Value List or Object Picker to a particular value
Regards,
Reshma

Similar Messages

  • How do I create a URL to filter a view when the value I have from list one is the ID that was used by list 2 to pull in the list 1 title?

    My list "Tasks" has an record with Title = "Build SSIS for Duke Energy" and its ID is 1. Then I have a list "Journal" where I have tracked entries related to the progress of the task. When I create the Journal entries I passed
    in the ID of the task 1 which then pulled the title into the Journal's Associated task lookup column. Now I'd like to have a column in the Tasks list that would have a URL to take me to all journal entries related to the Task. But passing in the ID 1 of the
    task does not work. 
    If the lookup column has the actual Title from the task in all the time and it is not dynamically pulled every time the list is queried shouldn't I be able to filter on the Title e.g. "Build
    SSIS for Duke Energy"  

    I ended up going with a workflow to build the URL and sending the title to the look-up column. 
    I tried the script at that site and ran into several problems. It didn't work with views that were grouped, the calculated links did not show on the edit and view forms. I assume those forms would have to be changed to run the script also.
    In addition to, I have to add a CEWP to each view and I was also losing the "Items" and "List" options (next to "Browse") from the ribbon until I clicked around in the list. 
    What are the downfalls of a workflow? I ask because many people default to using a similar TextToHTML script like you mentioned.

  • Filter query based on a value from a drop down menu

    I am using ADFBC/JDev 10.1.3/ADF-faces (JSPX)
    I would like to display a table of data based on a view object and have a drop down menu of values that the user can select from which would filter the table of data. The filter would be applied to a field in the VO. For example, have a JSPX page that shows all employees and have a drop down menu that filters the employees by a specific department with an option to show all departments too in the drop down. I'm not sure if Steve Muench's example #76 (http://radio.weblogs.com/0118231/stories/2004/09/23/notYetDocumentedAdfSampleApplications.html) would serve as a basis for this requirement or not.
    Can anybody give me high level guidance on how to do this? Both declaratively and programmatically would be great.
    Thanks,
    Quoc

    I can't get the JSPX page to display the correct data. It's displaying the entire VO and when you try to select Yes or No or All from the drop down menu, it just changes the Active Flag column in the table to whatever you select for the first row only and still displays the rest of the rows in the VO.
    Here's my JSPX code:
    <?xml version='1.0' encoding='windows-1252'?>
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
              xmlns:h="http://java.sun.com/jsf/html"
              xmlns:f="http://java.sun.com/jsf/core"
              xmlns:af="http://xmlns.oracle.com/adf/faces"
              xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
              xmlns:cust="http://xmlns.oracle.com/adf/faces/customizable">
      <jsp:output omit-xml-declaration="true" doctype-root-element="HTML"
                  doctype-system="http://www.w3.org/TR/html4/loose.dtd"
                  doctype-public="-//W3C//DTD HTML 4.01 Transitional//EN"/>
      <jsp:directive.page contentType="text/html;charset=windows-1252"/>
      <f:view>
        <afh:html>
          <afh:head title="showEmployees">
            <meta http-equiv="Content-Type"
                  content="text/html; charset=windows-1252"/>
          </afh:head>
          <afh:body>
            <af:messages/>
            <h:form>
              <af:panelForm>
                <af:selectOneChoice value="#{bindings['bind_active_flag1'].inputValue}"
                                    label="#{bindings['bind_active_flag1'].label}">
                  <f:selectItems value="#{bindings['bind_active_flag1'].items}"/>
                </af:selectOneChoice>
                <af:commandButton actionListener="#{bindings.ExecuteWithParams.execute}"
                                  text="ExecuteWithParams"
                                  disabled="#{!bindings.ExecuteWithParams.enabled}"/>
              </af:panelForm>
              <af:table value="#{bindings.EmployeesView.collectionModel}" var="row"
                        rows="#{bindings.EmployeesView.rangeSize}"
                        first="#{bindings.EmployeesView.rangeStart}"
                        emptyText="#{bindings.EmployeesView.viewable ? 'No rows yet.' : 'Access Denied.'}">
                <af:column sortProperty="EmployeeId" sortable="true"
                           headerText="#{bindings.EmployeesView.labels.EmployeeId}">
                  <af:outputText value="#{row.EmployeeId}">
                    <f:convertNumber groupingUsed="false"
                                     pattern="#{bindings.EmployeesView.formats.EmployeeId}"/>
                  </af:outputText>
                </af:column>
                <af:column sortProperty="FirstName" sortable="true"
                           headerText="#{bindings.EmployeesView.labels.FirstName}">
                  <af:outputText value="#{row.FirstName}"/>
                </af:column>
                <af:column sortProperty="LastName" sortable="true"
                           headerText="#{bindings.EmployeesView.labels.LastName}">
                  <af:outputText value="#{row.LastName}"/>
                </af:column>
                <af:column sortProperty="ActiveFlag" sortable="true"
                           headerText="#{bindings.EmployeesView.labels.ActiveFlag}">
                  <af:outputText value="#{row.ActiveFlag}"/>
                </af:column>
              </af:table>
            </h:form>
          </afh:body>
        </afh:html>
      </f:view>
    </jsp:root>Here's the bindings page:
    <?xml version="1.0" encoding="UTF-8" ?>
    <pageDefinition xmlns="http://xmlns.oracle.com/adfm/uimodel"
                    version="10.1.3.41.57" id="showEmployeesPageDef"
                    Package="view.pageDefs"
                    MsgBundleClass="view.pageDefs.showEmployeesPageDefMsgBundle">
      <parameters/>
      <executables>
        <iterator id="EmployeesViewIterator" RangeSize="10" Binds="EmployeesView"
                  DataControl="AppModuleDataControl"/>
        <variableIterator id="variables">
          <variableUsage DataControl="AppModuleDataControl"
                         Binds="EmployeesView.variablesMap.bind_active_flag"
                         Name="EmployeesView_bind_active_flag" IsQueriable="false"/>
        </variableIterator>
        <iterator id="DropDownIterator" RangeSize="-1" Binds="DropDown"
                  DataControl="AppModuleDataControl"/>
      </executables>
      <bindings>
        <table id="EmployeesView" IterBinding="EmployeesViewIterator">
          <AttrNames>
            <Item Value="EmployeeId"/>
            <Item Value="FirstName"/>
            <Item Value="LastName"/>
            <Item Value="Email"/>
            <Item Value="PhoneNumber"/>
            <Item Value="HireDate"/>
            <Item Value="JobId"/>
            <Item Value="Salary"/>
            <Item Value="CommissionPct"/>
            <Item Value="ManagerId"/>
            <Item Value="DepartmentId"/>
            <Item Value="ActiveFlag"/>
          </AttrNames>
        </table>
        <action id="ExecuteWithParams" IterBinding="EmployeesViewIterator"
                InstanceName="AppModuleDataControl.EmployeesView"
                DataControl="AppModuleDataControl" RequiresUpdateModel="true"
                Action="95">
          <NamedData NDName="bind_active_flag" NDType="java.lang.String"
                     NDValue="${bindings.EmployeesView_bind_active_flag}"/>
        </action>
        <attributeValues id="bind_active_flag" IterBinding="variables">
          <AttrNames>
            <Item Value="EmployeesView_bind_active_flag"/>
          </AttrNames>
        </attributeValues>
        <list id="bind_active_flag1" IterBinding="EmployeesViewIterator" StaticList="false"
              ListOperMode="0" ListIter="DropDownIterator" NullValueFlag="1"
              NullValueId="bind_active_flag1_null">
          <AttrNames>
            <Item Value="ActiveFlag"/>
          </AttrNames>
          <ListAttrNames>
            <Item Value="Value"/>
          </ListAttrNames>
          <ListDisplayAttrNames>
            <Item Value="Description"/>
          </ListDisplayAttrNames>
        </list>
      </bindings>
    </pageDefinition>Any ideas?

  • Filter data based on the value of sorce field in mapping

    Hi,
    I have a scenario (IDOC to file) where i have to move data to target file,  only when one of the source fields has particuler value. Otherwise skip the record, no need to write into output file.
    Please let me know how to handle it in mapping, without BPM.

    Karthik,
    Ofcourse there is no need of BPM, You can use the IF without Else function in your mapping with using Equals function.
    Example:
    Field1 ---> Equals (Particualr Value) -
    > IF -
    > Then -
    > pass it to Target field.
    Since there is no Else option, therefore whenever condition will fail, nothing will be passed to the target field.
    Regards,
    Sarvesh

  • How to change the chart color in report 6i based on its value?

    I built a simple chart using Chart Wizard in Report 6i, with X axis = supplier and Y axis = rating. I want the chart to show different color for certain rating, eg: above 80% => red color.
    Anyone know how to do this?
    Pls help!

    Hi Resham,
    In SP list, you change the background color of field value using Content editor and javascript.
    Add the content editor webpart on the list page with javascript which highlight the particualr value based on the condition.
    You can refer to following link
    http://blog.pathtosharepoint.com/2009/02/26/highlight-rows-in-sharepoint-lists/
    Thanks,
    Vivek
    Please vote or mark your question answered, if my reply helps you

  • Set  filter value by other filter prompt value in Webi on top of BW

    Dear All,
       In webi report which on top of BW cube, I create a filter with prompt for YearMonth selection.
        Is there any way to create another filter for Year which based on the select Year month?   For example , user input YM = 200903 --> Year = 2009
       In bw , we can create variable with exit which read the data from other variable. Is there any exit for filter we can use in webi?
       I am using XI 3.1 & BI 7.0.
    Thx,
    Jeff

    Hi Jeff,
    since you want to limit the normal time dimension on your cube why do'nt you remove the yaer month filter form your SAP BW query and replace it with a month filter?
    Generally you have two options:
    1) You can either add you own filters (using MDX syntax) in the universe.
    [http://help.sap.com/businessobject/product_guides/boexir31/en/xi3-1_sap_olap_universes_en.pdf]
    2) Use local Web filters (these are applied on the report itself).
    Regards,
    Stratos

  • Populate values in f4 dialog screen based on the values in selction screen

    hi,
    i have done a module program where i would enter the details like ssales org ,division,distribution channel in the selection screen and would enter the screen having the table control... in that table control i have a field for customer code.. when i press f4 for cus code.,dialog box appears for the cus code and in that , sales group tab should be selected and the divsion ,dist channel and sales organisation i gave in the slection screen should be displayed as default...how can i do this ..
    since there is no screen no as such i am finding it difficult to crack.
    with thanks in advance ,
    syed

    if you do not give a specific number to selection-screen, its dynpro number is 1000.
    So in POV (AT SELECTION-SCREEN ON VALUE-REQUEST) use the classical DYNP_VALUES_READ with dynumb  = '1000' to get current values from screen, then you can
    - Fill yourself an internal table and call F4IF_INT_TABLE_VALUE_REQUEST
    - Call F4IF_FIELD_VALUE_REQUEST using CALLBACK_PROGRAM and CALLBACK_FORM to call a form in your report that will be executed by the search-help and there (look at online documentation) will change the default values of subfiled (itab) SELOPT of  SHLP parameter (type SHLP_DESCR_T)
    Sample of the second case (there are already too many samples for the first on sdn)
    .* POV
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_umskz.
      CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
           EXPORTING
                tabname          = 'BSID'
                fieldname        = 'UMSKZ'
                callback_program = g_repid " copy of sy-repid
                callback_form    = 'CGS_DEBITOR'
           TABLES
                return_tab       = return_tab
           EXCEPTIONS
                OTHERS           = 1.
    * Form for callback
    FORM cgs_debitor TABLES   record_tab STRUCTURE seahlpres
                     CHANGING shlp TYPE shlp_descr_t
                              callcontrol LIKE ddshf4ctrl.
    * Local data
      DATA: ddshiface TYPE ddshiface,
            worklist LIKE lumskz,
            dynpfields TYPE TABLE OF dynpread WITH HEADER LINE.
    * Only D-ebitor
      LOOP AT shlp-interface INTO ddshiface WHERE shlpfield = 'KOART'.
        ddshiface-valtabname = 'BSID'.
        ddshiface-valfield   = 'KOART'.
        ddshiface-value      = 'D'.
        MODIFY shlp-interface FROM ddshiface.
      ENDLOOP.
    ENDFORM.
    .Regards,
    Raymond

  • How to get a calculated default date value as filter prompt

    Dear Colleagues,
    I would need to get a calculated date as dafault value in a query filter promp.
    I tried to use the token <%TODAY%> to set by default the current date and it works.
    But I'd need to set 6 months before the current date as default value in the filter prompt. Any idea to get it?
    I tried to set <%TODAY%> - 120 for example  but it's not working because I think the system is taking this as a DATE type value.
    Thanks in advance!
    Regards.
    Martin

    Dear Colleagues,
    I would need to get a calculated date as dafault value in a query filter promp.
    I tried to use the token <%TODAY%> to set by default the current date and it works.
    But I'd need to set 6 months before the current date as default value in the filter prompt. Any idea to get it?
    I tried to set <%TODAY%> - 120 for example  but it's not working because I think the system is taking this as a DATE type value.
    Thanks in advance!
    Regards.
    Martin

  • Multible MBO's with input parameter's how to pass them?

    Hello gurus i'm currently working on native app that based on BAPI MBO's and each MBO takes input parameter and return some values
    at the first MBO i made the input parameter is personalization key but after adding a second MBO and make the same to the second MBO when i generated the code and passing the PK values only for the first MBO i got an error
    any help on how to pass input parameters for native app that based on BAPI for multiple MBO and i will not pass all the parameters at the same time depend on the screen that i'm in i will call MBO
    thanks in advance

    Steps to do a sync from MBO is given below (android native app):
    Create MBO and PK.
    Map MBO load parameter with PK.
    Create Second MBO and another PK (or use existing PK if the input parameter of first MBO is same as second MBO).
    Map Second MBO load parameter with second PK.
    Sample native code (android):
    //Assing Values to PK
    PersonalizationParameters param = CustomersDB.getPersonalizationParameters();
              param.setPK_CustomerInput("1001");
              param.save();
              CustomersDB.subscribe();
    //Make a blocking synchronize call to Unwired Server to pull in all MBO data
              CustomersDB.synchronize();
    //Finall is the query generated by SUP to get the data from the table Customers.
    //Customers is the MBO name in SUP and table name in Device DB
    Customers.findAll()
    Give the steps you performed with relevant screen shots to help you further.
    More info, Developing SAP Android Mobile app from scratch - Part 4
    Midhun VP

  • How to pass credentials/saml token access sharepoint web service ex:lists.asmx when sharepoint has single sign on with claims based authentication

    How to pass credentials/saml token exchange to the sharepoint web service ex:lists.asmx when sharepoint has single sign on with claims based authentication 
    Identity provider here is Oracle identity provider 
    harika kakkireni

    Hi,
    The following materials for your reference:
    Consuming List.asmx on a claims based sharepoint site
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/f965c1ee-4017-4066-ad0f-a4f56cd0e8da/consuming-listasmx-on-a-claims-based-sharepoint-site?forum=sharepointcustomizationprevious
    Sharepoint Claims based authentication and Single Sign on
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/2dfc1fdc-abc0-4fad-a414-302f52c1178b/sharepoint-claims-based-authentication-and-single-sign-on?forum=sharepointadminprevious
    Sharepoint Claim Based Authentication Web Service issuehttp://social.msdn.microsoft.com/Forums/office/en-US/dd4cc581-863c-439f-938f-948809dd18db/sharepoint-claim-based-authentication-web-service-issue?forum=sharepointgeneralprevious
    Best Regards
    Dennis Guo
    TechNet Community Support

  • Query design: Default Value List Filter Prompt to None

    I am building a query with several filter prompts which are of data type Value List
    The problem is that the list defaults to the first value in the Value List, and I would like to default it to None. The reason of course is so users don't have to switch all the dropdowns to None manually.
    I am wondering, what is the default value that can default the list to None? I have tried "0", "None", "null" all to no avail. My current hack is to add another value to the value list called "Any" and make it the first choice in the list.

    Unfortunately I tried that and it didn't work.
    The values of my filter prompt are as follows.
    Parameter Name: AGREEMENT_TYPE
    Prompt Message Resource: Agreement Type 
    Default Value: null:616:null
    Data Type: Value List
    String Matching:Exact Match
    Value List Type: Agreement Type
    Prefill value from cache:
    Optional:
    Hidden:
    Locked:

  • Filter Page Prompts based on Dashboard Prompts Presentation Var

    Hey, No one has faced this issue? Can I get some inputs please?
    Hi,
    I have a requirement where in I need to filter the multi-select values in the page prompt, based on the presentation variable that is set by dashboard prompt. Oracle said that its a bug,
    that once a presentation variable is set, we can't use that in SQL, when using multi select. But, I am wondering if anyone has some work around solution for this?
    TO be more clear, here is the explanation.
    I have a dashboard prompt that is selected initially in a page, which sets a presentation variable. Now, in another page, I want to use a multi-select prompt, which take the SQl values that filters based on the presentation variable set initially. But, this is not working. I am not able to filter values when I use the SQl like, "select .. from ..where var = presentation_var."
    If anyone has any workarounds, thats appreciated.
    Thanks.
    Edited by: Chandu.bi on Dec 2, 2010 8:37 AM
    Edited by: Chandu.bi on Dec 2, 2010 11:29 PM

    Sorry, no such functionality, at least not yet.
    Build two dashboards, one for the business users and one for the technical users. Then build a third "cover page" dashboard with two links using the Link or Image object. One link will say "Business Users" the other "Technical Users" and the links will take them to their own dashboard with just the prompts that concern them.
    If you want to bypass the "cover page" idea, you can use Portal Path to direct all business users to the "business" dashboard and the technical staff to the "technical" dashboard based on their login.
    Check this out for how to do this:
    http://obiee101.blogspot.com/2008/06/obiee-directing-user-to-default.html

  • Autopopulate data in listitem based on the value of data in other itemlist

    Hi,
    In my project there is requirement of populating the data in based on the value populated in other list item.
    For ex in list box item we select value 'PE' then in second list box based value of PE should be populated.If we select other value for ex 'PA' then in second list other valu is populated.So how can we populate the data in second itemlist based on the value selected in the first listitem

    Hello,
    <p>In this article, you can find a dialog sample that does that (section : 2.4.2)</p>
    Francois

  • Assign Task to a specific user based on the value of DDL from the form

    Hello,
    Can any one please advise me on how to assign a task to a specific user based on the value of the drop down list from the form. E.g. user fills the form and before they submit the form they have to select one of the name from the drop down list so the form can go to that person for approval.
    Thanks in advance,
    Han

    I got it works now by using the xpath expression (in workbench) to assign to the selected user from the DDL in the form.

  • Visualize Filter prompts in Web Intelligence documents

    Hi !  I need to know how to visualize the content of a Filter prompt within the document. (i.e. a date entered by the user as a parameter required).  Does exist some manner to do it ?  Thanks

    yes UserResponse()  is what you are looking for
    say that you have a paramter called "Enter Date:"
    user this function in a variable =UserResponse("Enter Date:")
    it will show whatever the user put into the parameter

Maybe you are looking for

  • Closing an external window

    Hello, I would like to close an external window dynamically by calling the method lr_myextwin->close( ) when some event occurs. This does not seem to work since the opened external window is still open... Ofcourse it is possible to manally close the

  • Extending my desktop across 2 (DVI) displays from 15" MacBook Pro Retina

    Hi. I bought a new 15" MacBook Pro Retina a few days ago and am trying to connect 2 Dell displays with a view to extending my desktop across them both. At the Apple shop I was told I simply needed to buy 2 Thunderbolt to DVI converters (my 2 displays

  • How to read XML by item name

    We have a XML config file as attachement. It has many jobs' configuration in it(<Job>). For every job, therer will be a item of <JobActive> with value of Y or N. Sometimes, we need to toggle the Y or N for some certain jobs. I tried to read the <JobN

  • How to maintain Strict Ordering of messages using SOA Suite where AQ is used for persistence.

    The requirement is this - Source DB -> Poller DB Adapter-> BPEL -> AQ -> DEQUEUE -> Target System Messages are DEQUEUED from an AQ (second part above - AQ -> DEQUEUE -> Target System) . The messages in this AQ are to be sent strictly in order to the

  • Flash Player ActiveX Failure... Flash Gallery

    I can not watch my web-sites made with LR - "flash-gallery" anymore, before I have uninstalled The Flash Player; and re-installed it again, but as soon I have restarted my computer: The same problem! (and the links do not work proberly) I run Vista a