– Ankush Kumar, Lead Software Engineer @ Adobe
Many a times, we have the requirement to deploy single or group of system or custom DSCs. System DSCs are deployed by LiveCycle Configuration Manager. However, in the case of custom DSCs, we need to manually deploy the component through LiveCycle Workbench. Sometimes, launching Workbench for solely deploying component seems like too much effort. Moreover, it’s not very easy to automate.
You can use the attached sample tool to deploy a DSC using command-line.
- Download and extract the tool archive on your machine. It contains a folder libs, a runme.bat file, and an ImportDSC.jar file.
- Place <LiveCycle Installation Dir>\sdk\client-libs\thirdparty\*.jar files in libs folder.
- Place adobe-usermanager-client.jar and adobe-livecycle-client.jar files in libs folder.
- Modify runme.bat accordingly.
The ImportDSC.jar is used in the following way in the runme.bat file (provided classpath is set):
java com.adobe.livecycle.sample.ImportDSC appserver=<websphere|weblogic|jboss> serverhost=<name of machine> port=<port of LC> username=<user to install DSC> password=<password of mentioned user> dscpath=<absolute path till DSC> force=<true|false>
The source code is also included in the archive. Please review it in case of any doubt and modify as per your requirements.
DISCLAIMER: This sample code is not officially delivered or supported as part of Adobe LiveCycle product. One should verify this on a testing environment before employing in production environment.
The Adobe Managed & Approval Solution Accelerator 9.5 is a wonderful solution for automating reviews for documents in your organization. One of the handy features of the solution is email updates for automated reviews. For example, emails are automatically sent for these scenarios:
- When a reviewer completes a review or review stage.
- When an approver approves a document.
- When reviewers or approvers are added to or removed from a review.
- When a review or review stage completes.
This requirement is necessary for organizations that have regulated review and approval workflows. However, in non-regulated environments, this requirement may be a distraction to users because of the number of emails that can be sent in reviews that involve significant number of people.
Alexandra Phillips has provided an article to describe how to configure the emails that are sent using the Solution Template provided with the Managed Review & Approval Solution Accelerator. Check out the article here.
Would you like to learn how to use the Execute Script service to manipulate XML using LiveCycle Workbench ES2? Here is a tutorial provided by one of our Adobe partners, Twin Technologies!
Check out the most excellent tutorial from Deke Smith at here.
Marcel van Espen, over at the Dr Flex and Dr LiveCycle blog, explains how you can create a LiveCycle process to access custom Office properties. His blog post also includes a useful example.
“Within LiveCycle Workbench ES, one of the services in the common category that you can use is ‘Export XMP’. This service will extract all the available metadata from a PDF document. If you have converted a MS-Office document to a PDF document, you will be surprised what metadata is also converted. All these properties now become accessible.”
Read the complete post here.
In a community blog post, Marcel van Espen from the Adobe presales team demonstrates how you can use LiveCycle and AIR to build a Twitter solution for your organization.
“… you can use LiveCycle to build a process and an AIR application to publish tweets to a corporate Twitter account, where you have control on what’s published or not. Part 1 focuses on building the client with Flash Builder 4 with the LC Service Discovery plugin. In part 2 you will see how to archive all tweets in a PDF/A format within LiveCycle Content Services.”
New for LiveCycle Workbench 9.5 is the ability to provide you with the latest help dynamically in a manner similar to Adobe Flash Builder Help, which many of you already know and love! How? The Adobe Community Help Client (CHC), that’s how! The CHC is an AIR-based application that replaces the Eclipse Help engine for Workbench and is the platform for the next generation of Adobe Help delivery. CHC features include the following features:
- Search-centricity : Uses Community Help search, adobe.com search, or local search. Community Help search aggregates resources, including those from 3rd party sites. The adobe.com search includes refinements to narrow your scope.
- In-context navigation: Provides a dynamically generated set of related links for key pages.
- In-context commenting: Provides immediate feedback on any page and displays any recent updates.
- Always online: If you have a network connection, the CHC accesses content from the web to ensure that you have the most up-to-date content. However, you can also work in local mode if you have no Internet connection.
Now you are probably wondering, how do you work in local mode? Well, provided you have internet access, you can download a copy of the Help so that you can access the Help if your internet connection fails or if you are temporarily working behind a restricted firewall. To download a local copy of the Help, follow these steps:
- Start Workbench ES2.
- Select Help > Adobe LiveCycle Workbench Help. The Adobe Community Help Client starts and you do not get a prompt that asks to you download the help, continue to step 4. If you do, the help is downloaded after you click update and you should have a local copy when do not have internet access.
- In the Adobe Community Help Client, select Edit > Preferences.
- In the left pane, select Download Preferences.
- Select LiveCycle ES2.5. The LiveCycle Workbench 9.5 Help should be selected automatically as shown in the following illustration:
- In the left pane, select Local Content, select LiveCycle Workbench 9.5 Help, and click Update. After the update, your window should look like the following illustration:
- Click Done.
You now have a local copy of the Help! The next time you connect to the internet, the Help will be updated when a user selects starts the Workbench Help. If you do not have an internet connection, Workbench connects to the local copy.
Note: The PDF version is not available unless you are connected to the internet. If you want, you can save a local copy of the PDF version on your computer, when you have internet access.
Available on Adobe Labs is the prerelease of the Archive Migration Tool. The plug-in is available for LiveCycle Workbench ES2 (version 9 and higher). Check out the tool here.
In a nutshell, this tool migrates archive files from the LiveCycle ES to LiveCycle ES2 or LiveCycle ES2.5 applications. Without this tool, it is necessary for you to manually upgrade your LiveCycle ES applications. For more information about upgrading legacy soutions, see Upgrading legacy solutions to LiveCycle ES2.5 in the LiveCycle Workbench 9.5 Help.
Enjoy and please do not hesitate to provide feedback!
You can use Ant to generate ActionScript and Java classes from your FlashBuilder and LiveCycle Workbench ES2 models. All you need is a model (.fml) file (obviously), Ant (obviously), some jar files in your classpath (provided with LiveCycle Data Services ES2 and LiveCycle Workbench ES2), and the documentation for the Ant commands.
What documentation, you ask? You won’t find it in the core Data Services ES2 documentation, but Matt Butler put together a tidy reference in his blog. He explains how to extract the required libraries as well.
Product documentation is here.
Have fun generating those oh-so-useful service classes in your builds!
We recently added videos to the Creating Your First LiveCycle ES2 Application tutorial (PDF file). The tutorial has embedded videos to simplify the learning of more involved tasks. Check out the new version of the tutorial here.
Note: Ensure you are using a fast connection to download the tutorial with embedded video, which is approximately 45 MB in size.
We recently released LiveCycle ES2 Service Pack 1 (SP1), a significant update to the LiveCycle server components, LiveCycle Workbench ES2, and LiveCycle Designer ES2. You can access the download page here. To download the service pack, you’ll need to log in using your Adobe ID and agree with the EULA.
The updated LiveCycle ES2 SP1 documentation is now live at the LiveCycle Developer Center. The SP1 ReadMe (PDF) describes how you can install the service pack for LiveCycle ES2 server, Workbench ES2, and Designer ES2. The ReadMe also lists the 80+ customer-reported issues that were addressed in this service pack.
To review the SP1 release notes for LiveCycle components, see this page. A related announcement on the LiveCycle Product Blog is here.