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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

live cycle custom component integration with other component


Not applicable

if i develop a custom component and that component internally calling other component such as pdfg ,asssembling, reader extension,encryption etc. how can make use of those services in my custom component programatically.

0 Replies


Level 6

There are Java API for those services. If you try to import any classes to use the APIs and get errors, don't add the JARs. In component.xml, after <class-path>..</class-path> add this for reader extensions.


        <package version="1.0">com.adobe.livecycle.readerextensions.client</package>


You do not need to pass in properties to the creation of the client factory.

        ServiceClientFactory serviceFactory = ServiceClientFactory.createInstance();

        ReaderExtensionsServiceClient reClient = new ReaderExtensionsServiceClient(serviceFactory);




        outDoc = reClient.applyUsageRights(inDoc, credentialAlias, "xxxxxxx", new ReaderExtensionsOptionSpec(useRights, ""));