How to set the "Overwrite existing file?" checkbox is unchecked by default when "Save As" window pops up. - InfoPath Dev
in

InfoPath Dev

How to set the "Overwrite existing file?" checkbox is unchecked by default when "Save As" window pops up.

Last post 12-31-2008 03:28 AM by wxc_china. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 09-22-2008 02:56 AM

    • tracy
    • Not Ranked
    • Joined on 09-22-2008
    • Posts 3

    How to set the "Overwrite existing file?" checkbox is unchecked by default when "Save As" window pops up.

    When I save a new infopath form(browser based) the "Overwrite existing file?" checkbox is checked by default on poped up "Save As" window, what I want is to set the checkbox is unchecked when "Save As" window pops up. I tried but failed. Can you give me any solution?? Thanks very much!

     

  • 09-24-2008 12:29 AM In reply to

    Re: How to set the "Overwrite existing file?" checkbox is unchecked by default when "Save As" window pops up.

    In the settings of the SharePoint library you can turn the overwrite on or off.

  • 09-24-2008 07:04 PM In reply to

    • tracy
    • Not Ranked
    • Joined on 09-22-2008
    • Posts 3

    Re: How to set the "Overwrite existing file?" checkbox is unchecked by default when "Save As" window pops up.

    Dear Clay Fox, I am still confusing where to set it? This "Overwrite existing file?" checkbox is on "Save As" window when I save an infopath browser-enabled form, the "Save As" window was called by form service. So I don't know how and where to set it. The screenshot as follows:

     

     

  • 10-09-2008 06:01 AM In reply to

    Re: How to set the "Overwrite existing file?" checkbox is unchecked by default when "Save As" window pops up.

    I have the same problem and I therefore want to know if anyone can describe in detail how to do this.

    Best regard

    KLindgren 

     

     

  • 10-21-2008 11:08 PM In reply to

    • Anuma
    • Top 25 Contributor
      Female
    • Joined on 07-20-2005
    • India
    • Posts 525

    Re: How to set the "Overwrite existing file?" checkbox is unchecked by default when "Save As" window pops up.

    Hi,

     

    You need to check or Uncheck "Overwrite existing file?" checkbox option while taking submit data connection in the design mode. Otherwise click on “edit template” from SharePoint to open the form in design mode. Modify the submit data connection and Check/uncheck “Allow Overwrite if file exists” check box. And publish form to SharePoint again.

     

    Anuma Chinthapalli /
    http://www.GGKTech.com
  • 12-31-2008 03:28 AM In reply to

    Re: How to set the "Overwrite existing file?" checkbox is unchecked by default when "Save As" window pops up.

    open

    C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\INC\Core.js

    Find this code

    objDialog.innerHTML = Dialog.RenderDialogTemplate(Dialog.arrDialogTemplate, Dialog.arrDialogData);

    --------------------------------------
    modify it like:

    -------------------------------------
    var wxcHtml = Dialog.RenderDialogTemplate(Dialog.arrDialogTemplate, Dialog.arrDialogData);
    if( wxcHtml.indexOf("dialog_saveas_overwrite") > -1)
    {
    wxcHtml = wxcHtml.replace("checked","unchecked");
    }
    objDialog.innerHTML = wxcHtml;

     

    save and iisreset

     

     

    ------------------------------------------------------------------------

    my msn : [email protected]

Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.