Skip to main content
5 votes

How to update custom master page and page layout, which is already deployed

I was facing the exact same issue and resolved it by setting ReplaceContent="true" in the element.xml file of the module as below <File Path="MasterPageModule\MyMasterPage.master" Url="...
SiD's user avatar
  • 83
5 votes

SharePoint Online html pages

As a workaround try to rename yourhtmlpage.htm to yourhtmlpage.aspx then it will be displaying in the browser.
Youssef Moumen El idrissi's user avatar
5 votes
Accepted

Sharepoint 2013 - Publish and Check in

When a page is checked-out, the check-in and publish works as follows. Check-in: Increments the page version. The new version is visible only to users who have Full Control access and above. Publish:...
Ahmad Zia's user avatar
  • 1,256
3 votes

Multiple Publishing Pages Libraries

You can have only one Pages library per site; this library is king-of hard-coded in the product. But why don't you simply create folders/subfolders in the main Pages library, to sort your articles?
Evariste's user avatar
  • 9,731
3 votes

I cannot edit SharePoint 2013 custom page

Open your page which is having error and add ?Contents=1 to the end of the page’s URL. If the URL already has a “?” then add this instead to the end of the URL: &Contents=1 Example: https://...
Virendra Kumar's user avatar
3 votes
Accepted

Add Web Part(dwp file) to the Page Layout

If you can deploy your page layout with a sharepoint solution it would be quite easy, you can add your webparts to the elements.xml file which includes your page layout: <Elements xmlns="http://...
Bernhard's user avatar
  • 303
3 votes

How to add SharePoint Document Library web part on a team site page?

Based on your Head Question How to put SharePoint Document Library on team site? and what I understood you need to show Doc library at Team Site page not within Site Contents. So the answer should be ...
Mohamed El-Qassas MVP's user avatar
3 votes

How do i recover deleted page?

You have an option of Secondary recycle Bin in SharePoint. Go to Site Settings -> Site Collection Administration -> Recycle bin. if it is not appearing the deleted page. click on "second-stage recycle ...
Suresh Bolineni's user avatar
3 votes

How to show the last modified date on a page layout

try <SharePointWebControls:DateTimeField FieldName="Modified" runat="server" ControlMode="Display"/> more details on this link : http://blog.tylerholmes.com/2009/06/free-last-modified-bydate-...
Karthik Jaganathan's user avatar
3 votes
Accepted

Refresh publishing page on modal form submit in SharePoint Online

