Solved

Change Master on a View Sharepoint 2016

Posted on 2016-08-23
6
75 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 17

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 17

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
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 17

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 17

Expert Comment

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

Thanks
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Amazon S3 Images with .Net 3 29
Regarding swagger API 1 32
Problem to Office 1 39
.NET - find out if application is running on Windows 2012 server 3 30
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 …
We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

685 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