Questions tagged [modern-pages]

The tag has no usage guidance.

1
vote
0answers
12 views

Updating custom columns on Modern Pages with SPFx WebPart vs. PowerApp

I created a Communications Site and under Pages, I added custom columns. Besides letting my authors create the pages, I need a way for my authors to capture this additional information. Out of the ...
1
vote
0answers
17 views

How to change published date of a modern page / clientsidepage in SharePoint Online?

we are trying to migrate classic pages to modern and it's a must to maintain the initial publishing date of the page. This date should be visible in the page header: Digging around we found that ...
0
votes
0answers
21 views

“File Viewer” modern web part zoom level for an excel sheet

I have an excel sheet inside my PC, and I set its zoom to 50% and save it. Then I uploaded it to our SharePoint online document library >> then I show it inside a modern page using "File Viewer" ...
0
votes
0answers
18 views

What is the difference between SharePoint classic page and Modern Pages

Currently I have started working on SharePoint Online. I found out SharePoint online has Modern Pages.. I want to know what is new in Modern pages which Scripting language is used to create the ...
0
votes
1answer
35 views

Embedding full page html applications into SharePoint 2019 modern

I am working on a project where client has SharePoint 2019 on premises installed and setup. They are using the modern UI. In addition, they have certain HTML built up full page applications and they ...
0
votes
1answer
16 views

Add-pnpClientSideWebPart not working as expected

I´m trying to add a WebPart to a modern page via PnP. Add-PnPClientSideWebPart -Page "home.aspx" -DefaultWebPartType ContentRollup -Section 3 -Column 1 -WebPartProperties @{layoutid="List"} It ...
0
votes
2answers
62 views

How to get current user login name in Modern script editor webpart?

I'm getting the error Object doesn't support property or method 'ExecuteOrDelayUntilScriptLoaded'. Below is my code. SP.SOD.ExecuteOrDelayUntilScriptLoaded(getCurrentUser, "sp.js"); function ...
0
votes
0answers
21 views

JSON Formating of Date column modern pages

I am trying to get a JSON script that will colour/highlight the entries in a date column that are within the next 2 months(or already passed). What I have at the moment is : { "$schema": "https://...
0
votes
1answer
33 views

How do we get the gear icon back on modern pages?

How do we get the gear icon back on the top nav bar of modern pages? No changes have been made (design/CSS/master page). Gear icon disappeared from modern pages on April 24, 2019. The gear icon IS ...
0
votes
0answers
87 views

Implementing discussion board in modern sites using SPFx

Consider we have a page on which list items details are being rendered, one at a time using list item ID passed as query string parameter. I understand that we have the comments section feature ...
4
votes
0answers
69 views

Alerts not functioning correctly on modern pages in communication site

I have noticed while using the alerts on a Page library in a communication site that users (Readers) who can only see major versions (1.0, 2.0, 3.0) and set up to receive alerts when everything ...
0
votes
0answers
26 views

Cascading lookups/filtered choice columns in modern sharepoint

We are using modern sharepoint pages. I currently have a document library with a column that indicates the subject of the document. there's a 2nd column that has the sub subjects. I'm looking to set ...
0
votes
0answers
33 views

Classic view of calendar in modern pages

In several situation one would like to get the best from both worlds if possible. I have created a calendar with 4 calendar overlays that sit in 4 subsites, this was done as the calendar view with ...
4
votes
3answers
203 views

How to make a menu item that is not a link

We are looking at our navigation menu, and we'd like some items to have submenus, but not clickable. Here's an example structure: About Products Product 1 Product 2 Product 3 Contact In this ...
0
votes
0answers
59 views

Change the colour of the left navigation menu in modern sites

I have been experimenting with the look and feel options on sharepoint2019, but something I really fail to achieve is to change the colours of the left navigation bar's links on modern team sites : ...
0
votes
0answers
11 views

update a news post in communication site

I have a communication site where news posts are created. I have a scenario where the author might update the content of an older news post but do not want it to appear on the news webpart as a ...
0
votes
1answer
37 views

Modern Site Page - Missing “total page Views” and “Save for later” option in Office 365 SP Online

I created a modern page in Sharepoint online , and in the end i am able to see only Likes and comments options. I am not able to see "Views" and "Save for Later" options. Do i need to enable anything ...
0
votes
1answer
23 views

Removing elements with javascript

I have a SharePoint modern page that I would like to customize with javascript or CSS, is this not possible? I want to remove the top bars and the bottom as well, so that I pretty much have a blank ...
2
votes
1answer
254 views

Hide “See all ” link of list/document webPart in modern page

I want to prevent users from opening the library/list source. I created views and I don't want them access to the original list/library and switch between views or modify them. So how I can hide ...
1
vote
0answers
10 views

SharePoint News Web-part

1)Is it possible to remove "Created By" in the "News from sites" tile on SharePoint Home Page? ​ 2)We created different sites to Post news articles and in Home Page we added those different news ...
0
votes
0answers
11 views

Communications Site - create site page

In my Communication site, in site pages library, I do not have option to create "site page". It shows only option to create Link. Is this because in admin center setting has been made to "Prevent ...
0
votes
0answers
14 views

Sharepoint modern page list driven links

I want to build a big list of links - maybe 40 or so. We have no need at this point for categorization or navigation, just one big page with a bunch of tiles with links. Something like what you see ...
1
vote
1answer
16 views

How to migrate clssic pages in non site pages library to modern UI in SharePoint Onine

string siteUrl = "https://contoso.sharepoint.com/sites/mytestsite"; string targetSiteUrl = "https://contoso.sharepoint.com/sites/mytargetsite"; string userName = "joe@contoso.onmicrosoft.com"; ...
5
votes
1answer
61 views

How to “modernize” classic SharePoint pages on-premises?

We need to "modernize" SharePoint pages after migrating from SharePoint 2013 to SharePoint 2019. Which options do we have? There is lots of documentation around modernization and respective tooling ...
1
vote
2answers
682 views

How to add a mailto link or button to modern sharepoint page

I am trying to add a mailto link or button to a modern SharePoint online page. I want such that when the link is clicked, it will launch Microsoft Outlook or the email client. I have tried using the ...
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 ...
1
vote
0answers
115 views

Modern pages: page details web part

The web part called 'Page details' that can display one or more metadata columns on a page, displays terms as text. Is this the designed use or is there a way to have them hyperlinked?
1
vote
0answers
19 views

How to use Brackets with Modern Pages as Wiki?

I'm starting a new SharePoint site. I have enjoyed the functionality of the Wiki pages in the past where you could use double brackets "[[Page Name Here]]" to create new pages or reference existing ...
1
vote
1answer
145 views

SPFX not showing webpart properties in modern page

I have created a new spfx webpart from yomen generator. and deployed to sharepoint. It is working in the classic sites and workbench page. But in the modern site, modern page. it is not showing web ...
1
vote
1answer
219 views

Spfx web part to show task list on modern sharepoint UI

I am looking to leverage team sites for one of my projects. Since modern UI only supports custom lists in web part view, I am looking for some help on how Spfx can be used to show task list web part ...
2
votes
0answers
76 views

Wiki or Publishing pages before migrate to SharePoint 2019 modern sites?

We are using SharePoint 2016 and are going to migrate to SharePoint 2019 in the future. We are creating now wiki pages with some OOTB webparts on the welcome pages of sitecollections. What is better ...
0
votes
1answer
744 views

How to resize homepage banner image

My scenario : Preety simple case where i have a banner image at the top of the page and trying to resize the image to fill the left and right section instead of the default white space. I have been ...
1
vote
0answers
33 views

Update page after provisioning modern page

I'm using the Pnp framework to provision a modern site with some web parts on it. After adding Quick Links web part and open the page I see the text "We didn't find anything to show here." in that ...
0
votes
1answer
31 views

