Need cascading drop downs based on non hierarchial attributes

Post Author: Out of the box thinking
CA Forum: WebIntelligence Reporting
Using BO XI Web Intelligence.  I am trying to create multiple dropdowns to dictate the data input for a report.  The drop downs should include attribute values for products.  (EG: Color, Size, Flavor, Brand etc) these attributes do not follow a structured hierarchy and does not have a parent to child relationship.  I am trying to dictate the values that should be shown in all dropdowns based on the value selected in any drop down.  For example, if the user selects "Red" from the "color" drop down, Brand dropdown content should only include those brands that have "Red" products.  Similarly, "Flavor" dropdown should only show the flavors that has "Red" products.  These dropdowns should not be in the report body.  They should be in the left hand user control menu. 
Is this something already available? If not, any work arounds?
I appreciate any inputs. 

Hi,
First of all: if I understand you correctly, you do want your checkbox value to be available within the view object. If so, you need to make it a transient attribute of your VO and your checkbox must be databound to that attribute (you were talking about a non-databound item). Whether the item relates to anything in the database is irrelevant from a JHeadstart point of view.
Your second question is actually an ADF related question, it has nothing to do with JHeadstart. In general I would say that you either update View Object attributes immediately when the flag is changed, or you do it in the Entity itself at Commit-time. What you are suggesting seems like an area for architectural improvement.
Regards
Evert-Jan de Bruin
JHeadstart Team

