Creating a dynamic Selection List based on a View Object

Hello,
I'm new to JDeveloper and I would like to create a JSP Page with dynamic Selection List based on a runtime query or based on a view object (BC4J). The selection made by an user should serve another dynamic query with the necessary parameters that I built using createViewObjectFromQueryStmt(). By now I tried this using the InputSelectLOV from the Component Palette in JDeveloper. But without success. By the way: the selection list is not very large (5 values), so it's not necessary to have a form finding the desired value.
Maybe someone had experience about creating this already. Please give me a tip or a little example.
Thanks.

http://otn.oracle.com/products/jdev/howtos/jsp/renderers.html

Similar Messages

  • Dynamic Select List based on TextField data

    Hi,
    I like to dynamically display the select list based on the value in the textfield, the data in the textfield is of character type.
    Thanks

    Hello,
    Well as you now know HTML based select lists don't work like that, that widget is called a combo box and there will be built in combo boxes in APEX 3.0, it's a fairly complex dhtml widget.
    What you might want to do is provide a text item next to your select box and an Add New Value Option in your select list.
    Carl

  • Newbie: how to create a dynamic select list of the current date + 5 years

    Hi - I'm a JSP newbie (coming from a PHP background), and am trying to create a select list that contains the current year, plus 5 years. So, the list when generated (today), would display:
    2007
    2008
    2009
    2010
    2011
    2012
    Obviously, the code would need to generate inside the option tags, as well as in the value property of the option tag.

    function addit(){
              var val = 2012; //you can take this from js date object and strip it off
              for (var i=2007; i <= val;++i){
                   addOption(document.getElementById("mycombo"), i, i);
    function addOption(selectbox,text,value)
         var optn = document.createElement("OPTION");
         optn.text = text;
         optn.value = value;
         selectbox.options.add(optn);
    }without hardcoding:
    function addit(){
              var dd = new Date();
              var yearnow = dd.getFullYear();
              for (var i=yearnow; i <= yearnow + 5 ;++i){
                   addOption(document.getElementById("mycombo"), i, i);
    function addOption(selectbox,text,value)
         var optn = document.createElement("OPTION");
         optn.text = text;
         optn.value = value;
         selectbox.options.add(optn);
    in your jsp:
    <body onload="addit();">
    <form>
    <select name="mycombo">
    <option> Select year</option>
    </select>
    </form>
    </body>
    Message was edited by:
    skp71
    Message was edited by:
    skp71

  • Unable to create working dynamic distribution list based on manager

    Hi,
    I am struggling to create a working dynamic distribution group. I am following the instructions at http://help.outlook.com/en-gb/140/Dd264647.aspx.
    My intent is to create DDG's based on a user's manager and their job title. In my org, sales managers will typically have 3 teams reporting to them. In our AD, this would be marked by a 3-4 letter acronym in the job title field (CSO,DCO,SDCO).
    I am trying to create distribution groups for use by their manager by having the manager and job title item as the filter, using the following script:
    New-DynamicDistributionGroup -Name "GROUPNAME" -RecipientFilter {(RecipientType -eq 'UserMailbox') -and (manager -eq 'Managername') -and (title -eq 'ACRONYM')}
    As an aside, I am unable to find if the manager object should be an alias, upn or ad object. I've tried with all with no success.
    No matter what permutations of the above script I try, nothing seems to work. The group creates, but does not work at all.
    Any help you can provide would be very much appreciated!

    Hi Ed,
    I did try that, and as it turned out, I was using the wrong powershell from the start.
    The commands above are for Office 365, not on-prem Exchange 2013. Having spoken to Microsoft, it seems like the AD object for manager may not be a filterable option at all, I'm waiting to hear back.
    If this can help jog anyone's mind, the commands we're looking towards now look something like this:
    New-DynamicDistributionGroup -Name "testname" -Alias "testname" -IncludedRecipients "MailboxUsers,MailContacts" -OrganizationalUnit "domain.local/users" -ConditionalDepartment "Test" -RecipientContainer "domain.local"
    We're still looking for a filter for manager in there, and I'll update the thread if I get anything worthy of note. Bear in mind that it's going to be difficult to settle for anything less than the manager object to filter by, as our requirements pretty
    much demand it.
    Thanks all.

  • Dynamic selection list based on selection screen values ?

    I have a requirement which I can't solve in one step in a selection screen
    first field I have to select the contract like you do with me33k
    in the second field I have to select the position of the contract filled in at the first field ?
    if the position is selected I have to fill other fields in the selection screen and block them for altering the information entered by the position selected
    anybody got some sample on how to do this ??
    kind regards
    arthur de smidt

    I really don't understand why it's not working. after input of the parameter field debugging doesn't start when is it evaluated ??
    I want the screen modified at every change of p_contr.
    SELECTION-SCREEN: BEGIN OF BLOCK s01 WITH FRAME TITLE text-s01.
    parameters:       p_bukrs like ekko-bukrs MEMORY ID BUK obligatory,
                      P_WERKS like EKPO-WERKS MEMORY ID WRK OBLIGATORY,
                      p_ekorg like ekko-ekorg MEMORY ID EKO obligatory,
                      P_EKGRP like EKKO-EKGRP MEMORY ID EKG OBLIGATORY.
    SELECTION-SCREEN: END OF BLOCK s01.
    SELECTION-SCREEN: BEGIN OF BLOCK s05 WITH FRAME TITLE text-s05.
    parameters:       p_contr AS CHECKBOX USER-COMMAND contr,
                      p_konnr like EKKO-ebeln  MATCHCODE OBJECT MEKK ,
                      P_KTPNR like EKPO-ktpnr.
    SELECTION-SCREEN: END OF BLOCK s05.
    SELECTION-SCREEN: BEGIN OF BLOCK s02 WITH FRAME TITLE text-s02.
    parameters:       p_lifnr like ekko-lifnr modif id CTR,
                      p_EVERK like EKKO-VERKF," obligatory,
                      p_afnam type zafnam,
                      p_uwkenm like EKPO-TXZ01,
                      P_IHRAN like EKKO-IHRAN DEFAULT SY-DATUM,
                      P_KDATB like EKKO-KDATB," obligatory,
                      P_KDATE like EKKO-KDATE," obligatory,
                      p_cntVU LIKE RP50G-PERNR OBLIGATORY
                                  MATCHCODE OBJECT PREM,
                      p_advies type lifnr.
    SELECTION-SCREEN: END OF BLOCK s02.
    SELECTION-SCREEN: BEGIN OF BLOCK s03 WITH FRAME TITLE text-s03.
    SELECTION-SCREEN  PUSHBUTTON /1(17) WERK USER-COMMAND WERK.
    parameters:       P_TXZ01 like EKPO-TXZ01 obligatory,
    *                 p_txt9  type tline,
                      P_MATKL like EKPO-MATKL DEFAULT 'DNST-02' OBLIGATORY.
    selection-screen begin of line.
    SELECTION-SCREEN COMMENT 1(31) TEXT-001 FOR FIELD p_menge.
    parameters:       P_MENGE like EKPO-MENGE DEFAULT '1' OBLIGATORY,
                      P_MEINS like EKPO-MEINS DEFAULT 'ST' OBLIGATORY.
    selection-screen end of line.
    selection-screen begin of line.
    SELECTION-SCREEN COMMENT 1(31) TEXT-002 FOR FIELD p_netpr.
    parameters:       P_NETPR like EKPO-NETPR obligatory,
                      P_EPEIN like EKPO-BPRME DEFAULT 'ST' OBLIGATORY.
    SELECTION-SCREEN POSITION 55.
    parameters:       p_schpr like ekpo-schpr.
    selection-screen end of line.
    parameters:       p_saknr like mepoaccounting-sakto obligatory,
                      p_aufnr like mepoaccounting-aufnr obligatory.
    SELECTION-SCREEN: END OF BLOCK s03.
    initialization.
      clear h_exit.
      set pf-status 'STANDAARD'.
      move 'Werkomschrijving' to WERK.
    at selection-screen on p_contr.
    loop at screen.
    if p_contr = 'X'.
          if screen-group1 = 'CTR'.
            screen-input = 0.
            screen-active = 0.
            screen-required = 0.
            modify screen.
          else.
            screen-input = 0.
            screen-active = 1.
            screen-required = 1.
            modify screen.
          endif.
    endif.
    endloop.
    at selection-screen on exit-command.
      case sy-ucomm.
        when '&F03' or '&F015' or '&F12'.
          leave program.
      endcase.
    at selection-screen on block S01.
      case sy-ucomm.
        when 'ONLI'.
          type_doc = 'B'.
        when 'ONLI1'.
          type_doc = 'O'.
      endcase.
    perform checks_org.
    at selection-screen on block S02.
      perform checks_lev.
    at selection-screen on block s03.
      check sy-ucomm(4) eq 'ONLI'.
      perform checks_werk.
    at selection-screen.
      case sy-ucomm.
        when 'WERK'.
          perform lange_omschrijving.
        when 'SPOS'.
          CALL FUNCTION 'RS_VARIANT_SAVE_FROM_SELSCREEN'
            EXPORTING
              CURR_REPORT = 'ZBESTELLING'.
      endcase.
    start-of-selection.

  • Can I create a dynamic (selectable) list

    Hi, I'm in the process of building a wedding website and within that I'd like to get a page dedicated to an alternative gift list. The list takes the form of Bricks & Mortar and has items (bricks, concrete, windows etc.) to build a new extension.
    Is there a way that I can build a page with the individual items listed alongside a box in which someone can enter a quantity of item/s to buy. Then if there were say 10 of that item it would show how many were left to buy after the purchase was completed?
    For example: 1000 Bricks x 10 Someone choses to buy 1 batch of 1000 bricks leaving 9 batches left on te list.
    Is this beyond the power of iWeb?

    Hi, I'm in the process of building a wedding website and within that I'd like to get a page dedicated to an alternative gift list. The list takes the form of Bricks & Mortar and has items (bricks, concrete, windows etc.) to build a new extension.
    Is there a way that I can build a page with the individual items listed alongside a box in which someone can enter a quantity of item/s to buy. Then if there were say 10 of that item it would show how many were left to buy after the purchase was completed?
    For example: 1000 Bricks x 10 Someone choses to buy 1 batch of 1000 bricks leaving 9 batches left on te list.
    Is this beyond the power of iWeb?

  • Dynamic Select List - XML and umlaut

    Hi, I've recently implement a dynamic select list as per [this thread|http://forums.oracle.com/forums/thread.jspa?threadID=327306], however it seems to break if I have any words containing an umlaut. I've tried setting the header on the Application Process to UTF-8 (OWA_UTIL.mime_header ('text/xml', FALSE, 'utf-8');) but it doesn't seem to make any difference. The word in particular giving me problems is Kühne - it's the only non english entry so far, but I would expect others in the future.
    Does anyone have any ideas how to allow this character to be parsed correctly? Short of using replace to check for this and every other possible character I'm not sure what else to do.
    Thanks

    Pete88 wrote:
    Hello
    I would like to create a dynamic select list where you can start entering a name and select list reduces with each character entered.
    E.g. A list of towns in the UK where you want to select London. This list is delay as normal and as start typing by the time you have entered “Lon” the list only has few names starting with “Lon”
    I expect I need a JavaScript to active this?Not in APEX 4.x. Use a Text Field with autocomplete item.

  • Dynamic select list with one static 'not_listed" option

    Hi guys,
    I want to create a dynamic select list with one static 'not_listed' option.
    One possible alternative is to add the 'not_listed' record into database, but I really dont want to go that way unless there is no other way around.
    Can anyone shed some lights on this?
    Many thanks,
    William

    As usual : "It depends"...
    If you have a foreign key defined on that field, Scott's reply won't work - unless you define '0 - Not listed' in the database. You can use selec 'not listed' d, to_number(null) r from dual though...
    Another - more declarative way - is in the on 'Edit Page Item' page, in the 'List of Values' region set 'Display Null' to 'Yes' and 'Null Display Value' to ' - Not listed - '.
    Roel

  • Creating a Dynamic Update Statement based on Select

    hi,
    i'm trying to create a dynamic update statement based on select statement
    my requirment is to query a joint tables and get the results then based on the results i need to copy all the data and create an update statement for each row
    for ex
    the update statement should look like this
    update iadvyy set SO_SWEEP_CNT = '1' where inst_no = '003' and memb_cust_no = 'aaaaaaaaaaaaaaaa';
    and the select statement like the following
    select substr(key_1,11,9) account_no,sord_mast SO_SWEEP_CNT from
    select acct_no,count(*) sord_mast from
    (select from_acct_no acct_no,update_mast
    from sord where FROM_SYS in ('DEP','INV') and TERM_DATE > 40460
    union all
    select to_acct_no acct_no,update_mast
    from sord where TO_SYS in ('DEP','INV') and TERM_DATE > 40460)
    group by Acct_no)
    right outer join
    invm
    on
    key_1 = '003'||acct_no
    where sord_mast > 0;
    so taking the above two columns from the above select statement and substitue the values as separate update statement.
    is that doable , please share your knowledge with me if poosible
    thanks in advanced

    is that doable , please share your knowledge with me if poosibleyes
    The standard advice when (ab)using EXECUTE IMMEDIATE is to compose the SQL statement in a single VARCHAR2 variable
    Then print the SQL before passing it to EXECUTE IMMEDIATE.
    COPY the statement & PASTE into sqlplus to validate its correctness.

  • Creating dynamic select list

    I have a dynamic select list populated by site names and URLs from a map; when a user clicks on an entry the site name and URL will fill two text boxes. There are also buttons to add, update, and delete entries. These buttons lead to actions within my JPF file.
              When I select an entry to delete, the script runs a delete SQL statement again my Ora db instance, then the page content is repopulated. I want to know how come when I do that I always get the sequence ID of the just deleted entry at the end of my select list.
              Here is a snippet of what I've got:
              JSP:
                        <netui:select
                dataSource="{actionForm.siteList[0]}"
                optionsDataSource="{actionForm.itemOptions}"
                size="4"
                tagId="siteList">
              <netui:textBox
                dataSource="{actionForm.title}"
                size="30" maxlength="200" tagId="title"/>
              <netui:textBox
                dataSource="{actionForm.url}"
                size="30" maxlength="200" tagId="url"/>
              <netui:hidden dataSource="{actionForm.key}"
                tagId="key"/>
              <script language="javascript">
                <!--
                <%=session.getAttribute("jsArray")%>
                  function siteClicked()
                    var index =
                      document[getNetuiTagName("process",this)]
                      [getNetuiTagName("siteList",this)][
                        document[getNetuiTagName("process",this)]
                        [getNetuiTagName("siteList",this)]
                        .selectedIndex]
                      .value
                    document[getNetuiTagName("process",this)]
                    [getNetuiTagName("key",this)].value
                      = index;
                    document[getNetuiTagName("process",this)]
                    [getNetuiTagName("title",this)].value
                      = siteArray[ index ][0];
                    document[getNetuiTagName("process",this)]
                    [getNetuiTagName("url",this)].value
                      = siteArray[ index ][1];
                -->
              </script>
                                  JPF:
                        Connection conn = null;
              query = "delete from stlnt_other_ref_sites " +
                      "where stlnt_ors_site_id = " + form.getKey();
              try {
                pstmt = conn.prepareStatement( query );
                pstmt.executeUpdate();
              } catch (SQLException ex) {
              try {
                Map map = new LinkedHashMap();
                while ( rs.next() )
                  map.put(new Integer(rs.getInt(1)), rs.getString(2));
                  jsArray += "siteArray[" + rs.getInt(1)
                    + "]=new Array(\"" + rs.getString(2)
                    + "\",\"" + rs.getString(3) + "\");";
                  hasResults = true;
                options = map;
                getSession().setAttribute("jsArray",jsArray);
                getSession().setAttribute("hasResults",
                  String.valueOf(hasResults));
              } catch (SQLException ex) {
              

    OK I got it working... Mostly... I don't know if it was a combination of changes that made the difference, but I'll put down what I did. First, I switched my select object in the form bean into just a string type from a string array (it was allowing the selection of one entry anyways). Second, rather than just blanking out the options map, I also blanked out the select object [eg form.setSelect("")].
              Now when I select an entry and click delete, the resulting select list is short one visible element. However, you can still select the blank spot where that last entry used to be. However, this is not a huge issue for me now; I will investigate this at a later time.

  • Problem writing a sql query for a select list based on a static LOV

    Hi,
    I have the following table...
    VALIDATIONS
    ID          Number     (PK)
    APP_ID          Number     
    REQUESTED     Date          
    APPROVED     Date          
    VALID_TIL     Date
    DEPT_ID          Number     (FK)
    I have a search form with the following field item variables...
    P11_DEPT_ID (select list based on dynamic LOV from depts table)
    P11_VALID (select list based on static Yes/No LOV)
    A report on the columns of the Validations table is shown based on the values in the search form. So far, my sql query for the report is...
    SELECT v.APP_ID,
    v.REQUESTED,
    v.APPROVED,
    v.VALID_TIL,
    d.DEPT
    FROM DEPTS d, VALIDATIONS v
    WHERE d.DEPT_ID = v.DEPT_ID(+)
    AND (d.DEPT_ID = :P11_DEPT_ID OR :P11_DEPT_ID = -1)
    This query works so far. My problem is that I don't know how to do a search based on the P11_VALID item - if 'yes' is selected, then the VALID_TIL date is still valid. If 'no' is selected then the VALID_TIL date has passed.
    Can anyone help me to extend my query to include this situation?
    Thanks.

    Hello !
    Let's have a look at my example:create table test
    id        number
    ,valid_til date
    insert into test values( 1, sysdate-3 );
    insert into test values( 2, sysdate-2 );
    insert into test values( 3, sysdate-1 );
    insert into test values( 4, sysdate );
    insert into test values( 5, sysdate+1 );
    insert into test values( 6, sysdate+2 );
    commit;
    select * from test;
    def til=yes
    select *
      from test
      where decode(sign(trunc(valid_til)-trunc(sysdate)),1,1,0,1,-1)
           =decode('&til','yes',1,-1);
    def til=no
    select *                                                                               
      from test                                                                            
      where decode(sign(trunc(valid_til)-trunc(sysdate)),1,1,0,1,-1)
           =decode('&til','yes',1,-1);  
    drop table test;  It's working fine, I've tested it.
    The above changes to my first idea I did because of time portion of the DATE datatype in Oracle and therefore the wrong result for today.
    For understandings:
    1.) TRUNC removes the time part of DATE
    2.) The difference of to date-values is the number of days between.
    3.) SIGN is the mathematical function and gives -1,0 or +1 according to an negative, zero or positiv argument.
    4.) DECODE is like an IF.
    Inspect your LOV for the returning values. According to my example they shoul be 'yes' and 'no'. If your values are different, you may have to modify the DECODE.
    Good luck,
    Heinz

  • How can I create an IList Employee list based on my Employee class?

    I'm trying to create an IList<Employee> list based on my Employee class (below).  But this is erroring out.  Is my employee class missing anything?  How could I make this work?
    private void EmployeeList()
    IList<Employee> arL = new IList<Employee>(); //<<<<----errors out here
    arL.Add(new Employee {Name="Mary",Gender="Female", Age=35});
    arL.Add(new Employee { Name = "Bob", Gender = "Male", Age = 40 });
    arL.Add(new Employee { Name = "Tom", Gender = "Male", Age = 50 });
    var qm = from Employee employee in arL
    where employee.Age < 50
    select employee;
    foreach (var m in arL)
    Console.WriteLine(m.ToString());
    class Employee
    private string name;
    private string gender;
    private int age;
    public string Name
    get { return name; }
    set { name = value; }
    public string Gender
    get { return gender; }
    set { gender = value; }
    public int Age
    get {return age;}
    set {age = value;}
    Rich P

    IList is an interface, not a class. This means that it can't be instantiated (can't be "newed").
    List is a class, so it can be instantiated. It implements the IList interface, which means that it must provide the functionality specified in that interface.
    That's what an interface is - a definition of functionality that a class must provide. An interface is often described as a contract that a class must fulfill.
    So in the code in your last post, you are saying that arL is an instance of some class that implements the IList interface, and you are then setting it to an instance of the class List. The List class implements the IList interface, so this assignment is
    legit. It would also be legit to use any other class that implements IList, such as an array.
    Any class that implements IList can have as much extra functionality as whoever wrote it likes, as long as it implements at least the functionality of the interface.
    Sometimes you will come across a method in a library over which you have no control and which returns IList rather than list. In such a case you will be forced to do something like...
    IList list = SomeMethodOrOther();
    So you will have no idea what class list is an instance of, but you will know that it has the functionality of IList. This is about the only circumstance where I would recommend defining a variable as IList rather than List (but it probably won't be long
    before there are some replies to this post that disagree).

  • Select list based on LOV - and allowing new values

    Hi All,
    I have a page that has a select list based on a dynamic list of values. I wanted to test out how the system was working, so I truncated all of my tables, and now my select list is blank (which makes sense). The problem is that I can't type anything into the select list. How can I make it so that if there isn't a value returned from the query that populates the LOV, I can just type one in? This also goes further in that if the value I wanted isn't already in the db, how does the user add in another value?
    Thanks in advance,
    Corey

    Hello,
    Well as you now know HTML based select lists don't work like that, that widget is called a combo box and there will be built in combo boxes in APEX 3.0, it's a fairly complex dhtml widget.
    What you might want to do is provide a text item next to your select box and an Add New Value Option in your select list.
    Carl

  • Dynamic Select List

    Hi,
    I got a requirement as below
    I am having five columns in my table as below
    1) Det_ref (Primary Key Column)
    1) Ord_Ref (Master table foreign key)
    2) Function Type (Select list based on a dynamic query)
    3) Function Code (Select list should be populated based on Function Type selected above)
    4) Cost (Readonly Text box -- Based on the Function Code selected this cost should be shown)
    5) Special Requirement (Text box to enter any special requirements)
    These last 4 columns should be shown in a tabular way and I have a Button to add a row using java script (The page should not get refreshed)
    and finally I have Submit button which saves the data to the database at the end.
    The problem I am facing is the function code select list is not getting generated dynamically based on function type. I am calling the javascript to populate but it is always populating the first row only as there will be no reference from the second row.
    Can anyone kindly provide me the code if already done. Please help me in this issue.
    Thank you
    Regards
    Dev
    Edited by: [email protected] on 03-Nov-2008 08:24

    Hi Andy,
    Thankyou so much..
    It is working perfectly as I require.
    I need to place a text box after my second LOV. But this textbox is not based on the table. When I select a value from my second LOV it should populate the cost of that particular value selected in the second LOV. But if I keep a text box it is giving a error as below
    Error in mru internal routine: ORA-20001: Error in MRU: row= 0, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "C189DDAFB90EAC4A835B4E8C05284AEA", item checksum = "B7D3B67F53FB31BD9764FC325E9A9A91".,
    Please help me in this issue.
    Thankyou
    Regards
    Dev

  • How to create Exchange dynamic distribution list using multivalue extension custom attribute

    I am trying to create a dynamic distribution list using an ExtensionCustomAttribute.  I am in hybrid mode with Exchange 2013.  The syntax I have is this: 
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {(ExtensionCustomAttribute2 -eq 'NH')} 
    This works correctly on-prem.  But hosted always results in an empty list.  I can see in dirsync the attribute is in the hosted environment, but for whatever reason, the distribution group gets created but always come up null.
    If I create a group looking at the single valued attributes, such as CustomAttribute6 -eq 'Y', it works correctly on-prem and hosted.  
    If anyone has any suggestions I would appreciate it.

    I don't think I provided enough information about the problem.  Let me add some and see if it makes sense.
    I have an Exchange 2013 on-premise configured in hybrid mode with Office365.  For testing purposes, I have 2 users, Joe and Steve, one with the mailbox on-prem, and the other with the mailbox in the cloud.  Each of them has CustomAttribute6 = 'Y'
    and ExtensionCustomAttribute2 = 'NH'. Dirsync shows these users and these attributes are synced between on-prem and cloud.
    Using on-prem Exchange powershell, I run the following command:
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (CustomAttribute6 -eq 'Y')} 
    This correctly finds the 2 users when I query for them as follows:
    $DDG = Get-DynamicDistributionGroup DG_NH
    Get-Recipient -RecipientPreviewFilter $DDG.RecipientFilter | FT alias
    So I then delete this DG, and recreate it this time looking at the multi-value attribute ExtensionCustomAttribute2, as follows:
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (ExtensionCustomAttribute2 -eq 'NH')} 
    Replaying the query above, I can see this also works fine and finds my two users.
    Next I open a new powershell and connect to Office 365 and repeat the process there.
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (CustomAttribute6 -eq 'Y')} 
    This correctly finds the 2 users when I query for them.
    And then delete the group and recreate it using the multi-value attribute:
    New-DynamicDistributionGroup -Name "DG_NH" -RecipientFilter {((RecipientType -eq UserMailBox) -or (RecipientType -eq MailUser) -and (ExtensionCustomAttribute2 -eq 'NH')} 
    When I run the query this time it produces no result.  Every test I try results in an empty group if I am using a multi-valued attribute in the search criteria in the cloud.  If I use single valued attribute, it works fine.
    I really need to be able to get multi-valued DDG's working in the cloud.  If anyone has done this and has any suggestions, I would appreciate seeing what you did.  And if this is the wrong forum to port this, if you can point me to a more suitable
    forum I will report there.
    Thanks,
    Richard

Maybe you are looking for

  • Audio and video out of synchronization in iTune for Windows 8.1

    When playing back a downloaded iTunes file, the audio and video are out of synchronization a lot of the time.  The audio can be several seconds behind the video. How can this be corrected/fixed? I am running the latest iTunes software on a 3.8Ghz AMD

  • Editing in Photoshop

    I seem to have done something wrong and I'm not sure how to fix this, so any help would be great. I'm new to both Photoshop and Lightroom and am currently working through the Classroom in a Book titles for both applications. I have Lightroom 3.2 and

  • I have the 60 day trial of .mac can I publish a web page, nothing is happen

    I thought I could try the .mac account free for 60 days and get to publish my web page, it gives the directions but says I have nothing in my pictures. I do, and I've tried adding more but nothing is working. I think maybe I just can't do it unless I

  • GR output

    All, For PO output type , we can create new one (eg ZNEU ) and assign to new document type . But for GR , if I need print out based on company code, each company is having different format , then if I am creating new output type and maintaining condi

  • Battery does not charge

    I use an HP Pavillion G with an AMD processor. At a certain point, my battery stopped charging. I had previoulsy upgraded the computer to Windows 8. While still using the Windows 8 OS, the battery issue emerged. The taskbar said the batter is plugged