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
48 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 ...
user avatar
0 votes
0 answers
18 views

Power apps forms getting distorted when publishing it to a sharepoint page

In the pic below,its a form(appearing normal) but when I am publishing it some fields get distorted(pic2). pic2 Please help!
user avatar
0 votes
0 answers
17 views

SharePoint Modernization Framework - Help with migrating publishing pages

I am working on a project to migrate SharePoint 2013 publishing pages to SharePoint Online (Modern). Using Sharegate I am able to get the content copied across to SPO, but when I try to conver the ...
user avatar
0 votes
1 answer
35 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 ...
user avatar
  • 25
0 votes
0 answers
17 views

Allow links to custom protocols from classic publishing page

We have a local software client that implements its own protocol handler to open links from web pages in the local client. These links are like my-custom-protocol://type/id1234. When I add those links ...
user avatar
  • 661
0 votes
1 answer
55 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 ...
user avatar
  • 323
0 votes
1 answer
67 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 ...
user avatar
  • 1,309
0 votes
1 answer
78 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?
user avatar
  • 661
0 votes
1 answer
124 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 ...
user avatar
  • 4,080
0 votes
1 answer
232 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 ...
user avatar
0 votes
1 answer
253 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 ...
user avatar
0 votes
2 answers
243 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 ...
user avatar
0 votes
2 answers
50 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 ...
user avatar
  • 2,940
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 ...
user avatar
  • 2,940
1 vote
1 answer
33 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....
user avatar
  • 2,940
0 votes
1 answer
80 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 ...
user avatar
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 ...
user avatar
1 vote
0 answers
36 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 ...
user avatar
0 votes
1 answer
38 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 ...
user avatar
1 vote
1 answer
58 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 ...
user avatar
  • 197
2 votes
0 answers
543 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?
user avatar
0 votes
1 answer
165 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 ...
user avatar
  • 1,581
1 vote
2 answers
66 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 ...
user avatar
  • 489
0 votes
1 answer
91 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 ...
user avatar
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, ...
user avatar
  • 2,618
0 votes
1 answer
23 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 ...
user avatar
1 vote
1 answer
678 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 ...
user avatar
0 votes
2 answers
704 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 ...
user avatar
0 votes
2 answers
388 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 ...
user avatar
  • 2,618
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 ...
user avatar
0 votes
1 answer
306 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 ...
user avatar
  • 3,087
0 votes
1 answer
501 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. ...
user avatar
  • 65
0 votes
1 answer
43 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.
user avatar
0 votes
0 answers
21 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....
user avatar
  • 207
1 vote
1 answer
641 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 ...
user avatar
  • 13
0 votes
1 answer
157 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 ...
user avatar
  • 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 ...
user avatar
  • 2,224
2 votes
1 answer
24 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 ?
user avatar
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 ...
user avatar
  • 2,224
1 vote
0 answers
69 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 ...
user avatar
  • 398
2 votes
0 answers
131 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 ...
user avatar
0 votes
1 answer
88 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 ...
user avatar
3 votes
2 answers
6k 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 ...
user avatar
  • 2,028
0 votes
1 answer
897 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 ...
user avatar
  • 4,080
0 votes
1 answer
759 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 ...
user avatar
  • 2,224
0 votes
0 answers
119 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 ...
user avatar
  • 2,618
3 votes
1 answer
691 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 ...
user avatar
  • 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.
user avatar
2 votes
1 answer
40 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 ...
user avatar
2 votes
0 answers
30 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 ...
user avatar

1
2 3 4 5
8