Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Automate Catalog Blueprint Rollout

Avatar

Avatar
Validate 1
Level 1
divyav90967713
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
divyav90967713
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
divyav90967713
Level 1

19-01-2016

Hi,

We have a requirement where in once the products are imported under /etc/commerce/products/xxx, creation of category and product pages has to be automated. 

AEM provides Catalog Blueprints where we have to manually structure the categories, map the templates, clientlibraries, tags etc., and when we click on "Create Catalog" button manually AEM will create the appropriate pages.

Instead this manual process, is there any API provided by AEM to create catalog/rollout catalog changes to generate/update pages.

Thanks,

Divya

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 7
Jitendra_S_Toma
Level 7

Likes

74 likes

Total Posts

615 posts

Correct Reply

84 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Validate 1
Level 7
Jitendra_S_Toma
Level 7

Likes

74 likes

Total Posts

615 posts

Correct Reply

84 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
Jitendra_S_Toma
Level 7

19-01-2016

Hi Divya,

There is no such API's available in AEM which can solve your problem. You need to create custom tools in order to achieve creating catalog template, blueprint & product pages automatically (Through the API).

I do have these tools for one of my project. May not be as generic as you want, However, things are easier when you use them.

Let me know review those stuff again. 

Jitendra

Answers (5)

Answers (5)

Avatar

Avatar
Give Back
Level 1
robinb38879819
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Give Back
View profile

Avatar
Give Back
Level 1
robinb38879819
Level 1

Likes

0 likes

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Give Back
View profile
robinb38879819
Level 1

01-11-2016

You should take a look at the Commerce API. When the Blueprint templates are in place, you could make use of the CatalogGenerator to generate the product pages.

https://docs.adobe.com/docs/en/aem/6-0/develop/ref/javadoc/com/adobe/cq/commerce/pim/api/CatalogGene...

Avatar

Avatar
Level 1
carlos_duque-80
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile

Avatar
Level 1
carlos_duque-80
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
carlos_duque-80
Level 1

08-09-2016

Hi Jitendra.

Did you finished the package? I am making a project with AEM and have the same requirements as Divya.

If you can help we would be very appreciated.

Regards,

Carlos

Avatar

Avatar
Validate 1
Level 1
divyav90967713
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile

Avatar
Validate 1
Level 1
divyav90967713
Level 1

Like

1 like

Total Posts

9 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
Boost 1
View profile
divyav90967713
Level 1

20-01-2016

Thanks a lot Jitendra! smiley

Please attach the package to this thread.

Avatar

Avatar
Validate 1
Level 7
Jitendra_S_Toma
Level 7

Likes

74 likes

Total Posts

615 posts

Correct Reply

84 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile

Avatar
Validate 1
Level 7
Jitendra_S_Toma
Level 7

Likes

74 likes

Total Posts

615 posts

Correct Reply

84 solutions
Top badges earned
Validate 1
Give Back 50
Give Back 5
Give Back 3
Give Back 25
View profile
Jitendra_S_Toma
Level 7

19-01-2016

Divya,

The tool is not separated from the actual project code. I might need time to make it a separate package.

Jitendra

Avatar

Avatar
Validate 10
MVP
kunal23
MVP

Likes

166 likes

Total Posts

565 posts

Correct Reply

172 solutions
Top badges earned
Validate 10
Validate 1
Ignite 3
Ignite 1
Give Back 50
View profile

Avatar
Validate 10
MVP
kunal23
MVP

Likes

166 likes

Total Posts

565 posts

Correct Reply

172 solutions
Top badges earned
Validate 10
Validate 1
Ignite 3
Ignite 1
Give Back 50
View profile
kunal23
MVP

19-01-2016

Yes you can call MSM API to roll out pages programmatically. 

RolloutManagaer has method for rollout - https://docs.adobe.com/docs/en/aem/6-1/ref/javadoc/com/day/cq/wcm/msm/api/RolloutManager.html

Example-

Page masterPage = pageManager.getPage(path); //source page RolloutManager.RolloutParams params = new RolloutManager.RolloutParams(); params.master = masterPage; params.isDeep = true; params.rolloutProgress = true; //rolloutmanager is an OSGI service rolloutManager.rollout(params);