Similar Messages

  • Using the Current Function in a repeating table with cascading drop-downs

    I have a Repeating Table where a customer can choose the values for three cascading drop-downs. I then want the member to start a new entry with the same cascading drop-downs but with different results based on their most current input not
    based on all their input throughout the form.  I also do not want the current input to affect previous inputs replacing what was already entered.  
    Please assist.
    -Ben
     

    Hi,
    Based on your description, you don't want to meet the following issues:
    The first row returns back all the data from the list up to the value selected.
    Any new item added, replaces the value in the other items.
    Here is an article about InfoPath Repeating Table Lookup control on SharePoint List, refer to it:
    http://www.sumitrawat.net/2009/10/infopath-repeating-table-lookup-control.html
    Besides, here is a similar post, you can use as a reference:
    https://social.msdn.microsoft.com/Forums/office/en-US/43253974-990d-4307-bf54-cc615618362a/issue-with-cascading-dropdown-in-a-repeating-table
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • SharePoint Hosted App - Creating cascaded drop down on hosted web lists

    Hi,
    I have created an SharePoint Hosted App(Javascript Object Model) that creates lists on the host web.
    I need to put some javascript into new and edit forms in order to create the cascaded drop down effect on 2 lookup fields.
    Can you please give me some advise?
    Regards,
    Marian

    Hope below article should help you
    http://blog.pentalogic.net/2010/11/editing-the-sharepoint-list-item-menu-part-2-using-javascript/
    http://www.getinthesky.com/2014/03/hide-text-field-sharepoint-form-using-jquery/
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/030471b2-d19a-470f-9a9e-0fd8a229138b/how-do-i-create-a-new-item-form-that-allows-to-save-and-continue-editing?forum=sharepointcustomizationlegacy

  • Cascading drop-down from spreadsheet

    Hello,
    I need some assistance, I am creating a SP but I need to do a look up or cascading drop down using information from a spreadsheet from InfoPath.
    Can anyone guide me? All I can find info about is for cascading from a list, but it is a spread sheet
    Any tutorial or forum?
    Thanks,

    Hi,
    In addition to Hemendra’s suggestion, you can take a look at the link below about how to access Excel file which stores in a SharePoint Library using Excel Web Service with
    jQuery:
    http://martinezdeveloper.blogspot.jp/2011/07/sharepoint-2010-excel-rest-api-and.html
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Creating cascading drop down boxes in SharePoint 2010 using one list

    We have a support request form tied to a list that end users input data into which when submitted sends out an email.
    Is it possible to create a drop down box on the form that limits the choices in the "subcategory" column, based on what is chosen in the "category" column.  
    For instance in the category column we have SharePoint, Oracle, and Web Tools as choices. 
    In the subcategory column we have items related to each category. We only want items that are related to the selected choice to appear in the subcategory drop down box. 
    I see examples in InfoPath using "Multiple Lists" (one list for city, one for state, etc), but nothing using the same list.  I would rather not use multiple lists if possible. 
    Anyone have any ideas?  Thanks.

    Hi,
    According to your post, you want to create a cascading drop-down list box using one list.
    To achieve what you want, we can:
    Create two fields(category and subcategory) in drop-down list box type in the form in InfoPath.
    Add the list which contains the values of the category and subcategory columns to the form as an external data.
    Right click the category field, click Drop-Down List Box Properties, and choose Get choices from an external data source.
    Choose the list added in step2 in Data source, click XPath behind Entries, click the category column in the list, select Show only entries with unique display names.
    Right click the subcategory field, click Drop-Down List Box Properties, and choose Get choices from an external data source.
    Choose the list added in step2 in Data source, click XPath behind Entries, click the subcategory column in the list, then click Filter Data.
    Click Add, select the category column in the list in the first box, select is equal to in the second box, choose select  a field or group in the third box, then choose Main in the Fields and select the category field in the form.
    Click OK.
    Best regards.
    Thanks

  • How to populate Second drop down based on the first drop down value

    Hi Experts,
    i have a HTML BSP page. with 2 drop down with SELECT and OPTION tags. i need to populate the second drop down based on the first drop down value.
    i tried HTMLB script they work good as stand alone when i try to embed the HTMLB with HTML it does not work.
    Please can you give me a solution only with ABAP script and HTML.
    please clearly let me know on what event i should implement it. sample code is really appreciated .
    With regards,
    Chella

    You can have event handler for first drop down . Then populate the data for 2nd field when the event triggers on first field.

  • Want to hide the drop down based on text field value

    Hi,
    I want to hide some of the values in drop down based on one text field value.
    I have the field called name which has the value A, B, C, D and also one drop down list which has the values 1,2,3,4,5,6. I want to hide the some of the values in drop down based on A or B or C. Let say, If it is A, drop down value should be 1,3,5. If it is B, Drop down value should be 1,2,3,4. Like this for every record.
    Can you please help me out.
    Thanks
    Ram

    Hi Robert,
    I am trying it in two different way. Please suggest which is the right one and feasible.
    1) I have the drop down list which has all the status. I am trying to hide the drop down values based on one text field value for all records.
    2) I have collected all the drop down values into table in webdynpro method. Rightnow I have two tables.
      one has line items details and another one have drop down values. both tables having common fields.
      I have to show second table values for that particular key, move all of them to drop down.
    Which is the best and feasible option.
    Thanks
    Ram

  • How to get value in Second Drop Down based on selection made in first dropd

    Hi All,
    I have a table with first two columns as dropdown.
    The values in first drop down are fixed. However the value in second dropdown should be populated based on selection made in first .
    e.g
    First Column had different departments say IT, SALES, HR.
    Based on department selected I have to populate employee of that department.
    For first dropdown I have taken Drop down by index.
    What should I select for second drop down and achieve desired functionality? Please guide.
    Regards,
    Madhvika

    Hi
    Use drop down by key for fixed values IT, SALES, HR. create on_select action for that drop down.
    in on_select method code like this..
      DATA lo_nd_segment1 TYPE REF TO if_wd_context_node.
      DATA lo_el_segment1 TYPE REF TO if_wd_context_element.
      DATA ls_segment1 TYPE wd_this->Element_segment1.
      data lt_segment1 type wd_this->elements_segment1.
      DATA lv_segment TYPE wd_this->Element_segment1-segment.
      data lr_column type ref to cl_wd_table_column.
    navigate from <CONTEXT> to <SEGMENT1> via lead selection
      lo_nd_segment1 = wd_context->get_child_node( name = wd_this->wdctx_segment1 ).
    get element via lead selection
      lo_el_segment1 = lo_nd_segment1->get_element( ).
      lo_el_segment1 = WDEVENT->GET_CONTEXT_ELEMENT( 'CONTEXT_ELEMENT' ).
    get all declared attributes
      lo_el_segment1->get_static_attributes(
        IMPORTING
          static_attributes = ls_segment1 ).
    now ls_segment1 contains your first drop down selection value.
      DATA : lv_dropdown type string .
      lv_dropdown =  ls_segment1-segment.
      if lv_dropdown = 'IT'.
    // here fill your second drop down based on IT value.
    endif.
    Hope it solves.
    Cheers,
    Kris.

  • Need a drop down for a selection screen

    HI all,
    I need a drop down for a selection screen.
    say for eg: Field is MARA-MTART   (Material Type). The selection is optional and the dropdown should be using check table: T134
    How to get a dropdown? I think a function module is used , but I dont remember the name.
    Kindly reply.
    Thanks in advance.
    Points will be rewarded

    Hi,
    chk the below code...
    TYPE-POOLS: vrm.
    PARAMETER: pr_spart TYPE spart AS LISTBOX VISIBLE LENGTH 7.
    *AT SELECTION-SCREEN ON VALUE-REQUEST FOR pr_spart.
    INITIALIZATION.
    *----Code for Drop down list....
      DATA: lit_spart_list  TYPE vrm_values, "Table for list of Divisions
              lwa_spart_list TYPE vrm_value,
              lw_name  TYPE vrm_id.            "Name of parameter with list-box.
    *---Assign selected values to table that would be passed to FM VRM_SET_VALUES
      CLEAR : lwa_spart_list,
              lw_name.
    *---Pass required values for list-box display.
      lwa_spart_list-key = 'H'.
      lwa_spart_list-text = 'HL'.
      APPEND lwa_spart_list TO lit_spart_list.
      lwa_spart_list-key = 'S'.
      lwa_spart_list-text = 'SL'.
      APPEND lwa_spart_list TO lit_spart_list.
      lwa_spart_list-key = 'P'.
      lwa_spart_list-text = 'PP'.
      APPEND lwa_spart_list TO lit_spart_list.
      lwa_spart_list-key = 'F'.
      lwa_spart_list-text = 'FR'.
      APPEND lwa_spart_list TO lit_spart_list.
    *Name of parameter to which list is to be assigned
      lw_name = 'PR_SPART'.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = lw_name
          values          = lit_spart_list
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      IF sy-subrc <> 0.
        MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
      ENDIF.
    Reagrds,
    nagaraj

  • Cascading drop downs

    hi,
    how  to create cascading drop downs in vc
    i have two queries each providing data to their respective drop down.
    drop down 1 - material group
    drop down 2 - material number
    when i select value in drop down 1 i want to filter drop down 2
    i want to see material numbers of selected material group.
    how to get this.
    please suggest me.
    Edited by: venkat s on Jan 29, 2008 2:44 PM

    OK - this is a real puzzle. I have a model with dropdown #1 and #2 in separate views where the content of #2 is filtered by #1.
    The deployed runtime version of this model actually work as desired. #2 is reset to default for every new value chosen in #1.
    Then, I've made changes to the model, and suddenly #2 behaves as you described - keeping the last value chosen and not returning to default - unless application is reloaded.
    So, I've gone back to an older version and tried to duplicate the #2 drop down with exactly the same values, and here is the strange part: the two drop downs behave differently in the same model.
    The only thing I have found is related to Prashant's wizard tip: at one stage in development my model had two layers. If I open this model version and take away all layers completely the #2 drop down looses it's desired behaviour. I have therefore kept one layer with all model forms and tables, removed all wizard navigation so the application looks like it's not using layers at all.
    The strangest thing though is that if I add a duplicate #2 again in this layer-model it won't work as the original. I simply cannot find a logical answer to this problem now. When I do, I will update.
    Another thing: For the #2 drop down that works as desired I cannot see the entry list configuration anymore. I originally chose a dynamic list type, but when I open it now it's showing the global variant with no global list defined! (this must be a bug as if I don't touch this config it still running as a dynamic list when deployed).
    If you (or anyone) solve it first, please tell us!
    Henning Strand
    Edited by: Henning Strand on Jan 30, 2008 11:13 AM

  • Cascading Drop Down Menus

    Can cascading drop down menus be created in Acrobat XI Pro?  If so, how?

    Yes with JavaScript and popUpMenu method.

  • Cascading drop down

    Hi,
    I want to create a cascading drop down. The view object for the drop down contains two bind variables. In the JHeadstart application definition I fill one bind variabele with text (this is for finding the correct domain in the underlying table) and one with an unchangable item of the master screen. This item is always filled and is already filled while entering the screen.
    This drop down works fine in one application module, but if I create the same domain in another application module on both places this isn't working anymore. Of course the name of the item that I bind is changed for the second application module. Both application modules are children of one top application module which contains the view object for the drop down.
    I allready tried if I create several view object instances on the child application module level but this also does not work.
    What am I doing wrong (I followed the steps creating cascading drop down lists in the JHeadstart guide).
    Marianne

    Also this problem did arrise because the domain names in the application definitions are not unique over the application modules.

  • Cond display of drop down based on value selected in another drop down form

    Hi,
    I have a requirement in my app in which I need to be able to conditionally display the values in the drop down down list based on the values selected in another drop down list...
    Currently I have 2 drop downs.
    First drop down is a list of Jacks from 2000 to 4999...
    Second Drop down consists Chassis ranging from 1 to 900..
    So when a user selects any jack between 2000 - 2999, in the second drop down only Chassis ranging from 1 to 300 should appear.
    when anything between 3000 - 3999 is selected, Chassis ranging from 301 to 600 should appear..
    and for jacks between 4000 - 4999, Chassis ranging from 601 to 900 should appear in the second drop down.
    Can someone please provide me pointers on how to do this..
    Thanks,
    Nehal

    Hi Larry,
    Thanks for your response..
    Here are the queries for my select lists.
    P62_JACK
    select list query for Jacks:
    select JACK_NUM display_value, JACK_NUM return_value
    from CTS_LIST_OF_JACKS
    order by 1
    P62_CHASSIS_BLADE_PORT
    select NETWORKPORT display_value, NETWORKPORT return_value
    from CTS_LIST_OF_NETWORKPORTS
    order by NETWORKPORT_ID
    jacks range from 2000 to 4000
    chassis_blade_port ranges from 100 to 900...
    Can you please let me know how to do it..
    Thanks,
    Nehal

  • Update Drop Down based on selection in Option group

    Good afternoon all-
    I've got an option box ('PanelStatus') with two options: "Panel" (value of 1) and "Non-Panel" (value of 2).
    On the form where this is located, I have a drop down box filled with names.  These people on this table are either Panel or Non-Panel.  So, my idea is that the drop down with names will be refreshed when the radio buttons in PanelStatus are clicked.
    I've got a query that will return the right results, based on what's selected in the Option Group.  However, when I set the Option Group after update event to refresh the dropdown box, Access is telling me "Object doesn't support this property
    or method".
    Any ideas/help are welcome!
    EDIT: I'm thinking it may be because the drop down is unbound...?  Does that explain why this is not working?  If so, any ideas how to do this with the drop down remaining unbound?

    The After Update event of an option group works whether the option group is bound or unbound.
    You should use the Requery method of the combo box.
    Regards, Hans Vogelaar (http://www.eileenslounge.com)

  • Help needed in Drop down list value input

    Hi experts,
    My problem is, I added a field on a screen as a drop down list box and passed all the values to it. Everything is fine. But I need to display the field like if there are no input values to be used by the user, the user should be able to enter some value manually which is not in the list. I'm unable to get this facility. Plzz Help me out.
    It's really urgent. Points will be rewarded to the solution.

    hi ,
    Here is a sample of code for creating a dropdown list in screen painter , and this has got the solution of your question :
    module create_drop_down_box_material output.
      select matnr from mara
               into table l_tab_mara_matnr
               where matkl = 'ZPMBMAT'.
      if not l_tab_mara_matnr[] is initial.
        select maktx from makt
                     into  l_tab_collect_maktx_frm_db-material_descr
                     for all entries in l_tab_mara_matnr
                     where matnr = l_tab_mara_matnr-material_no.
          append l_tab_collect_maktx_frm_db.
        endselect.
      endif.
      loop at l_tab_collect_maktx_frm_db into l_wa_collect_maktx_frm_db.
        l_wa_mat_descr-key = l_wa_collect_maktx_frm_db-material_descr.
        append l_wa_mat_descr to l_tab_mat_descr.
      endloop.
      name = 'ZCOT_PPT_DTLS-MATERIAL_DESCR'.
      call function 'VRM_SET_VALUES'
        exporting
          id              = name
          values          = l_tab_mat_descr
        exceptions
          id_illegal_name = 1
          others          = 2.
      free: l_tab_mat_descr,l_tab_collect_maktx_frm_db.
    endmodule.                 " create_drop_down_box_material  OUTPUT
    Regards,
    Ranjita

Maybe you are looking for

  • Maximum number of PCI-6602 cards in 1 computer?

    Is it possible to have 4 PCI-6602 cards in 1 computer? Are there any DMA channels or IRQ limitations we need to worry about? Our computer will have 1 graphics card in the AGP slot, possibly a PCI NIC ethernet card and possibly a PCI based sound card.

  • Nik plugin HDR v2 and CS6

    A curious error which appears after using HDR v2 plugin on CS6 (Mac OS X Lion or Mountain Lion, on both systems) is the following : after you have finished your adjustments with HDR v2 from Nik, you get a black OR white square in middle of image, usi

  • Delete vendor payment term

    To make the payment term code consistent, I have create a new set of payment terms. Can I just delete the old payment terms and wonder is that any implication (some outstanding PO/invoices which using the old payment terms)? What is your advice.

  • Getting started in Developing extensions for Dreamweaver CC

    Hi, i'm looking for info on how to get started developing extensions for DW CC. Specifically: 1. guides, tutorials 2. API reference What i'm looking to be able to do is, among others: 1. add elements for inserting into the "insert" panel/menu 2. add

  • Error 0x610000f6 on my HP310 Series printer.

    Error 0x610000f6 on my HP310 Series printer. All colours and photo black print. But black cartridge is showing blank even when replaced and black text is not printing.