Solved

Change Master on a View Sharepoint 2016

Posted on 2016-08-23
6
44 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 14

Expert Comment

by:SneekCo
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 14

Accepted Solution

by:
SneekCo 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
What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

 
LVL 14

Expert Comment

by:SneekCo
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 14

Expert Comment

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

Thanks
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

747 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now