Hi Sharepointers,
In one of my previous posts, I shared one of the two solutions for hiding checkbox in Upload.aspx page for a single document library.
This time I will share the second solution for the same issue.
Solution 2) Edit the Upload.aspx (application) page.
When u try to edit this page, it reflects on all the document libraries.
So we need to check to perform the action on a single library, and this check will be the List GUID from the URL.
<%
if (Request.QueryString["List"] == "{651489A5-0C0D-4774-B6FF-B995BB06D82A}")
{
OverwriteSingle.Visible=false;
UploadMultipleLink.Visible=false;
}
%>
Substitute the above with your List ID.
For easily finding the GUID of a library u can refer my post here
That's it. Work is done :)
See u next time :)......
In one of my previous posts, I shared one of the two solutions for hiding checkbox in Upload.aspx page for a single document library.
This time I will share the second solution for the same issue.
Solution 2) Edit the Upload.aspx (application) page.
When u try to edit this page, it reflects on all the document libraries.
So we need to check to perform the action on a single library, and this check will be the List GUID from the URL.
<%
if (Request.QueryString["List"] == "{651489A5-0C0D-4774-B6FF-B995BB06D82A}")
{
OverwriteSingle.Visible=false;
UploadMultipleLink.Visible=false;
}
%>
Substitute the above with your List ID.
For easily finding the GUID of a library u can refer my post here
That's it. Work is done :)
See u next time :)......
No comments:
Post a Comment