


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.
Views
Replies
Total Likes
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.
<import-packages>
<package version="1.0">com.adobe.livecycle.readerextensions.client</package>
</import-packages>
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, ""));
Views
Replies
Total Likes