Solved

Change Master on a View Sharepoint 2016

Posted on 2016-08-23
6
62 Views
Last Modified: 2016-09-12
Hello,

Created a view in sharepoint 2016.  The view is going to be seen on an intranet.  By default the view displays with a master page.  I only want the view and nothing else showing  on the intranet page.

Any way to remove the master from the view or insert a blank.master on the view?  I don't want to change the default master on the site.

Tried using the CSS option but didn't get it to work.
0
Comment
Question by:jshesek
  • 4
  • 2
6 Comments
 
LVL 16

Expert Comment

by:Walter Curtis
ID: 41767627
If you are concerned about the quick launch navigation on the left or other items on the page, most of those things can be hidden via CSS.

What are you trying to do with the page? How does not using a master page help you do that?
0
 
LVL 1

Author Comment

by:jshesek
ID: 41767730
The site has a library of documents in a folders.  I need to display the folders on an intranet page.  The employees can click on the folder and download the document.

 We just upgraded from 2007.  Before, in 2007, I created a dataview then added that into .aspx page on the intranet.

Haven't touched it since 2010.  And now they upgraded.  
Right now, to get rid of the navigation, I created a XLST list view - added it to a .aspx page in SharePoint designer - 2013/2016.  I call that .aspx page into the intranet page.  Problem is the links on the folders don't open on a plain click.  You have to right click & opens in a new window.  

So figured better to create blank master - with list view and call that page directly into the intranet.  But haven't been successful.  Tried working with the CSS but haven't been successful either.

And of course they came to me and need this quick.
JS
0
 
LVL 16

Accepted Solution

by:
Walter Curtis earned 500 total points
ID: 41767783
Good information, thanks..

The intranet you describe is not in SharePoint if I read correctly.
So you will probably just want the SharePoint page in an frame on an intranet page.

You can create a SharePoint empty aspx page. From there you could build the page via code using SPD. Add a Web Part zone, then add a view of the library you want via web part. Then show that page in your intranet.

Another approach, Create a web part page, then add the library view to the a web part. Add this css via another web part (content editor web part) to hide the left navigation:

<style type="text/css">
body #s4-leftpanel {
      display:none;
}
.s4-ca{
      margin-left:0px
}
</style>

The problem is going to be the top ribbon. You could probably open the page with SPD and remove the code for the header and other items, maybe add the css here too.

The good news is, I am sure it can be done. I have not ever tried to remove totally the top part of a SharePoint page, but should be possible.

Good luck...
0
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
LVL 16

Expert Comment

by:Walter Curtis
ID: 41777093
Any luck?
0
 
LVL 1

Author Comment

by:jshesek
ID: 41787753
What I did was create a new app in Sharepoint.  This way permissions weren't an issue.  
Now the SharePoint page is displayed on it's own and not called into an intranet page.  
I was able to strip out the quick links bar and the ribbons.  It's a popup page.  
The only other issue that came up was when I called the url, with a link, on the intranet it didn't like the space/%20 in the URL.  So created new libraries with no spaces in their names.

Thanks for your comments SneekCo.  They helped.
0
 
LVL 16

Expert Comment

by:Walter Curtis
ID: 41787769
Glad you got it working like you wanted!

Thanks
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SharePoint Custom List 2010 Limitation? 1 27
How to join on ID, with prefix? 15 58
Regular expression help 2 23
Help with consolidating excel files using VB.net 2 21
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…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
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 …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

785 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