Solved

Change Master Page for a Sharepoint 2010 Document Library

Posted on 2012-03-27
6
1,001 Views
Last Modified: 2012-04-10
I need to change the Master Page for a Document Library.  

The person who built this site added a banner to the v4.Master and applied it to the whole site.  Now the Upload item form also has the banner on it which looks odd and blocks the "Save/Upload" button from view.
0
Comment
Question by:MLeehersh
  • 4
  • 2
6 Comments
 
LVL 18

Expert Comment

by:ivan_vagunin
ID: 37772613
Hi!
First, master page is applied to a page, not library or list. To change master page for a upload document page, you should open this page in SharePoint designer, switch to page markup view and edit MasterPageFile or DynamicMasterPageFile attribute <%@ Page %> directive.
0
 
LVL 1

Author Comment

by:MLeehersh
ID: 37772844
Hi Ivan,
Thanks for your swift response.  When I edited the MasterPageFile it only changed the AllItems.aspx page. The page no longer had the banner at the top but the Upload form still did.  I was not able to find the DynamicMasterPageFile attribute you mentioned.

I must remove the banner from the form that is used to upload items to this library.
Any other suggestions?
0
 
LVL 18

Expert Comment

by:ivan_vagunin
ID: 37773246
You should edit Upload.aspx not AllItems.aspx (the path for Upload.aspx is the same as for AllItems.aspx)
0
Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

 
LVL 1

Accepted Solution

by:
MLeehersh earned 0 total points
ID: 37773301
Hi Ivan,
Thanks for your help. I figured out the problem.  First, we dont have access to edit _layouts/Upload.aspx.  

I did however find an easy solution by going to Site Settings/Masterpage and changed the System Masterpage.  This worked.  I do believe your solution would have worked as well if I could access Upload.aspx.

Thanks!
0
 
LVL 1

Author Comment

by:MLeehersh
ID: 37813284
The solution provided by Ivan would have worked, however I do not have access to the _Layouts folder, another solution I found was changing it in the Masterpage settings under Site Settings.
0
 
LVL 1

Author Closing Comment

by:MLeehersh
ID: 37826792
The solution provided by Ivan would have worked, however I do not have access to the _Layouts folder, another solution I found was changing it in the Masterpage settings under Site Settings.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
Microsoft SharePoint Foundation 2010 and Microsoft SharePoint Server 2010 do not offer the option to configure the location of the SharePoint diagnostic trace log files during installation.  This can, however, be configured through Central Administr…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question