Wednesday, June 29, 2011

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:

ALC-OUT-002-058: Cannot retrieve the resource from Repository Path.

A bit of digging around and I hit the a knowledge base article on Adobe's site.  Basically there's a "limitation" with the way the form is compiled which means relative paths within fragments and XDPs can cause problems.  The solution is to turn the relative path references (which are inserted by default in Designer) into absolute paths.  Doing this sorted the problem for me but this is something that needs fixing!

No comments:

Post a Comment