0

I hope the question title is specific enough, but I'll elaborate further. I have a requirement to load various views in a library through an iframe. Furthermore, I need only need the actual content and not the site navigation that has the left bar and title row. I'm not even sure if what I'm trying to do is possible as it's a page that SharePoint created when I was in a library and made a new view.

I've used SharePoint Designer to copy one of these .aspx files to edit and tweak to this end. Here's an example URL for the page I'm trying to load in the iframe (the page won't actually load for you, but the url structure may inform you of...something?):

http://mySpServer/sites/mySpSite/Library/Forms/Education2.aspx

I know that this page utilizes the 'mySpSite' masterpage. Is it possible to have a view for a document library under a site use a different master page? Is it as simple as just editing the 'Education2.aspx' file or is it more than that?

I'm honestly a bit lost on this. Nevermind that I then need to figure out how to load this in an iframe, but I'm hoping the details at this link provide an accurate resolution for that.

1

I think you are looking for the IsDlg parameter. You can add that to the end of a url and it tells SP to hide the nav and suitebar. So for example:

http://mySpServer/sites/mySpSite/Library/Forms/Education2.aspx&IsDlg=1

Here is a blog post that describes how it works and a gotcha based on if the parameter is capitalized or not.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.