Adding pictures to a Modern Page comments

we have enabled Comment on modern pages, but i am not sure if we can upload a picture as part of a comment body?
1
vote
1answer
19 views

Twitter feed programmatically on modern page

Building a mvc app for sharepoint. Anyone know how to programmatically add a twitter feed on modern page in sharepoint?
4
votes
5answers
1k views

Hide element using css for a modern page

I have a left navigation item that i want to hide using css. I am using css alternate file to apply the css but in vain. It works fine in classic page but with modern it doesn't work at all. I found ...
0
votes
1answer
45 views

Unable to force a user notification to be sent when a modern page is added to a list view

I am working on a classic sharepoint online team site. and i have a list view (named "News") which shows site pages that are linked to a specific term (named "News") inside a managed metadata site ...
0
votes
1answer
37 views

How to manage the Notification under the upper “Notification” area inside our sharepoint online classic team site

I am not sure how we can manage the notifications which are shown under the Notification area inside our sharepoint online classic team site collection:- For example we have our "Site Pages" library ...
0
votes
1answer
53 views

“+ New” menu on our modern pages contain different options on some pages

I have noted this issue inside our modern pages:- Where on some modern pages the "+ New" menu contains these options:- But once we set the page as the home page for the site, the "+ New" menu will ...
0
votes
1answer
275 views

why “Site Page” content type is missing the options under its Settings section, insides our root site collection

I am facing this issue inside our sharepoint online root site collection:- when i tried to add some custom properties to our modern site pages, by going to Site Setting >> Site Content Types >> i ...
1
vote
0answers
192 views

On SharePoint modern pages, can we prevent users from deleting comments and replies which were not created by them

I have enable commenting on sharepoint online modern pages, as follow:- Now we have a SharePoint online classic team site, and on modern pages users are adding comments and replies on the comments, ...
0
votes
1answer
594 views

How i can delete my comment or reply on a SharePoint Modern page

I have added a new SharePoint modern page, and on the tenant level i have enabled commenting on modern pages, as follow:- but now if i add a comment to a modern page or if i add a reply to existing ...
0
votes
1answer
183 views

Can i benefit from PowerApps to create a submit form inside our modern web page [closed]

I am working on sharepoint online site. and i added a new modern page which represents our finance department. where users can access the department's News, Events, Documents, etc.. now i want inside ...
0
votes
1answer
83 views

Sharepoint hubsite theme background image not pushing out to associated sites

I have created a hubsite with powershell called internalHub. In the internalHub i have a orange/black theme with a background image. Next step is to create a regular communication site called ...
0
votes
1answer
534 views

SharePoint online- How to remove space between web parts in modern page?

I have a text web part and then a promoted link web part from (classic SP) added in the modern page and there is a lot space between these web parts, which makes the page look blank. Is there a way ...
0
votes
1answer
411 views

Modern Page Likes - REST API

On a SharePoint Modern site, at the bottom of each page there is a small footer that contains the Like button and number of views. Where does this like count go though? It is not stored in the ...
0
votes
1answer
585 views

Modern Pages Layout Size

Is there anyway to change the layout of the modern pages? As currently my page will only allow to have items half way of the page. The other half of the page is a giant white space. See the pic for ...
0
votes
3answers
166 views

Showing the employees who are out of office on modern site page

I am working on a new SharePoint online classic team site, and I have added a new modern page where I set it as the home page for the team site. Now, we got the following requirement from our customer:...
1
vote
2answers
131 views

Are there any available modern web parts to show existing “Prompted links”

Are there any available modern web parts to show existing “Prompted links” inside modern pages or any-other web part which can be used. i want to add few clickable links/ images which will redirect ...
0
votes
1answer
39 views

Modern Page - Display Powershell Code with corrent visual format

is there a way to display powershell code in a code block with the correct visual elements to it (colour, font, etc)? We are moving to modern pages for our internal how to guides and this would help ...