Posts

  • Acrobat Reader Extension limitations

    I’ve been doing a piece of work for a customer who wanted a simple form distributed around their organisation for staff to fill in and return.  The only additional requirement was that end users need to be able to save the document whilst filling it in.  Most of my work to date has been using the Adobe LiveCycle product suite and so I naturally turned to Reader Extensions ES2 which would give end users the ability to save documents offline but comes at a rather large premium in terms of licence costs.

  • Displaying Base64 images in Designer

    A recent project required me to write a custom component to merge image data with some text.  This was simple enough in itself but testing the output Base64 image data with PDF files proved a pain.  As a result I made a very simple PDF in Designer which allows you to test your Base64 encoded image strings to see how they’ll look in a PDF document.  The following link will let you download the form which can be opened in designer.  The archive also contains a very basic data schema and test data to get you started.  Just replace the Base64 string in the “sampleData.xml” file with your own string.  Fire up Designer and click the Preview tab to see if the image is displaying properly.

  • Back from my travels

    After a fantastic 2 months travelling SE Asia and Australia I’m finally back in the UK.  Unfortunately my web hosting expired during my travels so I had to move my Wordpress database over to wordpress.com (not easy on a slow Vietnamese computer in downtown Saigon!).  A few things seem to have been lost in the transfer such as the plugins I had for displaying code and the theme I was using but other than that it seems fine.  Gone are the days when I used to love hosting my own websites; it’s just so much less hassle to have it hosted and maintained on your behalf!  If I get on with wordpress.com then I’ll restore my domain name to permanently point here (they make you pay for the privilege!).

  • Relative vs Absolute paths for Form fragments

    Here’s another gotcha when using LiveCycle Output ES2 that’s had me stumped for a few hours.  I designed a form which used a number of fragments which tested fine within designer.  Once deployed to the server I was always getting blank forms.  A quick check of the logs revealed the following warning:

  • Blank screen when opening process in Workbench

    Back to working with LiveCycle ES2 on a new project and had problems opening any process after installed Workbench ES2 on my laptop.  When opening a process in Workbench ES2 I was being shown a grey tab with no content.  The workaround seems to be to run Workbench as an Administrator (right click on icon > Run as Administrator).  Solved the problem but don’t know why it needs it!

  • Connecting to LiveCycle ES2 Repository outside of Workbench

    When trying to test some forms I was struggling to remember the location of the LiveCycle repository.  Turns out that you can access it via WebDav from Windows or directly from a browser using the following:

  • JBoss - using properties-service.xml to set environment variables

    In every JBoss installation there will be a file called “properties-service.xml” in the deploy folder.  This file allows you to setup environment variables (rather then setting them at the JVM/System level) which all deployed applications can then use by calling the System.getProperty() method.  Just uncomment the section shown below to enable some global properties or use the URLList to point to external properties files:

  • Debugging Flex 3 applications with Flash Player 10

    I came across a problem recently when trying to debug my application after upgrading from Flash Player 9 (Debug version) to 10.2 (Debug version).  As soon as I upgraded my application stopped logging.  I searched everywhere and whilst I found a lot of people with the same problem never really found an answer.

  • get-collection-size() vs size() in LiveCycle

    Just a note to be careful when using the XPath expressions get-collection-size() and size() in LiveCycle to count the number of elements in a list variable. If your list is empty the two functions will not return the same value

  • ASDoc - wading through the errors

    ASDoc is a nightmare. What should have been a simple task turned into a day of trawling the net trying to find the cause of the seemingly endless errors preventing me from running it. Eventually I got it working so here’s a short post explaining the pitfalls I faced.

subscribe via RSS