Solved

Change Master on a View Sharepoint 2016

Posted on 2016-08-23
6
54 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 15

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 15

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
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

 
LVL 15

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 15

Expert Comment

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

Thanks
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Definitions and default visual studio colors 5 58
SSL https .net web site force redirect 3 36
how to read json value 2 30
Receiving a string from a WebService Push 21 36
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
The vision: A MegaMenu for a SharePoint portal home page The mission: Make it easy to maintain. Allow rich content and sub headers as well as standard links. Factor in frequent changes without involving developers or a lengthy Dev/Test/Prod rel…
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

910 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

22 Experts available now in Live!

Get 1:1 Help Now