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.

1
vote
2answers
80 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
29 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
46 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
52 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
24 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
36 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
32 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
77 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
28 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
113 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
47 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
17 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
32 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
72 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
29 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
39 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
35 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
133 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
120 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 ...
1
vote
0answers
94 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
62 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
234 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
38 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
34 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
12 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
180 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
399 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
58 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
41 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 ...
0
votes
0answers
15 views

Modify List View in SPD to Stack Certain Columns

Can anyone provide guidance on editing the XSLT for a list view in SPD 2013 such that certain fields are stacked under one another in the same column? I want to display majority of list columns on ...
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
1k 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
22 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
762 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
68 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
134 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
31 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
55 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
86 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
63 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. ...
1
vote
1answer
408 views

create/deploy master page and page layouts using spfx

how to create and deploy Master Page and page layouts using the SharePoint Framework? SharePoint Framework is all about related to creating client side webparts only?
0
votes
1answer
369 views

Create Blank Page with One Web Part Zone

I need a web page that only has one web part zone. No ribbon. No header. No footer. I created a new master page in an attempt to set the foundation for a blank page. Then i created a new page and ...
3
votes
0answers
70 views

Default WebPart in page layout is not editable

I have added a WebPart using in the Page Layout, but it is not editable, even though I specified AllowEdit = true. <WebPartPages:ContentEditorWebPart webpart="true" runat="server" ...
1
vote
0answers
72 views

Adding a ListViewWebpart to the Pagelayout.html/.aspx

I've been trying to add a ListViewWebpart to a page layout without success for some days now. I am using a SharePoint 2013 Standard Server with enabled publishing features. I also use the Oslo ...
0
votes
1answer
95 views

HTML Snippet code WebPart “Find by Document ID” gives an error “One of the properties of the Web Part has an incorrect format”

I want to add web part to my custom home.aspx site, and when i put the code generated from Design Manager HTML snippets i get an error saying: One of the properties of the Web Part has an incorrect ...
1
vote
1answer
90 views

Site collection level layout page not working

I had created one site collection under web application using same site template. I have two master pages one for admin level one for read level permission users. Everything was working fine with ...
0
votes
1answer
56 views

How to find out what the ContentTypeId is when create a new page using a page layout?

I am trying to create a page which will use a pre-defined page layout from the template, but I found the page I have is different to the one created by someone else before? This is the page layout ...
0
votes
1answer
20 views

Problems following MS docs guides - giving my provider-hosted add-in the sharepoint look

I am following this guide. The issue is that even though I did literally every single thing mentioned there multiple times the chrome_ctrl_container doesn't seem to load and the thing just exactly the ...