def METHOD_NAME(name1='Select Field',name2=None,name3=None,name4=None,name5=None):
    """Select up to 5 data choices. This returns a List of the data choices, not the actual Data
     To get the data do:   <div class=jython>dataList.get(0).getData(None)</div>"""
    list = java.util.ArrayList();
    list.add(name1);
    if(name2!=None):
        list.add(name2);
    if(name3!=None):
        list.add(name3);
    if(name4!=None):
        list.add(name4);
    if(name5!=None):
        list.add(name5);
    result = idv.selectDataChoices(list);
    if (shell != None):
       shell.toFront();
    if(result is None):
        return None;
    if(result.size()==1):
        return result.get(0);
    return result