Wednesday, April 27, 2011

Custom DSC - Zip Service to Compress and Decompress files

This service can be used to convert a list of documents into a .ZIP file. Also to decompress a .ZIP file into a list of documents.

Operations:
ZipDocuments
UnzipDocument

Snapshots:
1. Deployed Component
2. Usage

3. Properties (Zip)

4.Properties (Unzip)



Contact me for full source code and compiled JAR file.

Nith
+973 3939 2169
nith.mof@gmail.com

Thursday, February 24, 2011

Custom DSC - Convert Excel document into XML

This Custom DSC will be helpful to Convert your Excel files into XML data.

This component uses the Apache's POI to read the Excel content and returns org.w3c.dom.Document.

The resultant XML will contain a root tag named 'ExcelContent' with each Sheet name as its immediate children.

Each row of the sheets will be appended as nested chil
dren nodes.

Optionally, you can ignore the first row of the sheets in the resultant XML and use them as tag names instead.

The Component can be downloaded from here

The Source Code is available here

The Apache POI is available here


Steps to use this Custom DSC:

Step1: Deploy the Apache POI library into Adobe LCES Server

The path will usually be :\Adobe\Adobe LiveCycle ES2\jboss\server\\lib

Step2: Restart application server

Step 3: Install the component
Goto Workbench -> Component panel, right click on Component -> Install Component
Choose the JAR file

Step 4: Activate the Service
Right click on the Component -> Start Component

You are done with the Component.

You can drag the Service into any process and set the Input & Output parameters.

Nith

Saturday, October 3, 2009

Process Management ES - Custom DSC (1)

This article explains a typical scenario to use my Custom DSC to fetch attachments from a given Task Id.







Regards,
Nith