File Dialog (Details View and Multiple Selections for View File Type)

I would like to use the generic windows dialog box found in the toolbar under:
File I/O/Advanced File Functions/File Dialog
What I would like to do is have multiple selections for the file type, for example one menu selection is *.txt, another is *.rtf, another is *.csv, etc. Listing a single type is straightforward.
Also does anyone know if there is a way to have the dialog open in the DETAILS view automatically?
Thanks for any help!
Carlton

Hi,
You can do it in following ways:
1. Write in pattern input the string "*.txt; *.csv; *.rtf". This will show to the user only files with this extensions in the dialog.
2. Another way is to create ring or menu where user could specify the extension. Depending on this extension you could wire the appropriate string to the pattern input of "File Dialog.vi"
I have made an example.
Good luck.
Oleg Chutko.
Attachments:
fileopen.vi ‏42 KB

Similar Messages

  • Help needed with singleSelection and multiple selection in table.

    Hi ,
    How do i implement the singleSelection and multipleSelection on table rows.
    How do i capture the checked rows?
    How should the code be written and where should it be written.
    I should be capturing the values of the checked rows and pass it to the pl/sql package.
    I have a table - in -table so there is a singleselection on the outer table and multiple selection on the Inner table.
    Could anyone help me with this.
    Thanks,

    One solution to most of your questions : Read the advanced table section of Dev guide.
    Always go through the dev guide before putting up the issue. Let the forum be for those scenarios which dev guide doesn't covers in much detail.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Toggling between single and multiple selection in a table

    I am working on ADF faces. I need to switch between single and multiple selection in <af:table based on a button I select.
    I cannot use switcher or rendered property inside <af:table. Only the first one is rendering the second one is not rendering based on the switch
    <f:facet name="selection">
    <af:tableSelectMany autoSubmit="true"
    rendered="#{treeBean.multipleRows}"/>
    </f:facet>
    <f:facet name="selection">
    <af:tableSelectOne autoSubmit="true"
    rendered="#{treeBean.singleRows}"/>
    </f:facet>
    When I use inside the switcher, it doesn't like the parent.
    Any ideas would be greatly appreciated.
    Thanks,
    Vijay.

    I have probably misunderstood what your issue is. I do not know what your version of ADF faces is. Here is some sample code working with my version. Please check if your jdev has "rowSelection" attribute. If it has, please try my sampe code
    <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2"
    xmlns:f="http://java.sun.com/jsf/core"
    xmlns:h="http://java.sun.com/jsf/html"
    xmlns:afh="http://xmlns.oracle.com/adf/faces/html"
    xmlns:af="http://xmlns.oracle.com/adf/faces">
    <jsp:directive.page contentType="text/html;charset=utf-8"/>
    <f:view>
    <af:document title="tableSelectMany Demo">
    <af:form>
    <af:panelGroup layout="vertical">
    <af:messages/>
    <af:selectOneChoice value="#{sessionScope.tableSelection}"
    autoSubmit="true"
    id="selType"
    label="Selection Type">
    <af:selectItem label="Single" value="#{null}"/>
    <af:selectItem label="Multiple" value="#{true}"/>
    </af:selectOneChoice>
    <af:table summary="Periodic table"
    binding="#{tableActions.table}"
    partialTriggers="selType"
    rowSelection="#{sessionScope.tableSelection ? 'multiple' : 'single'}"
    value="#{periodicTable.tableData}" var="row" rows="10">
    <af:column>
    <f:facet name="header">
    <af:outputText value="Name"/>
    </f:facet>
    <af:outputText value="#{row.name}"/>
    </af:column>
    <af:column>
    <f:facet name="header">
    <af:outputText value="Symbol"/>
    </f:facet>
    <af:outputText value="#{row.symbol}"/>
    </af:column>
    <af:column>
    <f:facet name="header">
    <af:outputText value="Action Column"/>
    </f:facet>
    <af:commandButton immediate="true" text="Action"
    action="#{row.action}"/>
    </af:column>
    </af:table>
    </af:panelGroup>
    </af:form>
    </af:document>
    </f:view>
    </jsp:root>

  • Multiple Selection For Selections screen field

    Hi Friends ,
    Can any body tell me how to create multiple selection for a field in selection screen and how to capture all those values of that fields in program for database selction. Suppose i am having document number EBELN from EKKO exists in selectio screen . how to create multiple selection for that and how to use all those values given to EBELN to get data from EKKO.
    Kumar.

    hi,
    select-options is one type of parameters where u can give multiple values in ranges or single as a input. when u use select-options then system will create a selection screen for u and u give multiple values as
    ex:
    select-options: s_ebeln for ekko-ebeln.
    internally system creates a internal for s_ebeln which has for attributes
    1. low --- starting value if  range is used
      2. high -
    ending value
    3. sign -
    operator used for validating field
    4. option -
    to exclude given range of values or single value or to include.
    for this u can assign default values in INITIALIZATION event as
    INITIALIZATION.
    s_ebeln -low = '1'.
    s_ebeln- high = '100-100'.
    s_ebeln-sign = 'BT'.
    s_ebeln-option = 'I' // include
                             'E' // exclude.
    if helpful reward some points.
    with regards,
    Suresh Aluri.

  • Multiple Selection for Tables

    HI Team, When I try to select the multiple selection for field Material in table Mara, the To value is not displayed
    e.g in table mara if i select the material option from A* to Z*, all the materials are displayed from A until x but no of the materials are displayed starting with Z. I have found this as standard functionality in SAP and happens for all fields with multple selection in tables. can you guys advise if there is an OSS note for this?
    Thanks,
    Sunny

    Hai Sunny,
    Please check Do you have material staring with Z
    and check is there any
    Maximum No. of Hits restriction.
    Till you get SAP notes
    Create a query in SQVI for only ine table and
    MARA and tick mark the selection b fields and fields to be displayed in the report.
    Now in the report selection screen you will get TO option as well it will list all the Z materials.
    Regards,
    Mani

  • Multiple selections for List on Mac

    It seems multiple selections for java.awt.List on Mac OS X is not working, or do I need to use special buttons to select?
    Thanks in advance.

    Hi,
    I'm experiencing the same issue on our CUCM 9.1.2.10000-28 & CUP&IM 9.1.1.30000-3: I have a Jabber for Windows client v9.7 that should only show 1 hardware phone, but it shows 2 entries. I checked the above and still we have 2 entries (also after clearing the Jabber cache). Also I tried another Jabber for Windows version (v9.6), but it always pulls 2 hardware phones in it's config.
    Have you managed to get this solved? We use Cisco 8945 phones where end users log on via Extension Mobility. I noticed in Dependancy Records that we have an entrie in Extension Mobility Dyncamic, which shouldn't be the case because no end user is logged on, but it shows it in Dependancy Records... A bug?? And when the end user logs on an IP Phone, then we have twice Extension Mobility Dynamic entries... Not good since only 1 device is in use via Extension Mobility (multiple logins are disabled via parameter).
    Greets,
    David
    Greets,
    David

  • Multiple selection for report

    we need multiple selection for the report about the RMA - bill to location ID, we would like to select by service order , currently is there no field for selection, in search-term we have to enter our code. it does not work if we enter the service order.
    thanks for help

    we need multiple selection for the report about the RMA - bill to location ID, we would like to select by service order , currently is there no field for selection, in search-term we have to enter our code. it does not work if we enter the service order.
    thanks for help

  • Multiple Selections for Reporting

    hi BW Experts,
    I am asked by my clients to design a BEx query for a report that requires multiple selection for a data field. They want to select multiple codes (out of 10) in the selction window.
    As far I know I can have a single value (1 value) or value range (2 values) selection when defining Variables.
    How is it possible design query to be able to select 10 values in the initial selection window ??
    Is there any way ????
    Please help me ASAP.

    I think there are not enough data.
    Need to check it with the client. I will get back to you about it later.
    Also can you please tell me - how to delete Variables from the system ?
    I deleted the previous one from the query designer.
    But it's atill telling me that The Variable name is available when I tried to create new one with the same name.

  • Where can I get a list of available selection for certain dict type?

    Where can I get a list of available selection for certain dict type in code?  For instance, when I use SE16 to view VBFA table, I am presented with many filter criteria.  One of them would be "VBTYP_N".  When I click on the square next to the option, I am presented with a list of possible values to select from.  Where can I get the list of this possible values for any given dict type in code?

    Hi Frank,
    The list of possible selection you see can be from diferent sources
    1) Search helps defined either programatically or search helps defined at table level.
    If it is a Z Selection screen check the program, then the data declaration of the parameter
    2)Check tables provided at field level. They can be through use of foreign keys. The proposal generated could be simple compund ..
    3) Fixed values at Domain level ()
    Please refer to this link as well for detailed explanation
    [http://help.sap.com/saphelp_470/helpdata/en/9f/dbaa5435c111d1829f0000e829fbfe/content.htm]

  • To enable multiple selection for tree view in web ui .

    Hi Experts ,
    We have requirement to add a multiple selection to a tree view in web ui  for a standard view.
    Component: BP_HIER
    View: BP_HIER/EOVPHierarchyTreeV
    Currently only single select is enabled for this view. I have added the following code in the HTMl page to multi selection.
    selectionMode          = "<%= AccountHierarchy->selection_mode %>"
    <%--selectedRowIndexTable = "<%= AccountHierarchy->SELECTION_TAB %>"--%>
    And in "DO_INIT_CONTEXT " method I have added the following code to enable multi select.
    typed_context->accounthierarchy->set_selection_mode(
            iv_selection_mode = cl_bsp_wd_context_node_tv=>selmode_multi.
    But still multi selection is not working.
    Let me know if any code changes are required in method "EH_ONSELECT" to enable multi selection.
    Regards,
    Shweta Nimje

    Hi Shweta,
    Why did you comment attribute selectedRowIndexTable? Uncomment and try again.
    selectedRowIndexTable = "<%= AccountHierarchy->SELECTION_TAB %>"

  • Multiple Selection for Plants

    Gurus,
    While using the Multiple Selection option in MMBE (The Arrow  tab). I could not save the value of the plants I have entered.  Requirement is that the plants needs to be added or removed as and when required./ ie plant need not ot be hard coded in the batch program which calls this screen. I tried using the Multiple Selection option where I created a list of plants in txt file and then imported the same. After I exit the transcation the plant disappers. Next time I have to manually enter the plants again.
    Please let me know how to use this functionality.
    Paddy

    Paddy,
    In standard SAP, MMBE does support the creation of variants.  If you are unable to perform this activity, then it means you have an authorization issue.  You need to consult with your authorization team to have the proper objects added to your profile.
    Here are the steps required to create/run MMBE with a variant:
    1.  MMBE
    2. Enter the plant data.  Your technique of importing via text file is acceptable.  Also, manual entry can be used.
    3. Enter any other settings that you wish to have selected during the batch run
    4.  Hit 'Save' icon (floppy disk).
    5. Name the variant.  Enter a short description of the variant.  Ensure that the checkbox "save field without values" is unchecked for plant.
    6. Hit 'Save' icon again. Clik though the confirmation.
    Now, to use your newly created variant:
    7.  MMBE
    8.  Select Goto>Variants>Get.
    9.  Select your variant created in steps 1-6.
    The fields should now be populated according to your original entry.
    You can create a simple single step batch job by running the program in Background
    10.  MMBE
    11.  Select your variant as in steps 7-9
    12. Select Program > Execute in Background
    13. Select output parameters (printer, etc)
    14. Select start parameters (immediate; Date/time, After job, etc.)
    15. Select if you wish to have the job run periodically.  If so, enter the periodicity  under 'Period Values'.
    16. Hit the 'Save' icon at the bottom.
    Or, you can use SM36 to create a job, which can also include multiple steps.  The ABAP program is RMMMBEST and the variant is the one you created.
    Rgds,
    DB49

  • Multiple selection for itemlistbox

    hi
          as soon  as i click on the  itemlistbox
      iam getting this exception  
               Gfuel  i have binded it to the data source of the
            itemlistbox  and  gfuel  is the structure i am gettin it from the  backend .
    com.sap.tc.webdynpro.progmodel.context.ContextException: Node(SampleView.Zlgf001_Outfit_Match_Input.Output.G_Fuel): selection cardinality does not allow multiple selection
    can any one help me ?

    hi
          thanks for the response
             but the node  iam getting it from the backend
                 so i cannot change the cardinality 
              is any thing can be through coding  or  set
       cardinality in the backend.

  • Multiple users and multiple select options

    Hi,
    First of all, let me congratulate Oracle HTML DB team for this great product! This is extremely powerful and useful.
    I have multiple selection item on the form to generate report for the selected multiple schools. I have two critical questions.
    1) Currently I am deleting all records from database tables for multiples selects and similarly selecting all records from these tables to populate dependent LOVs and so on. This is a major issue when multiple people use this application at the same time. I looked at couple of examples to create, delete and select records based on IDs (unique) and it is not clear to me if I need to create parameter/hidden params on the reports side or on the HTML DB side or .. how do they communicate etc. Could any one clarify this process of checking for unique IDs please.
    2) Is there any way to give an option to the user to treat multiple selected item as just one single and to treat them separate? For example, if we let the user count number of students at two schools, how can we let the user count two schools separate as well as both schools together? This should also further ask for the possible options separate for both schools separate if they were to run separate.
    This is very important for me and appreciate any help from you. Thanks in advance.

    Hi,
    Could any one point me in the right direction, please!
    Thanks,

  • How to use JList's ensureIndexIsVisible and multiple selection using CTRL

    Hello everyone. I am stuck on how to use JList's ensureIndexIsVisible() method and to also allow multiple rows in the list to be selected. Currently, when I begin typing a number stored in the list (i.e. 10001) the focus will go to that row; however, when I press the CTRL key and begin typing another number (i.e. 30001) the focus never goes to the new row. I have a suspicion that I need to cancel out the CTRL key somehow when typing the numbers but also need to keep the knowledge that the CTRL key is pressed to allow for multiple selection. Thanks in advance for your help!
    Regards,
    Will

    Hello everyone. I am stuck on how to use JList's ensureIndexIsVisible() method and to also allow multiple rows in the list to be selected. Currently, when I begin typing a number stored in the list (i.e. 10001) the focus will go to that row; however, when I press the CTRL key and begin typing another number (i.e. 30001) the focus never goes to the new row. I have a suspicion that I need to cancel out the CTRL key somehow when typing the numbers but also need to keep the knowledge that the CTRL key is pressed to allow for multiple selection. Thanks in advance for your help!
    Regards,
    Will

  • Multiple selection for Payment Methods.

    TABLES: V_T042E.   
    DATA: s_zwels_con(3).
    SELECT-OPTIONS: s_zwels FOR V_T042E-ZLSCH NO INTERVALS,"payment methods
    ********************   I N I T I A L I Z A T I O N   *******************
    INITIALIZATION.
    ***************   A T   S E L E C T I O N   S C R E E N   **************
    AT SELECTION-SCREEN.
    CONCATENATE s_zwels INTO s_zwels_con SEPARATED BY SPACE.
    This is the code I tried for multiple selection of Payment Methods.This doesnot display the multiple values selected on selection screen.
    Later in program these values will be reflected in Payment Methods in BDC recording using F110 transaction.
    But this code is giving an error :
    Unable to interpret "S_ZWELS". Possible causes of error: Incorrect spelling or comma error.     
    Please can any help in rectifying the current method or any other method of mutliple selection for Payment methods on selection screen .

    u have to put like this only
    <b>SELECT-OPTIONS: s_zwels FOR V_T042E-ZLSCH NO INTERVALS
    "payment methods</b>
    here u have to loop then only u will get desired o/p
    loop at s_zwels.
    endloop.
    but its not the complete solution.
    Regards
    Prabhu

Maybe you are looking for