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

Sites management

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

Touch UI Sites management

Description

Site management

Main elements:

  • SiteadminPage class is the main part of Bobcat's support of AEM Sites mangement.
  • ChildPageRow class

SiteadminPage class

Operating on AEM Sites page management tool is possible using SiteadminPage class, which implements SiteadminActions interface. Several operations are supported, i.e. creating, copying, moving, activating. There is also several additional methods added to API that provides useful functionalities.

To operate using SiteadminPage class we need be logged in to AEM author instance. It can be done using AemLogin class as in example below :

public class SiteadminTest {

  @Inject
  private SiteadminPage siteadminPage;

  @Inject
  private AemLogin login;

  @Before
  public void setUp() {
    login.authorLogin();
  }

  @Test
  public void shouldOpenSiteadminInDesiredContext() {
      siteadminPage.open("/content/desiredContext");
  }

List of operations supported :

ChildPageRow class

As AEM Sites is used to maintain pages, we can have access to single page's information in the list of sub-pages. ChildPageRow class provides functionalities listed below:

More detailed documentation is available on the ChildPageRow class page.

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