Disabling SharePoint Portal's "add a listing for this document" checkbox
I've had a few folks ask for a way to disable that annoying second page on a document upload that deals with adding a listing. If you remember, there's a checkbox at the bottom of the Upload page that asks whether to add a listing for that document. That checkbox is defaulted to checked. If you don't remember to uncheck it, you get that second page.
Here's a way to set that checkbox to unchecked:
1. Go to:
Local_Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\TEMPLATE\SPS\1033\SPS\LISTS\DOCLIB
Note, this is to make the change in the SharePoint areas.
2. Open Upload.aspx
3. Go to the bottom of Upload.aspx:
4. Insert the following JavaScript just above the /BODY tag (make sure to remove the spaces after the '<'... I had to put them there to get the script in this blog!):
< SCRIPT language=javascript event=onload for=window>
document.all.submitlst.checked=false;
< /SCRIPT>
5. Save the changes
Note: This modification is a customization to a standard SharePoint file. It may get overlaid by future Microsoft Service Packs. Be sure to add this change to your Disaster Recovery documentation.