Categorized | Adobe, LiveCycle

ShortenURL custom component for LiveCycle ES

Posted on 20 April 2010 by Mark Szulc

While creating a new LiveCycle demo recently I came across an issue where I wanted to pass a URL of a document via Twitter. The process was storing a PDF document into LiveCycle Content Services, obtaining the URL, then notifying people about the new document via Twitter.

Process diagram demonstrating the use of the ShortenURL component

I took a look at the APIs for bit.ly and after a quick bit of Googling I came across Peter Mularien’s tutorial on URL Shortening in Java using bit.ly. About thirty minutes later I had an Eclipse project setup, a bity.ly account & developer GUID, and had written the component XML describing the properties to expose to LiveCycle. For more detail on that process check out this article:Extending LiveCycle ES software through custom DSC development – Part 1: Create a basic service component

Properties panel for ShortenURL servicebtw – thanks to Gareth Faulkner from Adobe Australia for some debugging assistance!

The result is this new reusable component for LiveCycle!  All you need to do is provide

  • LongURL
  • Bit.ly Login
  • Bit.lyAPI Key

Download the ShortURL component for Adobe LiveCycle ES

Let me know if and how you use it!

Related posts:

  1. Twitter Component for LiveCycle ES
  2. Tour De LiveCycle updated for LiveCycle ES2
  3. Eclipse & Livecycle
  4. Converting Acrobat® JavaScript for Use in LiveCycle™ Designer Forms
  5. Adobe releases major update to LiveCycle ES

Leave a Reply

Photos from my Flickr stream

See all photos

What I'm Doing...

My Photos

Magician Chassis robotUltrasonic range finder on front of robotMagician Chassis robotTest setup of Ultrasonic Range FinderMagician ChassisTest setup of Ultrasonic Range Finder

Google Ads

My mobile site

QR Code - scan to visit our mobile site

This is a 2D-barcode containing the address of our mobile site.If your mobile has a barcode reader, simply snap this bar code with the camera and launch the site.

Who's Online

6 visitors online now

Switch to our mobile site