How to remove the bar: ''do you want to open or save this file''?

If i open a PDF file in IE a bar will pop-up with is asking ''do you want to open or save this file''. Is there a posibility to open this file immediatley. So without the bar that will ask if i want to open or save the file? Loking forward for a answer!

I tried putting the below 2 lines of code at the end of button click event & docClose event.
      event.target.dirty=false;
      event.target.requiresFullSave=false;
It still gives the warning.
Also I tried to found out the line of code which is making the pdf dirty.
  xfa.host.messageBox("is doc dirty (before displayInfo's visible-invisible work): " + event.target.dirty);
  xfa.form.form1.sendForm.welcomeMsg.presence = "visible";
  xfa.form.form1.sendForm.successMsg.presence = "invisible";
  xfa.host.messageBox("is doc dirty (after displayInfo's visible-invisible work): " + event.target.dirty);
The doc got dirty when the successMsg field is made invisible.
Problem I am trying to solve is:
     To display a welcome message before user action and after user action wants to display a success message.
     I follwed the visible & invisible approach & it wokred but gives me a warning on doc close.(Highly imp to avoid it)
Is there any other approach I could follow here.

Similar Messages

  • Do you want to open or save this file? SP 2010 Error

    When attempting to access a library, I am receiving an error message 'Do you want to open or save this file?' ; File type is Zip Archieve. Will not open or save, and because of this I cannot access the library.
    Note: attempted to save & send a word document to sharepoint

    Hi,
    According to your post, my understanding is that you got the message “Do you want to open or save this file?”.
    You can refer to the following articles to disable this download prompt:
    Reset Open/Save Choice for Internet Explorer Downloads in Vista
    http://www.howtogeek.com/howto/windows-vista/reset-opensave-choice-for-internet-explorer-downloads-in-vista/
    Reset the Always Ask Before Opening This Type of File Setting
    http://www.winhelponline.com/blog/reset-the-always-ask-before-opening-this-type-of-file-setting/
    There are two similar threads for your reference.
    http://social.technet.microsoft.com/Forums/en-US/7c60f8c3-a6db-4640-815d-da3920ad4caa/ie-do-you-want-to-open-or-save-this-file?forum=sharepointgenerallegacy
    http://social.technet.microsoft.com/Forums/en-US/57402307-1cbd-49db-aabd-65c2fea19ed9/ie9-do-you-want-to-open-or-save-this-file-prompt?forum=ieitprocurrentver
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • URGENT--Need to supress "Do you want to Open or save this file" for (CSV AND DOC FILES) in IE 8, IE 9 on Win XP and Win 7

    Hi 
    In our Task in Salesforce we generate one CSV file and one doc file after one button click on salesforce screen. we need to download these two documents without the popup message "Do you want to Open or save this file"
    Pls suggest Registry Edit Option Or any IE browser configuration or any
    code to get rid of this popup as this is very critical for our Task. 
    Thanks
    Kartik

    Thanks Alex... I saw this in another Forum and could you pls let me know if this works...that is there is no prompt on CSV download
    Begin in: HKEY_LOCAL_MACHINE - to change settings for all users
    HKEY_CURRENT_USER- to change settings for the current user
    Then browse to Software->Microsoft->Internet Explorer->Main->FeatureControl->Feature_Restrict_File_Download
    And then set the Value iexplore.exe to 0. If it doesn't exist: Create it (DWORD). 
    Thanks
    Kartik

  • IE9 : Do you want to Open or Save this file prompt

    Hi,
    I understand there have been a few people who have asked this, but I can't seem to find a definite answer on this.
    1. Can this be disabled?
    2. If not, why not? What is the security feature or concept behind this prompt making it not possible to to be turned off?
    3. If this can't be turned off, what do Microsoft recommend to customers in enterprise environments who have this requirement?  An e.g. is, a SAP database user who regularly has to download numerous pdf/docx files, but this prompt only
    makes the user environment worse. It sure is very much understandable that regularly downloading files from a particular link, becomes annoying to the user if he/she has to click this prompt every time.
    Thanks & Regards,

    Hi,
    Base on my research, this function cannot be disabled due to enhance security feature.
    This can prevent websites downloading automatically.
    In addition, you can also refer this article:
    http://blogs.msdn.com/b/ie/archive/2011/03/10/safer-and-faster-downloads-in-ie9.aspx
    Thank you for your understanding.
    Regards,
    Leo  
    Huang
    Leo Huang
    TechNet Community Support

  • Firefox not open, when i open mcrsft outlook "File Download" window appear+info. Do you want to open or save this file? Name: {4907ACA9-C8A0-4CFF-A390-CA1296A1FC28}.html. Type: Firefox Document, 329KB. From: C:\Users\"my folder name"\AppData\Local\Temp.

    Windows 7 Professional, Microsoft Office 2010 - Outlook 2010.

    I had the same problem and just found this solution. Go to the view tab in outlook, find the "people pane" tab (center right in the ribbon) and turn it off. I don't know why it works, but it did.

  • Safari asks me do you want to open or save this file?

    Hi,
    I am testing HLS on-demand service on FMS4.5 using external Apache configuration instead of using built-in Apache server that comes with FMS. Do you know why I got this message on Safari when I visit my local http server? http://localhost/hls-vod/sample2_1000kbps.f4v.m3u8
    I checked mime.types file and it says:
    application/vnd.apple.installer+xml
    mpkg
    application/vnd.apple.mpegurl
    m3u8
    Please advise.
    Thanks,
    Myeong

    My bad. Never mind. I tested with Safari on Windows.
    Thanks,
    Myeong

  • How to remove the warning "do you want to save changes to investigation.pdf before closing"

    Issue: To remove the warning "do you want to save changes to investigation.pdf before closing"
    I have created a XFA pdf file(using LC Designer 8.2) to display this issue
    I am not able to attached the PDF. Without attaching the pdf it would be difficult to explain.
    click event js:
    function activateUser() {
      var PDFVersion=xfa.host.variation+xfa.host.version;
      xfa.host.messageBox("button click event registered");
      xfa.form.form1.sendForm.welcomeMsg.presence = "invisible";
      xfa.form.form1.sendForm.successMsg.presence = "visible";
      event.target.dirty=false;
    docReady event js:
    function displayInfo(){
    var res =xfa.host.variation;//Added this line to display the successMsg
    //xfa.host.messageBox("docReady event registered");
    xfa.form.form1.sendForm.welcomeMsg.presence = "visible";
    xfa.form.form1.sendForm.successMsg.presence = "invisible";
    docClose event js:
    xfa.host.messageBox("docClose event registered");
    event.target.dirty=false; 
    Steps to get the warning:
    1) Open the attached pdf using Acrobat Professional.
    2) Click the Confirm Enrollment" button
    3) Now close the document & the acrobat gives a warning "do you want to save changes to investigation.pdf before closing"
    Summary of the XFA pdf:
    It has two text fileds. On docReady event field A is made visisble & field B is made invisible.
    On button click event the field A is made invisisble & field B is made visible.
    On closing the pdf it should not throw this warning message.
    My Efforts:
    1) Found a property in adobe js docs.
           event.target.dirty=false;
    It doesn't solve the problem.
    2) I tried to put this logic in almost all the events listed in designer but I am not able to resolve the issue.
    Please help me resolve this issue.

    I tried putting the below 2 lines of code at the end of button click event & docClose event.
          event.target.dirty=false;
          event.target.requiresFullSave=false;
    It still gives the warning.
    Also I tried to found out the line of code which is making the pdf dirty.
      xfa.host.messageBox("is doc dirty (before displayInfo's visible-invisible work): " + event.target.dirty);
      xfa.form.form1.sendForm.welcomeMsg.presence = "visible";
      xfa.form.form1.sendForm.successMsg.presence = "invisible";
      xfa.host.messageBox("is doc dirty (after displayInfo's visible-invisible work): " + event.target.dirty);
    The doc got dirty when the successMsg field is made invisible.
    Problem I am trying to solve is:
         To display a welcome message before user action and after user action wants to display a success message.
         I follwed the visible & invisible approach & it wokred but gives me a warning on doc close.(Highly imp to avoid it)
    Is there any other approach I could follow here.

  • How to disable "Do you want to open or save..." popup in IE10?

    Our company web application UI invokes creation of an excel file by pressing a button on modal dialog. It creates an excel file and tries to open it by Microsoft Excel. The problem is, IE10 brings "Do you want to open..." yellow popup at the bottom
    of the screen, and this popup is unavailable, because of modal dialog the excel file creation was launched from. Only when this modal dialog is closed yellow popup became available.
    Being not sure if this problem has a resolution without of application redesign, I was thinking about to disable the yellow popup at all. Is it possible? Any ideas?

    Hi,
    Please check if this blog could help here:
    Internet
    Explorer: Disable “Do you want to open or save this file?” download prompt
    Note:Since the web site is not hosted by Microsoft, the link may change without notice.
    Microsoft does not guarantee the accuracy of this information.
    Best regards
    Michael
    If you have any feedback on our support, please click
    here.
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • How to enforce the message "Do you want to save changes?"

    Hello,
    How to enforce the message "Do you want to save changes?" when the user attempts to close a form after checking a non-database item (check-box).
    All the other database items in the block are not updateable and only viewable.
    After checking the non database item check-box, if the user tries to commit, then the system is saving the changes and call the appropriate procedure on save.
    But if the user tries to close the window without committing, the form is not showing the message "Do you want to save changes?" since the check-box is a non database item.
    How to enforce the message "Do you want to save changes?" in this scenario when the user tries to close the window?
    Thanks in advance.
    Cheers
    Sri

    This is a fairly common question in the forum. You will need to override the default exit form process and check to see if the checkbox is checked. You can do this in the Key-Exit trigger. For Example:
    DECLARE
      al_id     ALERT;
      al_button  NUMBER;
    BEGIN
      IF ( CHECKBOX_CHECKED('YOUR_BLOCK.CHECKBOX_ITEM') ) THEN
         /* Display an Alert here that asks, "Do you want to save changes?" */
         ...code here to set the properties of your alert...
         al_button := Show_Alert(al_id);
         IF ( al_button = ALERT_BUTTON1 ) THEN
            --YES
            /* Perform COMMIT Processing here...*/
         ELSIF ( al_button = ALERT_BUTTON2 ) THEN
            --No
            Exit_Form(NO_VALIDATE);
         ELSE
            --Cancel
            RAISE Form_Trigger_Failure;
         END IF;
      ELSE
         Exit_Form;
      END IF;
    END;If you need more help with the Alert, please check out the SHOW_ALERT topic in the Forms Help.
    BTW, what happens if all the user does is check the checkbox? No other changes have occured. What changes are you trying to process?
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Do you want to open or save option disabling

    Hi friends
    i have pdf which is placed it in mime and i used file download UI element for opening it .
    Now my requirement is when i click on the link it opens pdf asking Do you want to open or save file ,but i should not allow this dialog window for the end users So can any body please let me know how to disable this dialog window
    Thanks in advance

    I checked that also but i could not find any changes it is having the properties of auto,allow in place and save

  • How to override the dialog "Do you want to save" while closing the form?

    HI
    I have two blocks on the form.Master block is based on a view wheres the detail block is populated by a procedure.
    Even if the user doesnot change any record and trying to close the form it is still showing the default "Do you want to save" with three options save,discard,cancel as choices.How can we prevent the form displaying that if the user is closing the form with out any uncommited changes.
    Thanks in advance.

    Read this thread about the affects of post-query and when-validate triggers:
        Message Do you want to change the changes you have made? caused by a lov

  • How to remove the bar of my application ???

    I would like to remove the bar which is at the very top of my application (the one with the icon and the close, iconofy and change size buttons). You know, the one made by windows at the very top of each application !
    So, my application will run as a kiosk application!

    Hi pal,
    I guess you should use Window instead of Frame...
    Sander

  • How to remove the bar above the email body in inbox

    How do I remove the Information / toolbar? (not sure what it is called) that appears above the email body under the list of incoming emails in the inbox. It is the bar the has info about the email and buttons like reply, delete, etc. It is redundant and just takes up space.

    You cannot remove it. It is part of the message pane and will display when the message pane turned on.
    You can make it smaller with this add on.
    https://addons.mozilla.org/en-US/thunderbird/addon/compactheader/?src=hp-dl-featured

  • How to specify the excel sheet you wanted while using Active X

    could anyone tell me how to name or append to specific the excel sheet? i do not know where and how to set the path for it.

    Hi Gorka, could you describe a bit more, on the setting of page before or after adding? Do you use a string or numeric to set the parameter, and if i want the datas to be set to say, workbook (project.xls), sheet 2, how would you set it? I tried to use index, rather than add method, and when i set the index to 0, the datas will be at sheet 1, and for other index numbers, there would be an error of code 1.

  • How to avoid the message "Do you want to save the changes you have made?"

    i have 3 forms
    master block
    detail1 block of master
    detail2 block of detail1
    when i go out of detail1 and detail2 blocks after doing some modifications it asks me "Do you want to save the changes you have made"?
    i want to avoid this message as well as my changes should be posted in the database. what is the solution for this big pblm?

    hi
    may be you are trying to modify the database item or reassigning the database item value which is not actually needed.
    try to comment the reassigning database values
    and give clear_form(do_commit);
    most probably u will not get the message again
    Regards
    Rajdeep .A

Maybe you are looking for

  • Starting over with Time machine - as I have been doing it incorrectly

    Hello all, Got some great advice from other posts in this discussion, but I want to clarify a few things. I started using Time Machine without really setting anything up, and have quickly gotten to about 128 gigs of backup (in a little over a week).

  • Anyone Trumpet or Saxophone players that wanna lay a track?

    i have a track that could really use some trumpet or saxophone i been lookin everywhere for someone to come through but no dice either the players never come through or they just bail out. But ya its just one track basicly and if your interested you

  • I've taken out a Hard Drive and can't get it back!!!!!

    Hi all, I have taken out a drive from the 2nd bay of our xserve (don't ask me why) and now I have put it back in it comes up on the desk. Before I removed it we had the facility to save work on all of our imacs on the server which had 1.5TB of space

  • Pages Per Sheet Not Working.

    In previous versions of Mac OS X this was never a problem for me, but I can't get the "pages per sheet" feature listed in the Layout menu of the print dialogue to work.  I've created documents in TextEdit, Microsoft Word, and a few other applications

  • Apache does not find index.php if not explicitly stated in URL

    I have googled for long over this (mod_dir ?) problem without success: My Apache is configured such that it fails to open this link (without trailing slash): http://bioinfo.tg.fh-giessen.de/cancer However, it manages to open if the trailing slash or