How to Change "Add a Listing" in Sharepoint Portal

Modify “Upload.aspx”., Choose one of the following two approaches: Option 1 Remove the “Add a listing for this document” control from the Upload.aspx page., The “Upload a document” page with no longer have the check box for “Add a listing for this...

3 Steps 1 min read Easy

Step-by-Step Guide

  1. Step 1: Modify “Upload.aspx”.

    Be aware that there is one for each template.

    You can find these files at:
    Local_Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\TEMPLATE\Locale ID\
  2. Step 2: Choose one of the following two approaches: Option 1 Remove the “Add a listing for this document” control from the Upload.aspx page.

    This approach removes the Server control responsible for rendering the Check box from the page.

    Search upload.aspx for the following string: <SPSWC:
    SubmitLinkOnSTSUploadDocPage runat=server /> Delete it.

    Save and exit notepad.

    Option 2 Set the default check box to unchecked/false.

    This approach involves adding some javascript that flips the value client side when the page loads.

    Find the following tags at the bottom of Upload.aspx:</BODY> </HTML> Insert this code snippet above them:<script language='javascript' for='window' event='onload'> document.all.submitlst.checked=false; </script> Save and exit notepad. ,
  3. Step 3: The “Upload a document” page with no longer have the check box for “Add a listing for this document”.

Detailed Guide

Be aware that there is one for each template.

You can find these files at:
Local_Drive:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\60\TEMPLATE\Locale ID\

This approach removes the Server control responsible for rendering the Check box from the page.

Search upload.aspx for the following string: <SPSWC:
SubmitLinkOnSTSUploadDocPage runat=server /> Delete it.

Save and exit notepad.

Option 2 Set the default check box to unchecked/false.

This approach involves adding some javascript that flips the value client side when the page loads.

Find the following tags at the bottom of Upload.aspx:</BODY> </HTML> Insert this code snippet above them:<script language='javascript' for='window' event='onload'> document.all.submitlst.checked=false; </script> Save and exit notepad. ,

About the Author

M

Marie Stevens

Specializes in breaking down complex crafts topics into simple steps.

35 articles
View all articles

Rate This Guide

--
Loading...
5
0
4
0
3
0
2
0
1
0

How helpful was this guide? Click to rate: