Solved

Change Master on a View Sharepoint 2016

Posted on 2016-08-23
6
79 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 18

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 18

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
Office 365 Training for IT Pros

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
LVL 18

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 18

Expert Comment

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

Thanks
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

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…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …

734 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