Expand my Community achievements bar.

Getting a LiveCycle Application using the Java API

Avatar

Level 4

Hi,

I found an example of getting a LC application using the Java API at http://help.adobe.com/en_US/livecycle/10.0/ProgramLC/WS98f05ad7ea54cfa45d20bd73139c3c669e5-7ffa.html.

It works and I am able to get the appliation. However, I am not able to write it to a LAN location. Can anyone help me with this?

When the application is retrieved using getApplication() method, is it retrieved as an LCA or is it a complete application? In either case, what are the next steps as in can I write it to a file?

Thanks,

Ambika

1 Reply

Avatar

Level 9

Hi Ambika,

I have also tried the same sometime before. Application manager contains several methods. You can find the details here. http://help.adobe.com/en_US/livecycle/9.0/programLC/javadoc/index.html. getApplication should return the specified application in an object format. Basing upon the input as applicationName, applicatiodId. You can save it as .lca. But I am not sure whether the lca would be valid one. If you try to import that .lca file through adminui and try to deploy it. It might not work.

Regrading saving that file in other locations through LAN is not possible. Because the FileUtilities option allows to save some file in the system where LiveCycle server is installed. In order to save the file to some other location you need to create a share folder and you need to grant access properly.

Thanks,

Bibhu.