Questions tagged [sitepages]

Pages that can be added to a SharePoint library. They can have dynamic Web Parts and Web Part Zones. They can be customized by using SharePoint Designer or SharePoint UI depending upon the requirements.

Filter by
Sorted by
Tagged with
16
votes
1answer
13k views

Bare minimum page to get _spPageContextInfo loaded

I would like to know what is the minimum markup a SharePoint hosted aspx content page must have to get _spPageContextInfo loaded. I plan to develop an angularjs SPA hosted on SharePoint site. I would ...
12
votes
3answers
20k views

Understanding ghosting, unghosting, site pages and application pages

well I know definitions of these terms as mentioned: Ghosted pages: Pages which are on file system and not on content db. Unghosted pages : pages which are on content db. Application Pages : normal ...
8
votes
3answers
3k views

How to add metadata to a Modern Page?

In your Site Pages library let's say you have a Wiki Page and a Site Page (i.e. modern page). When I add a choice column, let's call it Category, I see the field show in the edit form for the Wiki ...
6
votes
2answers
4k views

Adding CSS Reference on Site Page

So I have created a Site Page that has the "New Experience" look and I would like to change its style a little. Nothing major, just the height, width, color, etc. However, I can not seem to figure it ...
5
votes
4answers
27k views

Cant get html file to open in sharepoint

I have a standalone html file that contains a sales report, created in R. I have saved the file to the SitePages folder. I have then added a link. When I edit the link and paste in the filepath, I can ...
5
votes
1answer
43 views

Open up the selection window for page templates within the page library

When I am on the home page and create a new page, no matter how: "new drop-down menu" > Page Gear (top right) > Add page Then I get a window where I can choose from different page templates. ...
5
votes
2answers
545 views

Use template for modern page - Set page template for the content type “Site Pages”

In the standard library for site pages I would like to configure a template for the content type "site pages". In the settings menu under library settings -> list content type -> advanced settings ...
5
votes
0answers
51 views

How to set sitepages as blog post list default pages(Newpost.aspx,EditPost.aspx,Post.aspx)?

We need to set our custom master page for blog site without applying to system master page(Settings Page), We tried by edit the existing blog pages using designer to change masterUrl - default.master ...
4
votes
1answer
50 views

Are SharePoint sitepages related to performance problems?

SharePoint stores customized site pages in the content database. So, suppose there are 1000's of pages which are created and modified by users (say by adding webpart), some are created and modified ...
4
votes
4answers
236 views

Page Library - new column with required field, how to prevent page creation if required field not filled

Here's my problem: In my default page library I have added the column "Content type". This contains a selection list (manual, source code, etc.) and can be edited via drop-down menu. I have set this ...
4
votes
6answers
8k views

Easiest way to add a floating table of contents to Site Page?

I'm in the process of creating a "table of contents" for a SharePoint site page (using 2016 SP online) and have managed to do this by internal page links, which when clicked, navigate the user down ...
4
votes
0answers
61 views

User without permission can click on the “check approval button”, which leads to an error

I have set up my page library so that only the author and user with approval rights can view drafts. So now I create a new page as normal user and click on the button "Send for approval". Then I get ...
4
votes
0answers
26 views

Select and use page template not only on the start page, but also in the page library

here's my problem. I have created a page template and I get it displayed when I open the menu "new" on the start page (see screenshot). This site "Template Wiki-Eintrag" can be used and it works ...
3
votes
4answers
4k views

Customizing SharePoint Modern Pages

SharePoint 2013/2016 Modern Pages and Libraries are horrible. There I said it. If you have themed and customized sites, the modern page will look and behave so out of place. Has anybody customized ...
3
votes
2answers
3k views

How to automatically update files from SharePoint Designer?

I develop a SharePoint solution and I need to update files everytime. I find a solution for the files in the Site Assets library. I go on the library (or the list), I click on the ribbon, "Library" ...
3
votes
1answer
727 views

Creating a new page in Site Pages with Workflow and Content Type

I'm trying to create a Workflow to Create List Item in a Site Pages Library when an item is added to a second list. I have just one content type in the library and can create a page manually in the ...
3
votes
1answer
26 views

How to transfer large amounts of site pages to other wiki?

