File browser dialog box like app.browseForDoc()

Dear all,
Is it possible to write script in LC Designer ES2 such that a file dialog box is presented to the form filler to choose a file he wants?
It should be similar to app.browseForDoc() (which I can't use in Designer ??security issue)
or xfa.host.importData() which will prompt the user to provide a location and file name.
All I want is to get the path and filename information for the chosen file.
Rgds.

Dear Paul,
In my case, the form is originally defined an ODBC connection with a specified Excel file.
The file name and path will then be held or hardcoded in the connectString under xfa.sourceSet.source.
Sadly you told me that it can't modified by script as it is protected, So I clone a new dataconnection
to modify the connectString such that I can point to another Excel file and work on that new connection..
It works so I moved further step to try if I can open a file dialog to let the form filler to choose his own file.
Is there any other method I can try?
Rgds.

Similar Messages

  • Export data File Browse dialog box does not appear

    I am trying to export data to CSV and when I click on Browse to locate proper directory, nothing happens (the dialog doesn't show up).
    I normally right-click on any cell in "Result" TAB, choose Export->CSV.
    On the same note CSV format is a workaround to get to Excel. Is there an extension or option to save directly in Excel format. This would avoid having the client to open the file in Excel and then do a Save As with the proper XLS format instead of CSV.
    Using Win XP client connecting to 10.2 database. Using latest SQL Developer version (downloaded on Friday may 5th version 1.0.0.15.27).
    Thanks
    Robert
    Message was edited by:
    user509017

    I haven't seen the browse button problem that you describe. Is it still occurring? On all exports? There have been issues with export rerunning the query a few times which makes the application appear to lock up. Could that be the issue?
    There is an excel add-in. I assume that it isn't included for licensing issues, but it comes from one of the core developers of this app.
    esdev.sf.net.
    Regards,
    Eric

  • 4.0EA3 : Unable to access mapped drives (Windows) in file browser dialogs

    All File Browser dialogs only allow access to by local C: (hard disk) and D: (DVD) drives. It is not possible any more to access mapped drives (which are referencing UNC paths to our file server) - i.e. Network drives.
    I have tried the following accesses to the File Browser:
    File -> Open    : Does not work
    File -> Data Modeler -> Open : does not work
    Tools -> Preferences -> Environment -> Log -> Log Directory -> Browse : does not work
    This worked/works fine in SqlDev 3.2.2
    I tried to rule out connection/authentication problems to our SAN (the network drives are fully accessible from Windows Explorer and even JDeveloper 11.1.2.2.0) - I created a drive mapping to a share on my local hard disk. Can't see this mapping from within SqlDev either
    Problem occurs on Win7 64-bit
    Looking forward to Oracle feedback or to see if other users find the same issue
    Alan

    https://drive.google.com/file/d/0B2daepPy6k7nbGl4d2xobFJFVTg/edit?usp=sharing
    Hi Jeff
    Many thanks for your reply.
    No - the location drop-down only shows my C: (Hard Drive) and D: (DVD Drive).
    With further playing, I did find that if I qualify a script on a network file share with the full UNC path, it successfully opens the script.
    The problem is that I cannot navigate to locations on mapped drives.
    Having successfully opened a sample script, there is now a shortcut to the folder/directory of my shared scripts in the left pane of the open (file browser) dialog box. Its a good workaround.
    I have shared a screenshot on my Google Drive (this forum does not allow insert of images or attachments ?)
    Alan

  • File open dialog box broken in all apps! ( 10.5.6/7

    Hi, I've got a very odd problem that Apple phone support seem to be unable to solve.
    Basically, every file open dialog box system wide is broken, from file->open in textedit to the browse button on websites for uploading files.
    When trying to display this finder panel, it beachballs for ten seconds then gives me a grey area where the usual finder browser usually resides and the open / cancel buttons at the bottom of the panel.
    I've repaired permissions which had no effect.
    The finder works perfectly other than it's little file open dialog which other applications use...
    Updating to 10.5.7 did nothing to fix the issue.
    Does anybody have any idea how to resolve this?
    Thanks!
    chris.

    V.K. had you create another user to eliminate the possibility that it is a preference file causing the problem. It was reported the problem remained with another user, so the problem is system wide, not with a single user's preferences.
    The Archive & Install is relatively painless. It only replaces the system and leaves everything else untouched. What is replaced is saved in a new folder it creates named Previous System, in case there is something there you might want to bring back (most often 3rd party files, but I have never needed anything from the Previous System folder).
    The only hassle with the A & I is resetting preferences. If you check the option during the A & I to retain user settings, there is usually not very much that needs resetting.

  • File Open Dialog Box  on Button Click

    Hi
    I am devloping some webpages using JSF and RichFaces..
    I would like to appear File open Dialog box to choose single file and multiple files and another Folder chooser dialog box to choose the folder content..
    Both the operation should be performed while choosing the Button Choose File and Choose Folder...
    I have already tried Input type = file and aphace tomohawk..
    But i all the components are coming with text box and browse button..
    I dont need that. I need to open the dialog box once i clilck my choose file r folder button and it should work browser indepent.....

    HTML doesn't provide you the possibility to select multiple files or select folders at a single browse. Thus JSF can't do any much for you. Best what you can do is to write a signed applet or web start application which does the task. The Mojarra Scales component library has a ready-to-use component which embeds an applet which does that task. Check [https://scales.dev.java.net/multiFileUpload.html].

  • File download dialog box problem!

    Hi,
    How do you force file download message box to use specified file name instead of JSP or servlet name.
    I am using:
    // code in attachment.jsp
    <%
    response.setContentType(mimeType.trim());
    response.setHeader("Content-Disposition","attachment;filename=\""+attachmentViewBean.getAttachmentName()+ "\"");
    %>
    With the above code, browser first pop up file download dialog box informing
    'You are downloading the file:[attachment.jsp] from host. Would u like to open the file or save?'
    I want the file name that I had specified in setHeader("Content-disposition","attachment;filename=resume.doc") to appear(i.e. resume.doc) in above dialog box and not the servlet name.
    Any suggestions/tips on this?
    Your help would be greatly appreciated.
    Thanks,
    Yogesh

    For saving the document I have used -
    res.setHeader("Content-disposition", "attachment; filename="+ FileName );
    and it is working very fine, it saves the document with name specified in FileName
    For opening the file in browser without any prompt-
    res.setHeader("Content-disposition", "inline" );
    For setting the content type -
    try {
         if(FileType.equalsIgnoreCase("pdf")) contentType = "application/pdf";
         if(FileType.equalsIgnoreCase("doc")) contentType = "application/msword";
         if(FileType.equalsIgnoreCase("rtf")) contentType = "application/msword";
         if(FileType.equalsIgnoreCase("gif")) contentType = "image/gif";
         if(FileType.equalsIgnoreCase("jpg")) contentType = "image/jpeg";
         if(FileType.equalsIgnoreCase("html")) contentType = "text/html";
         if(FileType.equalsIgnoreCase("htm")) contentType = "text/html";
         if(contentType == null){
         contentType="text/plain";
         res.setContentType(contentType);
    } catch (Exception e){
              out.println("Exception while setting content type");
              out.println("Exception : " + e);
              return;
    Hope this helps

  • Feature Request -  use native Windows file browsing dialog

    I'm not sure if this has been brought up before. I wasn't able to find anything with a search in the forum, so I'll post it here.
    An enhancement request for SQL Developer would be to have it use the native file browsing dialogs in Windows. I'm using Windows 7, and it would be nice to have a native Windows dialog pop up when I go to open or save a file, rather than the ugly (I think) default one, which must be a generic Java file browsing construct. The native dialog would allow it to include all the links to Windows 7 libraries, favorites, and other things like Dropbox, Google Drive, etc. if those were installed.
    I'd be curious to hear what others think about this idea.
    Thanks,
    Brian

    At the risk of starting a Windows/Linux/Mac flame war, or pissing off Java developers, I'm not really into the whole Java write once, run anywhere approach. Particularly when it comes to look and feel. There are merits to cross-platform development when it comes to application functionality, but look and feel is a bit trickier. Windows has specific features that Windows users are used to seeing and using. Mac the same. Linux the same. I think this is especially true when it comes to dealing with the file system. So applications should adjust to the native environment nicely and not introduce elements that don't "fit in". Just MY $0.02. :-)
    I'm not a Java developer, but IvanG pointed out that it SHOULD be pretty easy to invoke a native Windows dialog box from Java. That would be my choice.
    Thanks!

  • Launching file open dialog box in Forms 6i

    hi,
    We have to launch file open dialog box using forms 6i within oracle apps
    and store the file into the database.
    Any ideas?
    Thanks,
    AZ

    Hi azodpe
    i have a solution(Source Code) plz give me ur email address
    i ll mail u later.
    Khurram

  • File Open Dialog Box

    Under my install of Vista Enterprise on an AD network, I'm am not getting the "computer" option to access local and network drives when I select "File/Open".  All I get is the redirected "home" directory for that user.  True for all Adobe applications (have the latest Creative Suite 4).  Other Windows apps using Windows file/open dialog box can get to the network.  Tech support said I should have an option to select the OS dialog box, but I do not see that on my install.

    In Edit > Preferences > File Handling, uncheck "Enable Version Cue".  This is where you will find it in CS4; earlier versions may have slight variations.  In some versions, you may also get a checkbox in the file open dialog (down at the lower left, as I recall) that lets you select OS dialog or Adobe dialog.   Also, in Bridge (again CS4), go to Edit > Preferences > Startup Scripts, and uncheck Adobe Version Cue CS4.  (I have this unchecked, and even with Enable Version Cue checked in PS I don't get the Adobe dialog or the option to set it, so the setting in bridge seems to be the master.)

  • Problem With File Download Dialog Box

    Hi all,
    I have jsp page that allows a user to export oracle data to excel.
    I have these code in my page:
    <%@ page contentType="application/vnd.ms-excel" %>
    response.setContentType ("application/vnd.ms-excel");
    response.setHeader ("Content Disposition",
    "filename=\"historicalrate.xls\"");
    I run the page and it popups a file download dialog box with Open and Save buttons.
    When I click the Save button a Save As window opens with a hr.xsl file name and Microsoft Excel Workbook(*.xls) as save type. It is what I want.
    The problem I have is when I click the Open button on the file download dialog box it displays data in excel format on a browser well. Then I click File > save as on browser's tool bar the Save As window pop up with no file name and a default Text(tab delimited)(*.txt).
    I need the file name and Microsoft Excel Workbook(*.xls) as default save type.
    Any help would be greatly appreciated.
    Please help
    Thanks

    I have the same problem with hui_ling.
    When user click on "Open", Excel start and open excel file correctly but the file name on excel title bar. 'Cause the file name is in Japanese characters. Any one can help me?
    Message was edited by:
    TNTVN

  • Wpg_docload not producing a file save dialog box

    Hi Everyone,
    I have a BLOB column in a database table and I want to show a link on a web page so when user click on it, it pops up a file download dialog box giving the user option to either open or "save as".
    I am using wpg_docload.download file but it seems to be load the blob data into the browser (inline)
    Here is the code:
       -- get image size
        intimgsize := dbms_lob.getlength(page_b_contents);
        -- print the header   
        owa_util.mime_header('Content-Type:application/vnd.ms-word;charset=utf-8', false);
        htp.p('Content-length: ' || intimgsize);
        htp.p('Content-Disposition:attachment filename="test.doc"');
        owa_util.http_header_close;
        -- download BLOB
        wpg_docload.download_file(page_b_contents);
    Any thoughts what might be wrong?
    Thanks

    How must wpg_docload.download_file hack across the network, and into the client o/s process executable running the browser, and then force that browser process to pop up a dialog box to save contents as a file?
    Do you understand the concept behind Mime types? The browser has specific actions (some configurable) for specific Mime types. PL/SQL can specify the Mime type. And provide a well formatted Mime header. It cannot however force the browser to act in a specific way when it receives that Mime stream from PL/SQL.
    See Office 2007 File Format MIME Types for HTTP Content Streaming - VSOfficeDeveloper: Known Problems, Bugs, and Fixes - Si… for basic header details.

  • File Save dialog box not showing correct file name while saving file

    hi
    Currently, after the Submit button is hit, the File Save dialog box is displayed. If the user saves the file and then opens it then the output appears correct however if the user chooses to open the file without saving on the local machine then the correct viewer is not used to display the file. The name of the file is defaulted as qotSCopPrint.jsp and the default file viewer for jsp files is chosen to view the file. The format of the file is obviously not text (it is either pdf or rtf) so the output shows binary characters.

    data : v_repid like sy-repid.
    parameters : p_file like rlgrap-filename.
    initialization.
    v_repid = sy-repid.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'
           EXPORTING
                program_name  = v_repid
                dynpro_number = syst-dynnr
                field_name    = 'P_FILE'
           IMPORTING
                file_name     = p_file.
    Message was edited by:
            Chandrasekhar Jagarlamudi

  • Oracle BPM 10.3 File Save Dialog Box

    Hi,
    I am using Oracle BPM 10.3. Can anybody tell me that how to get a File Save Dialog box in the method. On the method call i want to call Save Dialog box which will save the file on the local computer.
    Thanks
    Edited by: user9293762 on Sep 2, 2010 9:35 AM

    The compilation within Studio works with a bit smaller (like 35MBytes) project, thus I think the problem is some sort of memory handling.
    The problem comes up while it is trying to compie/load 'external resources': it still works with 512M or even 256M of heap before this operation.
    Some weird thing is that I cannot set Xmx >640M, nor launcher.XXMaxPermSize > 1024M (winXP SP2, 2G RAM). While I'm sure that nothing is hacked around the memory allowance of Windows (i.e. how much memory does it allow for particular executables), I think this operation should be tested to work even on 256M heap...
    On the other hand, the ANT compilation works well.
    Well, almost well.
    I have had some errors in my project, which ALBPM6.0 said to be OK, like defining a String array attribute 'not null' and setting no default value; or defining some object to be abstract and instantiating it.
    However these errors are not always reported, e.g. during catalog compilation: XY must be explicitly instantiated before being used since it does not have a default initialization... thus made it static (however, it has been used as static all the time).
    I had to hack CatalogPublisher a bit so that I can read them on stdout, and correct those syntax errors.
    For this possibility, iterate over the non-empty foCheckerListener.getPresentationErr() in CatalogPublisher after checkXO().

  • Word and Excel file and folder icons missing in File Open dialog box

    Running office 365 on Windows 7 Pro: In Word and Excel, when opening and browsing for files in the file Open dialog box, all file and folder icons are missing.  This problem does not occur within Windows Explorer.

    Can you open Word/Excel files normally?
    Go to File>Advanced>Disable hardware graphics acceleration
    Start Office in safe mode to troubleshoot the issue:
    http://office.microsoft.com/en-001/support/why-cant-i-start-my-office-2013-application-HA104011864.aspx
    If the issue persists, do a repair for your Office suites in Control panel>Program and features>Office>Change>Repair
    Tylor Wang
    TechNet Community Support

  • File Download Dialog Box

    Hi,
    I am creating a site using struts framework. In that one I code one "Download" hyperlink. Which should download Excel file to the client site.
    For this I want the Windows File Download Dialog Box to pop up when the user presses the "Download"
    hyperlink on the page. This is the dialog box which prompts the user to either open the file or save
    the file.
    However, instead of File download dialog box, IE opens the text document within itself.
    From what I understand, if the Mime Type of the file I am trying to open is registered on the client
    workstation, then this dialog box wont pop up as Windows would automatically get the registered Mime
    Type from the registry and open the application. For this we need to add headers to http response (content-disposition). Where to add this header info. In JSP, Action classes?
    Can somebody help.
    Thanks

    I am facing a similar problem...however in my case my application is on Tomcat server and when the user clicks the link, he/she sees junk data (excel sheet data) in plain html which makes no sense (with lot of special chars, just like opening any binary file in notepad)
    while if i run the application in WSAD then the links work fine....is there any difference in both the servers in the way they treat file download?

Maybe you are looking for

  • Problem with internet connect?

    Hi, I have installed a Netgear wireless router, which is connected to my eMac by an ethernet cable. I can access the internet through Firefox without a problem, but when I try to check software update or get to the itunes store it says it cannot conn

  • IOS 5.0.1 messages show phone number instead of names

    after the iOS 5.0.1 update, all my incoming and outgoing messages show phone number instead of names even though i have them in my contacts. i tried deleting previous messages, and restarting a new outoging msg to a specific number but when i start a

  • Can't add Characteristic to Selection - BEx 3.5 Query Designer on 7.0

    Hi Gang, Strange problem. I am attempting to add a characteric to a selection in a BEx 3.5 Query. We use a BW 7.0 backend. However, in Edit Selection, I am unable to drag and drop the characteristic from the left pane to the right one. No error messa

  • Mail + Yahoo = NO GO anymore?

    Hi there, I have an odd problem. Since a couple of days Mail doesn`t sync with Yahoo anymore. It looks like, that Mail can't set this account online anymore. My iPhone doesn't have any problems at all. Funny thing though: I sync Mail (etc) via my Mob

  • Why doesn't my disk space free up after moving files to an external drive?

    I have a 750GB internal HD but film a lot of movies. To free up space, I have moved my iMovie clips off to a secondary hard drive, but I have not seen my free disk space free up on my Macbook pro. Why is this? I moved, not copied the files. They only