Hidden Gem: Open “Add a Page” in SharePoint

This post will use SharePoint inbuilt method to call a page to create wiki pages

SharePoint has lot of hidden gems within it in the form of javascript methods, css styles, configurations and lot more. In this blog, we are going to see like that one.

To create a new wiki page in SitePages library, SharePoint has the “CreateWebPage.aspx” page by default. To open this page, SharePoint has its inbuilt JavaScript method to open that page in a dialog box.

_GoToCreateNewPage()

We can call the above JavaScript method from anywhere from any page.

We will get the below screenshot after the calling the method.

Page used to create wiki pages
Fig 1: Add a Page

 

Shantha Kumar
Shantha Kumar
Articles: 278