Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Dynamic Page Creation

Avatar

Level 3

We want to build functionality that allows users to create a page dynamically through a form.

I found this article concerning how to use the Page Manager API but this appears to be for the author instance:

https://helpx.adobe.com/experience-manager/using/aem63_createPage.html

Is there a way to publish pages dynamically?

Thanks in advance for your insight.

A.

1 Accepted Solution

Avatar

Correct answer by
Level 10
2 Replies

Avatar

Correct answer by
Level 10

There are multiple solutions to achieve this based on your use case. You can also find reusable code snippets in ACS samples/commons codebase.

http://www.flexibledesigns.rs/activate-a-page-programmatically/   // activate page/assets via specific path

https://www.practicalaem.com/2016/05/04/activate-or-publish-a-page-programmatically/

Interacting with Workflows Programmatically  // Trigger activation workflow

Adobe Experience Manager Help | Invoking Adobe Experience Manager Workflows using the AEM Java API

https://forums.adobe.com/thread/2338630

Avatar

Level 3

Helpful as always, Gaurav. Thank you!