Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [page-layout]

Page layout is the part of graphic design that deals in the arrangement and style treatment of elements (content) on a page.

0
votes
1answer
10 views

Users with Read permission can not view the “Pending” alerts inside enterprise wiki pages

I am working on an Enterprise wiki site collection inside sharepoint on-premises 2013. and i have set the following approval settings:- now i edited the home page and i added random text qqqqqq.. ...
0
votes
0answers
5 views

Where inside my page layout i need to register Page.ClientScript.RegisterOnSubmitStatement?

I were searching for an approach to add a validation on a Date field inside my enterprisewiki.aspx page layout, the validation to check if the Date >= Today. so finally i find this appraoch http://...
0
votes
0answers
15 views

Add validation to a Date field inside our publishing site's page layout using JavaScript/jQuery

I am working on an enterprise wiki site collection inside sharepoint farm 2013. I have a Date field named "ExpireDate" and i added it inside the EnterpriseWiki.aspx page layout. Here is the markup for ...
0
votes
1answer
34 views

Why is there no page layout for the Page content type

I have a pages library with two content types the out of the box Page and one a custom one with some custom metadata (from site columns) Team_Resources. Those I removed the other content types -- ...
0
votes
1answer
46 views

How to add Pages Library to page layout

We are using the page publishing features and I'm trying to put together a custom page layout that includes a list view of the pages library. I've gone into the Snippets gallery but there isn't a ...
0
votes
1answer
25 views

SPO: Document Library for custom page layout is not working ( error on Page creation)

I am getting error while creating page using custom page layout, in a document library Below are the steps followed : Created a custom page layout Created a document library & added the content ...
0
votes
1answer
29 views

SharePoint Online page layout - news webpart

my client wants to create 3 different news page layout, so when a user wants to create a page he can choose between those 3 layouts I want to create a new page layout for the NEWS PAGES, This is ...
0
votes
1answer
38 views

Sharepoint Online Modern page Templates is missing

Suddenly In my test tenant it is showing " out of the box templates from Microsoft and any templates saved to the site" in the Site Pages library. I want to create the same functionality to another ...
0
votes
0answers
20 views

SharePoint Page Update

The system I'm working on is a internal subsite of a huge intranet for knowledge sharing. I have a SharePoint Page with two columns (Layout -> Textlayout -> two columns). In the first column (Column A)...
1
vote
3answers
167 views

Like/Unlike, Likes Count for SharePoint Online Publishing page

I have SharePoint Online environment, I use custom page layout for a specific publishing SP site. When i go to "Rating settings" for the default page library with in the site and i activate "Allow ...
0
votes
1answer
34 views

Creating Modern Page with specific layout

We actually looking for option for user to select a template before creating a modern page. For example, in classic Publishing pages, we could create page layout templates that included default web ...
0
votes
1answer
52 views

SharePoint 2016 Error: Cannot edit any Page Layouts and create any new SP pages

I have SharePoint 2016 error with edit any details page take any Page Layout and create new any SP pages also. And I checked the log and I got this error message Can you help ? System....
0
votes
1answer
100 views

Migrating pages having custom layout to Office 365

We are migrating SharePoint 2013 to SPO. we are getting error while migrating the pages having custom page layout using Sharegate. With Sharegate layout mapping data is getting lost. So is there any ...
0
votes
2answers
24 views

Is it possible to have different required fields per page layout?

We have 2 page layouts (i.e. PageLayout A, and PageLayout B) PageLayout A require field "customername" but not require "productname" PageLayout B require field "productname" but not require "...
1
vote
1answer
39 views

SharePoint Online Communication Site-Not able to remove the white-space on the left

I am using a One-third right column layout and all the webparts appear to be centrally aligned when viewed on an average size monitor. This leaves a noticeable white-space on the left. Is there any ...
0
votes
0answers
38 views

Global Search bar in modern experience document library

With the new experience for a document library, we have a search box that searches the document library. Is it possible to put a search box in the header for global search? Similar to the Classic ...
1
vote
1answer
42 views

Could not create a new page layout in sharepoint online site(E3 trial) using Design manager

I created an e3 trial sharepoint site.I was creating pagelayouts using design manager but Im getting error like sorry, u dont have access though I created the tenant site and I am site coll. admin ...
0
votes
1answer
190 views

Create Modern Page with Page Layout

I want to create the Modern SharePoint Page using any Custom Page Layout. Is it possible using SPFx or server side code? If yes, Can you please share the code or any reference link?
0
votes
1answer
33 views

SharePoint Online, Classic Mode - Create empty page for custom form?

I have custom html code with form, and want to use JSOM to create new item. I want to have completely blank page, but with SharePoint context. How do You usually do it? As I understand I can create ...
0
votes
0answers
8 views

What is MasterHash in Sharepoint Page Layout

What is in pagelayout.html in Sharepoint ? In Sharepoint Design manager --> PageLayout.html we have these properties. Steps to get Page Layout : Go to SiteCollection->Design Manager-> Upload Design ...
1
vote
0answers
153 views

PnP Provision Page Layout in Sharepoint Online

I am provisioning Sharepoint online page layout changes using pnp provisioning. Steps performed are: 1- Go to SiteCollection->Design Manager-> Upload Design Files-> click on _catalog/masterpage/ link ...
0
votes
1answer
49 views

Manage Master page in Page Layouts

I am provisioning page layouts (html files) using Apply-PnPProvisioningTemplate. Template file snippet attached here. After applying, getting "Warning and Errors" in Design Manager -> Edit Page ...
0
votes
1answer
20 views

Cannot add multiple css files in html page layout

I need to include multiple css files in one HTML Page Layout - a webfont, bootstrap, and my own custom styles. The only thing that loads is my custom styles -- I can tell from checking the sources in ...
1
vote
1answer
33 views

Published Page versus Preview of same page

I have a SharePoint Online classic site in which my designated site logo does not appear when normally browsing (there is just a blank space where it should be). However, the logo does appear in the ...
1
vote
1answer
113 views

Sharepoint Master Page & Layout Design

is there a way to make the Sharepoint looks like the picture below (without html coding)? As what I know, most of the Sharepoint with amazing design is powered by paid software such as Shortpoint. I ...
1
vote
0answers
30 views

What happens if two pages have the same WebPartId?

I have to programatically create new Sharepoint pages (~50). To do so, I've created a template page and I simply copy the information I want inside this template using a macro made in Visual Studio. ...
0
votes
2answers
42 views

Sharepoint O365 online creating page problem

We have a strange problem, when creating new page using this It creates automatically navigation link, that you can´t remove
0
votes
1answer
55 views

Responsive page layout

Have Any one tried to remove all page layout controls and add HTML code instead?! Is it working? I have a bootstrap template, I am thinking to replace the page layout code with bootstrap code!! Is ...
3
votes
1answer
141 views

Only Content controls are allowed directly in a content page that contains Content controls

I have SharePoint error in custom page layout I checked this issue in SP logs and found this Only Content controls are allowed directly in a content page that contains Content controls. at ...
1
vote
1answer
145 views

Custom Placeholder - cannot add webpart

Followed this instruction and managed to create a custom placeholder in my master page. But it would not allow me to add any web part in the site column I placed within the custom placeholder. In ...
2
votes
0answers
119 views

Error in Generating HTML Snippet for SPFX Webpart

I have coded a webpart using SPFx framework, and am trying to add the webpart into the page layout to avoid any changes by the users. The site is using Classic Experience, and I have coded the Master ...
1
vote
1answer
65 views

Master Page and Page Layout

I have the following line in my master page <div id="searchBlock"></div>. On the Page Layout template, I want to insert the HTML code from Design Manager but i want it to be inserted ...
0
votes
1answer
315 views

Hardcoding a Webpart in Page Layout

I have created some SPFx webparts and am able to add it into a custom page layout by adding it into the webpartzone as below in the html, and through the use of design manager. <!--SPM:<%@...
1
vote
0answers
43 views

Async call to REST API in page layout code-behind