We have many site pages in the standard site page library and would like to transfer them to a new website. how can this work? The "copy to" option only provides the option to move the content within ...
3
votes
1answer
24 views

Search through site pages over specific content in one of them

Tried to find but couldn't. Is it possible to search through standard search engine for particular content and to find site page where that content is placed?
3
votes
1answer
174 views

How to search Links list from wiki link?

Background From a default Team Site, I am trying to link to an item in a list from a Site Page (with wiki support). Normally, I would search for an item easily by typing [[List:<list name>/<...
2
votes
4answers
9k views

Modern Site Page - Hiding total page Views and Like option in Office 365 SP Online

I have noticed this new feature in SharePoint Modern Site pages in my O365 SP Online site. Can someone tell me on what basis this page-view is calculated (e.g - weekly, monthly or it shows the total ...
2
votes
2answers
11k views

Which to choose: site pages vs wiki page library

We are going to make a site for each deparment, section, etc. We have concluded that "team site" is adequate. Yet, we haven't decided if we are going to use the "Site pages" (only the wiki pages) or ...
2
votes
1answer
992 views

SharePoint 2013 Markup code works inside Placeholdermain but not as code embed in webpart (EmbeddedFormField)?

On SPO 2013 trying to deploy some custom markup code to bind a list Markup code works when placed in Placeholdermain via SPD vs embedding the code Site Page webpart (EmbeddedFormField) I have this ...
2
votes
1answer
165 views

Menu “new” edit not possible, click does not lead to any action (type: page library)

I have the problem that I cannot edit the "New" menu of my site pages library (type: site pages library) in SharePoint Online. When I click on the drop-down menu "new" and click on the bottom menu ...
2
votes
3answers
2k views

Delete Site Pages and Pages Library from Site Content

I am not using Site Pages and Pages Library in my Site. Can I delete them from Site Contents? Will that effect my Site negatively.
2
votes
1answer
2k views

How can I add a custom action to the Ribbon in the Site Pages Page Actions group in SharePoint 2013?

I'm trying to create a Ribbon custom action for SharePoint 2013 in Site Pages ->Page->Page Actions. Of successfully manage to create one for Documents->Files->Manage with Visual Studio features but I ...
2
votes
1answer
98 views

Document library included on page, wrong language in context menu

I added the webpart "Document Library" to a page and made my settings, I deactivated the command bar, selected a library (the page library where the modern pages and news pages are stored by default) ...
2
votes
2answers
2k views

Display current folder name on Document Library web part

I am displaying a Document Libray Web Part (which contains folders) on a subsite homepage. When I click on a folder to show its contents, the Document library header still says "Documents". It gives ...
2
votes
1answer
2k views

Not able to create Modern UI Pages in Pages Library/Document Library

I am trying to create SharePoint Modern UI Pages in library other than Site Pages Library like Document Library and Pages Library but with no success. Also I don't see any way to create another Site ...
2
votes
2answers
1k views

Missing Site Page in “Site Pages” Library

I am using SharePoint Designer so that I can make copies of a page and reuse it as a template. However the one page I want to use as a template is not showing up in my SharePoint Designer "SitePages" ...
2
votes
1answer
19 views

Sharing one Issues Log between multiple pages

We have multiple teams that are working on separate aspects of the same project. Each team has their own sub-page of the project. What I wanted to be able to do is to have one master Action Item/...
2
votes
0answers
64 views

Fetch all comments from Sharepoint 2019 site pages not working - Rest API

I have a modern site page where 600+ comments are there, when I try to fetch the comments using below REST API it always returns top 200 comments only. <siteurl>/_api/web/Lists('GUID')/...
2
votes
2answers
129 views

How to edit the “new-menu” on the main page

I have created a team website and just want to give the users the possibility to create new sitepages on the start page. But if you click on the menu many options shows up. You can see a lot, but I ...
2
votes
1answer
17 views

Store and manage site page templates centrally in one place and use it on all subpages

I would like to create a template for site pages and use it on all subwebsites. A template is located on the topmost website in the standard library for pages. I get this template when I use the drop-...
2
votes
1answer
75 views

Second Site Pages Library does will not let me add App Parts

I created a second Pages Library in my site as I wanted to lock down permissions to some pages. In the Advanced Settings for the document library, I allowed management of content types and selected ...
2
votes
1answer
544 views

Using <a> tag in SPFx Web Part causes the whole page re-rendered in modern site page

We have a SPFx Web Part which uses the A tag with href='#' to create dropdown menus(clicking the tag shows a dropdown menu). The tag works well in a Classic page, however, when the Web Part is added ...
2
votes
6answers
4k views

In my SP 2013 Site Pages library, I do not see “Web Part Page” as an option

My only choice is Wiki page in the New Document selector of my Site Pages library. How can I restore the selection for a new Web Part Page? I have Publishing site feature turned on. I have toggled ...
1
vote
2answers
2k views

How to hide Author name and Site page name from the modern site page in SPOnline team site

I am working with modern team site created in SPOnline. From the site pages library, I have created a site page and as you know, on this site page, author name and page name becomes visible by default ...
1
vote
1answer
5k views

How to deploy custom page via visual studio

I am looking for a way to deploy a custom page to sharepoint. Currently I was able to do it via sharepoint, by adding an aspx page to the project. This added an aspx pages to layouts and it deployed ...
1
vote
2answers
187 views

Beginner question on Updating List Items using JSOM, REST and Sharepoint Online

After doing a lot of research on REST, I'm stuck. Any help would be appreciated. I want to users to be able to update the status of a Task by clicking a button which takes them to a url. The column ...
1
vote
1answer
54 views

Installing a Remote Event Receiver on “Site Pages” library using BaseTemplate ID

I need my Remote Event Receiver to install to the "Site Pages" library without referencing the Title/name, but rather use the ID (119) or GUID. I can't use title because the support for multiple ...
1
vote
1answer
77 views

Increasing the 'Drop Here' area when 'dragging and dropping' Documents in a LVWP

I want to make the 'Drop Here' area as big as possible. I'm assuming that the size of the 'Drop Here' area corresponds with the size of the LVWP. Is there a way to increase it? Picture included below. ...
1
vote
1answer
2k views

Export and Import a Site Page using PowerShell

I am familiar with how to export/import a site using PS. My question is, is it possible to do the same operation with a Site Page? For example, SiteA/default.aspx contains 2 Site Pages called ToDoList ...
1
vote
2answers
138 views

Move site page from one module/feature to another and redeploy

I have a site page that was being deployed within a module that was initially part of one project. I deployed via wsp to my development server and everything was good. During development I refactored ...
1
vote
1answer
2k views

2013 page with code embed directs to /_layouts/15/start.aspx#/SitePages/orgininalName?

Not sure why, but a page with some markup code embeded into it results in the a url that looks like this. /_layouts/15/start.aspx#/SitePages/orgininalName ? and for whatever reason does not bind and ...
1
vote
1answer
454 views

Change new button order and default content type using pnpPowerhsell

For the Library 'Site Pages' on communication Site, I need to change the order of the content type and set some of them to hide. SetDefaultContentTypeToList for default content type for List 'Site ...
1
vote
1answer
126 views

yes/no field not working after applying PnPProvisioningTemplate

I'm applying a PnPTemplate file to a communication site in SharePoint Online. This template contains a yes/no column that is added to the Site Pages library. The field shows up in the default view, ...
1
vote
2answers
200 views

Need to have buttons on InfoPath form in a Site Page to direct to a specific URL

I have an InfoPath Designer form that I created and placed into a Site Page. Now I would like each of the buttons on this form to be able to direct to specified URL. I've tried adding the script below ...
1
vote
1answer
420 views

Can i force my Calender's events to open in a new tab

I am working on a sharepoint online classic team site. and i have added a Calendar list named Events. but inside the calendar view, when i click on an event, the event's display form will open inside ...
1
vote
1answer
59 views

Home Page outside of the site pages library

I recently inherited a site collection that has been around for a while. They recently upgraded to 2013 and their home page has been heavily customized and needs changed out. It has been moved from ...
1
vote
1answer
380 views

Empty properties? when I call $web.GetFile() method from Powershell

I wonder why when I execute this two lines $wpDestinationPageFullUrl = "http://root/sites/SitioModelo/TestLoadWebPart/SitePages/HomeTest.aspx" $siteUrl = "http://root/sites/SitioModelo/...