Skip to content
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.

Sites create new page

Wiktor Szczepaniak edited this page Sep 5, 2016 · 2 revisions

Sites management

Create page using Sites management

We can create new page using SiteadminAction API using method createNewPage. Method exists in two versions : with and without page name argument.

To create a page on certain path, we need a SiteadminPage instance, and run code below :

private void createPage() {
    String destinationPath = “/content/geometrixx-outdoors-mobile”;
    siteadminPage.open(destinationPath).createNewPage(“pageTitle”, “pageName”, "Template Name");
    
    //We can open siteAdmin on the destination Path if we want further operations on our page.
    siteadminPage.open(destinationPath);
  }

Back to Sites management

Getting started with Bobcat

  1. Getting started

AEM Related Features

  1. Authoring tutorial - Classic
  1. AEM Classic Authoring Advanced usage
  1. Authoring tutorial - Touch UI
Clone this wiki locally