Try to use window.location.reload(); in the IF condition to refresh the page Example dialogReturnValueCallback: function(result){ if (result == SP.UI.DialogResult.Ok) { window....
Mohamed El-Qassas MVP's user avatar
2 votes

SPDesigner - This page cannot be edited in SharePoint Designer

The reason is that the page has an attached page layout which it depends upon. Either you edit the page layout (and effect all other pages relying on this page layout) OR you detach the page from the ...
Benny Skogberg's user avatar
  • 25.5k
2 votes

Webpart zone is not appearing on publishing page

In IE, add the SharePoint website URL to the 'compatibility view settings'. You will then start to see the web part zones appear.
billfredtom's user avatar
2 votes

Pre-populate HTML content in the Page Content field of custom Article Page layout?

This is possible to do from your custom page layout HTML file, but requires some jiggery-pokery to work properly. If you navigate to the Page Content Snippet in your HTML page, you can add html by ...
SoulRider's user avatar
2 votes
Accepted

Difference Between Publishing Page, Wiki Page and Web Part Page

Wiki page = the most basic and easiest page of post-2010 SharePoint. You can write text directly in it, have 8-9 different layouts ('boxes' to write and place webparts in), very easy to manage for ...
susan's user avatar
  • 2,678
2 votes
Accepted

SharePoint Online - When to use an Article page vs Welcome page vs Page in a Publishing site?

Basically these 3 different type of pages has different page layout. So based on your requirement you can choose one... Article page - Because of it’s WYSIWYG in-page editing capabilities, this is ...
Siddharth Vaghasia's user avatar
2 votes
Accepted

Creating pages in visual studio

You need to update your .xml file as below <File Path="LayoutPage.aspx" Url="InnerPage.aspx" Type="GhostableInLibrary" IgnoreIfAlreadyExists="TRUE" ReplaceContent="True"> <Property Name="...
Ram's user avatar
  • 2,444
2 votes
Accepted

facebook share in sharepoint 2013 site

OOTB there is no such webpart. However, there are lot of plugins available on the Internet which you can use and integrate with on SP pages. Couple of plugins you can use - 1) html share buttons - ...
Gautam Sheth's user avatar
  • 30.9k
2 votes

Inside my event receiver how i can find a specific wiki page and get its HTML source for my enterprise wiki site collection

Yes, one way to get it by server relative url by using code below: public static string GetWikiPageContent(Web web, string serverRelativePageUrl) { var file = web.GetFileByServerRelativeUrl(...
Sergei Sergeev's user avatar
2 votes

How to add webPart to Page with PowerShell from WebPart Gallery

Using the Microsoft PNP PowerShell Library, you can add WebParts to pages pretty easily. For example to add from a webpart file: Add-PnPWebPartToWebPartPage -ServerRelativePageUrl "/sites/demo/...
James Grizzle's user avatar
2 votes

How to Display Microsoft NAV pages in SharePoint On-Premise Web Parts?

Yes, you can get the web navigation in SharePoint visual web part and show it as you prefer To get the Web Navigation via SSOM // Web Navigation using (var site = new SPSite("http://somesite")) ...
Mohamed El-Qassas MVP's user avatar
2 votes
Accepted

Publishing Site - multiple 'Pages' library

Activate the publishing feature to see the Pages Library in Site contents. Steps to Activate: 1. Go to site Settings 2. Click on Site collection features https://Yoursite.com/sites/...
vinit kumar's user avatar
2 votes
Accepted

Article pages: is there a way with a code to 'write' one or more fields inside the page?

By using _spPageContextInfo.pageItemId you query field values of page item (article page) and once you get the value you can bind it to any control you want on the page. Value of Title :<label id="...
Bhaskar Dhone's user avatar
2 votes
Accepted

How to dynamically list document library titles onto a custom SharePoint page

You can use Highlighted content web part for your requirements like: Query text: contentclass:STS_List_DocumentLibrary Title:"cars-*" Output: Optional: Optionally you can set the layout &...
Ganesh Sanap - MVP's user avatar
1 vote
Accepted

How to get current page properties in SharePoint page using c#?

First add Microsoft.SharePoint.Publishing; reference to your solution SPWeb web = SPContext.Current.Web; PublishingWeb publishingWeb = PublishingWeb.GetPublishingWeb(web); PublishingPageCollection ...
Mohamed El-Qassas MVP's user avatar
1 vote
Accepted

How to display Page Content field in itemstyle.xsl

PublishingPageContent is a List Item column. Using the standard functionality it is not possible to display the content of a page. You could however extend the Content Query Web Part with custom ...
Gautam Sheth's user avatar
  • 30.9k
1 vote

Page Edit Mode for Lists in SPO

Ah - in the List Settings > Advanced Settings section, there is a section for List Experience with choices for Default,New Experience or Classic Experience. Classic Experience makes it look somewhat ...
bgmCoder's user avatar
  • 3,581
1 vote
Accepted

Page Edit Mode for Lists in SPO

Lists and libraries in SharePoint online are by default opened in so called "New experience" mode, which doesn't allow us to do page customizations. In order to edit the page and add the Content ...
Damjan Tomic's user avatar
  • 3,656
1 vote

Inside my event receiver how i can find a specific wiki page and get its HTML source for my enterprise wiki site collection

Try the below code, you need to pass the server relative url of the wiki page. public override void ItemAdded(SPItemEventProperties properties) { base.ItemAdded(properties); SPWeb ...
Gautam Sheth's user avatar
  • 30.9k
1 vote
Accepted

Multiple Publishing Pages Libraries

It's limitation in SharePoint, There is only one page library per WebSite. But there are other workaround. Solution A Create sub-web to separate your article more. Solution B Create a new ...
asim nadeem's user avatar
1 vote
Accepted

Page Won't Load jQuery Script After being Published

Just in case anyone comes across this, the issue was that SharePoint uses two different IDs for Display and Edit modes in the topNav module. Changing the selector worked for me.
user2004758's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible