Questions tagged [publishing-page]

Publishing pages are available only in publishing sites. In publishing sites, authors and approvers use the publishing feature to create content and then make it available for site visitors. Usually, a publishing site has an approval workflow enabled, so content is reviewed and approved prior to being published.

Filter by
Sorted by
Tagged with
0 votes
0 answers
22 views

How to copy a WebPart to another publishing page in SharePoint 2019 On-Prem (Classic) using JSOM

We've got a scenario where we have Publishing pages with a set of master fields and on save it creates or updates a series of related pages with data from its various columns. This works fine so far, ...
0 votes
0 answers
9 views

Pages on whole site affected after attempting to clone and modify a page layout

I'm currently facing an issue of all pages on my whole site being affected after an attempt to clone and modify a page layout file. I'm on SharePoint 2016 and have 2 existing page layouts: Home (1 ...
  • 1
0 votes
2 answers
129 views

Search Results Web Part does not display correct thumbnail

I've got a search results web part on a page, targeting a document library with .gif and .png files, but getPreviewSrc returns a different value from getUrl (preview returns an image from outside of ...
0 votes
1 answer
58 views

Update SEO properties to a single page programmatically

How to update SEO properties to a single publishing page programmatically? The SEO properties can be updated manually through the ribbon, but how to do it programmatically? I'm using SharePoint 2019 ...
  • 25
0 votes
1 answer
113 views

URL Mapping File Format, PnP PowerShell, ConvertTo-PnPPage Cmdlet

I can't find any references to the format of the Url Mapping File used with the ConvertTo-PnPPage cmdlet in PnP PowerShell. Can someone point me to a reference or provide an example? Thanks! Cmdlet ...
  • 323
0 votes
1 answer
144 views

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

With SharePoint Online, if I have 7 document libraries within a site, titled like so: food keys cars-2019 cars-2020 cars-2021 pets family ...Is there a way I can dynamically list and link all my ...
  • 1,329
0 votes
1 answer
200 views

Powershell: Check if page has unpublished version?

How can I use PowerShell to check if the latest version of a publishing page has been published?
  • 660
0 votes
1 answer
154 views

What to use for a page approval sharepoint online - classic

I have requirement to have an approval built for pages. I know there is an approval page built in flow/power automate but this needs to be for classic SharePoint sites. Any idea? Can I use SharePoint ...
  • 4,164
0 votes
1 answer
271 views

Content editor web part issue in PNP Modernization from classic publishing page to modern client side page

I am using PNP modernization framework (.net) to transform classic SharePoint online publishing pages to modern client side pages. The classic publishing page contains content editor web part in which ...
0 votes
1 answer
530 views

Cannot Restore Page with Something Went Wrong Error

I have a few pages that are showing "Something Went Wrong" Error. The correlation id did not help. Oh the error is on the version history tab for the page in site contents. To fix the error I ...
0 votes
2 answers
289 views

Unable to get the PageLayout for a PublishingWeb using CSOM. Error "The object is not associated with an object identity"

I am working on a console application which uses CSOM to integrate with SharePoint online. and i want to create a publishing page, so i wrote this code, to get the PageLayout and create a new ...
0 votes
2 answers
60 views

Something like _spPageContextInfo, but for publishing pages

We are using managed navigation for our site collection and subsites and I need to get some info about the pages I'm on using javascript. I'm familiar with using using executeQueryAsync() in JSOM to ...
  • 2,898
2 votes
2 answers
37 views

Notification that page is checked out for other editors

We are using a publishing Pages library with versioning and required checkout. When an editor makes changes to the page it is checked out and they get a warning at the top of the page that it is ...
  • 2,898
1 vote
1 answer
40 views

Page create with REST missing CEWP

I'm trying to create a publishing page following this thread and the page is being created in the library. Basically using creating a template <%@ Page Inherits="Microsoft.SharePoint.Publishing....
  • 2,898
0 votes
1 answer
100 views

Backup Aspx Site Page to Network Drive

Did a lot of research and tests but can't find a working solution. I have a few aspx site pages and I want to back them up onto network drive or my c drive because I don't want to lose them. but I ...
1 vote
0 answers
13 views

How do I re-post from the PAGES to appear at HOME

Today was my first approach to sharepoint online (as an owner); we had only had 2 posts and I deleted them, as if I was un-posting them. So I have them at the PAGES (.aspx), but I don't find how to ...
1 vote
0 answers
43 views

Which property indicates the published status of a modern page?

I've been under the impression that modern pages use the ows__ModerationStatus indicate whether or not the page is published - just like with classic publishing pages. Last week, I tried to map this ...
0 votes
1 answer
39 views

How to add wikipage in wikipage library using powershell?

I tried to add a wikipage in the wikipage library using the code provided by Vijai Anand Ramalingam on c-sharpcorner.com. I'm copy-pasting the script here to avoid dead link issues preventing future ...
1 vote
1 answer
61 views

SP 2016 Enterprise - Article page not displaying all content

I have an article page with the body only layout. The only fields are the Title and Page Content fields. The Page Content field was only displaying a document library web part. I edited the page to ...
  • 197
2 votes
0 answers
597 views

Embed a PPT onto SharePoint

Can you embed an iFrame code from a PowerPoint slide show to a SharePoint page, but not allow anyone to have to ability to download or edit the document from the page?
0 votes
1 answer
193 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 ...
  • 1,611
1 vote
2 answers
68 views

Unable to edit any page (not site pages, just web part pages) of a Publishing site collection in SharePoint Online

We have SharePoint Online environment at my organization and admins are not able to edit any pages on the entire site collection. Admins are able to edit site pages, but not pages. When i try to edit ...
  • 489
0 votes
1 answer
107 views

Publishing page, with angular, save/check in leads to page not found

This is in a SharePoint online environment. I have created a publishing page in a pages library in a sub site. On this page, I have dropped a content editor web part which points to an aspx page in a ...
1 vote
1 answer
153 views

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

The Article page has a lot of properties that might be useful to read on the main page and not as a 'property' of the page only. Is there a code to occasionally surface any value (contact, Modified, ...
  • 2,638
0 votes
1 answer
24 views

Sharepoint 2013: New Users unble to add/edit pages

We are running into an issue where some users (mostly all new users within the past 3-6 months) are unable to add/edit sharepoint pages consistently. They appear to have all the proper permissions to ...
1 vote
1 answer
718 views

Publishing Site - multiple 'Pages' library

I tried creating a regular document library with content types using my custom page layout. Each time I try to make a new page from within the new library, I get the error message. The page layout ...
0 votes
2 answers
776 views

Ribbon "Page" tab is missing in Modern UI Sharepoint

I need help. I didn't create this specific site so I had no clue what the person did and probably didn't know what he was doing. So it appears that turned on a publishing feature and the page relies a ...
0 votes
2 answers
510 views

display 'last modified' on a single article page, SP online

I need to display on a few article pages so I do not need the code to be placed in the page layout or in the master page. Is this possible? The model is what appears on the Enterprise wiki page on ...
  • 2,638
1 vote
1 answer
1k views

Refresh publishing page on modal form submit in SharePoint Online

I have a publishing page with a button users can click to launch a new list item form in a modal pop-up. It works great but I'm trying to add a page refresh after they click Save so they can see their ...
0 votes
1 answer
344 views

Get last major version of page with all custom field values using JSOM/REST

We want to access last major version of page with all its OOTB & custom fields using JSOM/REST. I can able to get only version number & url only but we need all fields. Please help. Thank ...
  • 3,085
0 votes
1 answer
526 views

Get the ID of a Publishing Page, that just was created in JSOM?

I'm creating new publishing Pages via JSOM and now i need to get the listitem to change some fieldvalues but i struggle to get the ID of the publishing page that i just created in Pages library. ...
  • 65
0 votes
1 answer
49 views

How to check publishing page state-Approved/Rejected

Is there any way to check if publishing page in sharepoint online is approved/Rejected? Would be great if I can add JS in custom page layout to have check on this.
0 votes
0 answers
23 views

Believe changes to settings by administrators is causing inability to use Content Editor to develop against

I believe they changed the ASPX pages to be created with Publishing because now all of a sudden when I try and link to my html page through a Sharepoint ASPX page, it errors out saying "SP.Publishing....
  • 207
1 vote
1 answer
701 views

What is so special about PublishingPageContent field?

I work with SP2013 on-premises publishing site. There is a standard Content Type named 'Article Page', it includes field PublishingPageContent, which type is HTML. When I create a page inside Page ...
  • 13
0 votes
1 answer
179 views

What causes the page jumping when applying formatting?

SharePoint 2013 on premises, IE11, publishing site web page editing. Applying formatting (anything like bold, colour, links) causes the page to immediately scroll (jump) the highlighted text to the ...
  • 82
0 votes
1 answer
2k views

It is better to add Videos inside Document libraries or inside Asset libraries, if we want to render them inside modern site pages

I am working on a sharepoint online team site collection which have publishing features enabled. and our client want to be able to upload some videos and to render them inside modern site pages. Now i ...
2 votes
1 answer
26 views

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

We have a client requirement in which we have to display Microsoft NAV pages in SharePoint web parts . I know we can do this by using "SharePoint Add-ins". Can we do it by using SharePoint Web Part ?
1 vote
2 answers
2k views

Are there any available modern web parts to show existing "Prompted links" or "Picture library" or "Discussion Board" items, inside modern pages

I am working on a SharePoint online modern site page. and i was able to add a modern web part named "Document library (preview)", as follow:- which will then allow me to select an existing docuemnt ...
1 vote
0 answers
76 views

Grant Anonymous access to a Page where broken Inheritance

In SharePoint 2013 I hope anyone can answer my common question because I can't seem to find an answer. I already read all questions here and all over internet to find solution. What should I do for ...
  • 398
2 votes
0 answers
134 views

How to create page in a document library with code?

I know about standard way (see, e.g. here) to use publishing web in CSOM to create new pages in Pages library. The same code conditionally works in document libraries, but only partially: pages are ...
0 votes
1 answer
100 views

Image link removed when writing to PublishingPageContent

I m using simple code to assign HTML content to PublishingPageContent field of my ASPX page in SharePoint Online: pageItem.PublishingPageContent = "<img src=\"smiley.gif\">"; However, the ...
3 votes
2 answers
7k views

How to add webPart to Page with PowerShell from WebPart Gallery

I want to get my Custom WebPart by name and add into a Page with PowerShell from (Web part gallery): --> Edit Page --> Insert --> Web Part --> Custom WebParts in image are added from Custom ...
  • 2,048
0 votes
1 answer
964 views

How create publishing page via CSOM or Powershell (SharePoint Online)

I would like to automate creation of a subsite and of a publishing site. Is it possible to create a publishing site and also dynamically add webparts to it e.g create also a document library on the ...
  • 4,164
-1 votes
1 answer
815 views

How i can update the CreatedBy & ModifiedBy fields for all my enterprise wiki pages using powershell

I have an enterprise wiki site collection inside my sharepoint on-premises farm 2013. now i have imported some wiki pages from different farm. and since the users who created the original wiki pages ...
0 votes
0 answers
128 views

sharepoint online root site default page: is this different from any other page?

One thing is happening to the default page of the root site of the tenancy. Minor-Major Versioning is applied with only editors able to see drafts. Check in and out is applied. No approval. When you ...
  • 2,638
3 votes
1 answer
794 views

Sharepoint 2013 - Publish and Check in

I find myself publishing pages instead of checking them in over my website. I know Check In and Check Out controls the editing documents and versions to avoid overwriting and file control and is ...
  • 579
2 votes
1 answer
1k views

SharePoint Online html pages

How can I run the html pages in the browser, because when I add a page with html extension, it downloads as if it were a document. Thanks.
2 votes
1 answer
45 views

Avoid Publishing a page after an Edit

I have a publishing sub-site and created pages with my custom page layout. For each page after an edit user needs to publish it. Only then others can see change made. Is it possible to remove this ...
2 votes
0 answers
31 views

When two client context scripts collide

Got a publishing page with two custom sections using javascript. the first is defined on the master page and filling some dropdowns in the left navigation bar the 2nd is defined on the page layout ...
3 votes
0 answers
55 views

Build url of publishing page by lookup id

Got a list with a LookupField to Publishing Pages library pointing on "Title" and additional field "ID". I would like to create a hyperlink by CSOM / javascript without querying FileRef on pages ...

1
2 3 4 5
8