How to promote launch using API | Community
Skip to main content
Level 6
October 20, 2021

How to promote launch using API

  • October 20, 2021
  • 1 reply
  • 883 views

I am trying to promote the launch page using java can you help me in writing the code to promote the launch which I create using java only

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

Ankur_Khare
Community Advisor
Community Advisor
October 20, 2021

Use below api's-

 

https://www.adobe.io/experience-manager/reference-materials/6-5/javadoc/com/adobe/cq/launches/api/package-summary.html

 

<!-- https://mvnrepository.com/artifact/com.adobe.cq/cq-launches-api -->
<dependency>
<groupId>com.adobe.cq</groupId>
<artifactId>cq-launches-api</artifactId>
<version>5.6.4</version>
</dependency>

Ronnie09Author
Level 6
October 20, 2021

I tried using but can't understand 

I have launch name pcp_page

launchManager.promoteLaunch(launch, null);

 

Should I let the parameter null?