Creating Experience fragments programatically | Community
Skip to main content
deepakt84913413
Level 4
Mar 29, 2019 11:55 PM UTC
Solved

Creating Experience fragments programatically

How do I create the same kind of experience fragments with the same layout of components in with but with different content programmatically? Is there a service to create an experience fragment?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Accepted solution
Jul 16, 2019 6:55 PM UTC

You cannot create Experience Fragments by using an API.

6 replies

arunpatidar
New Participant
Jul 16, 2019 9:27 PM UTC

Creating XF is same as creating Page using Pagemanager JAVA API

PageManager ("The Adobe AEM Quickstart and Web Application.")

Example reading page details from CSV and creating pages

aem63app-repo/java/csvtopage at master · arunpatidar02/aem63app-repo · GitHub

Translate
Arun Patidar
Accepted solution
Jul 16, 2019 6:55 PM UTC

You cannot create Experience Fragments by using an API.

Translate
kautuk_sahni
Employee
Jul 16, 2019 8:10 AM UTC

There is not API exposed to this directly. Request you to please reach-out to support for this.

Translate
Kautuk Sahni
Level 2
Jun 10, 2019 10:55 AM UTC

Did you found any solution / alternative to create experience fragments programmatically ?

Translate
sachins55039180
New Participant
May 9, 2019 4:27 AM UTC

smacdonald2008​ Hi did you mean that this fuction is only available in UI?

We are also looking at integrting a workflow application that creates a Exp. Fragment using REST API. This is not possible right?

Regards

SS

Translate
smacdonald2008
Level 10
Mar 30, 2019 12:31 AM UTC

AEM does not expose an API that lets you create exp fragments programmaticall. All done in the UO as described in the docs!

Translate