Please excuse my ignorance -- I am not sure if this is even correct practice, let alone possible to achieve in SharePoint. My self-taught knowledge of SharePoint development was all learned by ...
1
vote
1answer
35 views

IE problem with JQuery

I am working on page layout in SharePoint 2016 on prem, and using jquery for some simple manipulation. I need to load my .js - file in edit mode panel only. I reference the .js-file like this in the ...
0
votes
1answer
14 views

Filtering a Custom List by Page

I am using O365 SharePoint. I want to create a custom list (hypothetically) about dogs with a column "Dog Name", "Dog Breed", "age", etc. For example, one of the rows includes a 2-year-old golden ...
1
vote
1answer
196 views

Is there any way to have a static custom made SPFx web-part in a page-layout template you have created in Design manager (Sharepoint Online)?

I have a problem! I'm trying to put a static custom made SPFx web-part in a page-layout template I have created in Design Manager on Sharepoint Online. I have tried reading up on it online, but can't ...
0
votes
2answers
500 views

Adding background color to text-layout cells

Im looking for a way to modtify just ONE of the costume text-layout cells, namely the 'header' one. I'm currently using the one that has two colums along with a header and a footer. I've messed ...
1
vote
1answer
67 views

Classic or Modern Site for Website Development - spfx unable to be used for master page

I am new to Sharepoint development, and am trying to build a custom responsive website through Sharepoint Understand that there are 2 different kinds of sites: classic and modern. For classic, we ...
0
votes
2answers
44 views

Arranging subsites on several horizontal lines

I have an intranet for my company including more than 15 subsites. They are all placed on the same line so I need to scroll right to see and click on the last ones. Is there any way I can arrange them ...
2
votes
0answers
31 views

Display the meta data of a page on the page itself

I want to display the page metadata (e.g status) of an aspx-page on the site itself. The sites are located in the default site pages library. library: Name:page1 Status:draft Name:page2 Status: ...
0
votes
1answer
2k views

SharePoint Online - Page layouts for team site templates?

When I put my site collection (team site template) in edit mode and select the page tab, there's no page layout button like with a publish portal site collection. I thought enabling the following two ...
1
vote
1answer
26 views

Create a new “Site Layout” master page that shows up on the “Change the look” page?

Right now when I go to "Site settings" > "Look and Feel" > "Change the look" > select a theme I only see two options in the "Site layout" drop-down: Seattle and Oslo. I created a copy of the ...
1
vote
1answer
802 views

Can we link web parts inside the Modern Site Pages with exsisting lists

I migrated my SharePoint on-premises 2013 team site, to sharepoint online. one of the most interesting features i found in SharePoint online is the Modern site pages. where inside the Modern site ...
2
votes
0answers
77 views

CSS not applying to Enterprise Wiki custom page layout

I've created a new master page and page layout in Design Manager. When I preview the page layout in Design Manager, the layout appears correctly with no errors (see below). The new layout also ...
4
votes
1answer
142 views

“ContentType” vs “PublishingAssociatedContentType” difference?

What is the difference between "ContentType" vs "PublishingAssociatedContentType" while creating a page layout? Property Name="ContentType" Value="Page Layout" PropertyName="...
0
votes
1answer
37 views

How to display who modified the page without having people presence?

I want to display who modified the page without having people presence. The below code works but I just want to display the name without people presence. <SharePointWebControls:...
0
votes
1answer
73 views

SharePoint Online Copy a page

I have a pages library with a page that has the web parts and text layout I want to use for a few other pages in my library. The only things that will change on the new pages will be the text inside ...
1
vote
0answers
101 views

How to focus to a web part in page

I have a task to zoom in to a web part in mobile device. Our master page and page layout isn't mobile ready, but we provide users access to some SharePoint pages. I tried to use this to focus (or ...
2
votes
1answer
71 views

Content Type creates System.ArgumentException in Document Library

I created a custom content type and a page layout for it. Publishing Feature is activated on my site collection. Now, I can flawlessly create some pages out of this content type in the Pages Library. ...