Posts tagged designer

Scribble your forms

With new Mobile Forms, it is much easier to customize the forms than ever. In this post, I will cover one such improvisation that Mobile Form provides out of the box. Mobile Form extends image field to provide a scribble control on the form. The users can scribble any useful drawing, for example their signatures to the form. This control comes in the livecycle ES4 designer out of the box. Due to its close proximity with paper signature, we call it signature scribble. So here is how you design a form with scribble.



Read the complete post here.

LiveCycle Designer ES2: Unable to save old XDPs with external data binding option

Issue

If you are attempting to save an XDP file in LiveCycle Designer ES2, created with an earlier version of Designer (i.e. 7, 7.1 or ES), then it can occur that the Save process never completes, and you must kill the Designer process manually in Task Manager.  If you analyse the files on your local disk, you will notice some tmp files with large file sizes.

Reason

This issue is related to the Data Binding option Allow binding to data not defined by the default data connection.  For some forms that contain data connections, Designer ES2 can get stuck in an endless loop while saving the XDP to an intermediary tmp file.  You will see the tmp file will contain a huge number of repeated entries related to the DataDescription similar to the following:

<DATACONNECTION xmlns:dd=”http://ns.adobe.com/data-description/” dd:additions=”$template(DATACONNECTION)”/>

---

Read the complete post at Adobe LiveCycle Blog.

LiveCycle ES 3 Release Now Available

- Dave Welch, Senior Director – LiveCycle

We are pleased to announce the release of Adobe LiveCycle Enterprise Suite 3 (ES3). LiveCycle ES3 contains the document and data services capabilities, including electronic forms and business processes, which were formerly part of the Adobe Digital Enterprise Platform (ADEP), a brand that is being retired.

The new LiveCycle ES3 release incorporates:

  • Document services capabilities available with ADEP and the recent ADEP Document Services service pack 1
  • LiveCycle Data Services 4.6.1
  • Updates to LiveCycle Connectors for Microsoft® SharePoint® and IBM® FileNet

LiveCycle offers a number of components that help extend the value of existing back-end systems by better engaging users, streamlining processes, managing correspondence, and strengthening security.

——-
Read the complete post at http://blogs.adobe.com/livecycle/2012/03/livecycle-es-3-release-now-available.html.

Toggling between two fields in a dynamic form

The LiveCycle Cookbook, a community resource for developers, has a recent recipe and sample artifact by Arjun V: Toggling between two fields in a dynamic form.

The Cookbook homepage is here: http://cookbooks.adobe.com/livecycle. Check out the available recipes and contribute your own.

——-
Original article at http://blogs.adobe.com/samartha/2012/03/toggling-between-two-fields-in-a-dynamic-form.html.

Flat PDF vs. XFA Form PDFs

A frequent mistake that is made is to assume that, since XFA Forms can be saved as PDFs, they will behave like any other PDF. Truth is: XFA PDFs and flat PDFs are entirely different beasts.

Read about the detailed differences here.

Border and Margins in Flowed Layouts

- Stefan Cameron

My friends at Avoka have posted a very useful tutorial on the unexpected behavior of borders in flowed layouts and how to use margins to fix it. Check it out!

——-
Original article at http://forms.stefcameron.com/2010/04/21/border-and-margins-in-flowed-layouts/.

Displaying Base64 images in Designer

- Michael Steward

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.

Download Base64ImageTest.zip

——-
Original article at http://michaelsteward.com/2011/09/16/displaying-base64-images-in-designer/.

Removing images from ImageFields using JavaScript

- Michael Steward

When adding an ImageField to a form it’s a common requirement to allow a user to remove the image.  By default clicking on the image field will only let the user replace it with another image.  If you want to remove it altogether then this little piece of code attached to a button will help:

imageField.rawValue = null;

 

——-
Original article at http://michaelsteward.com/2011/10/14/removing-images-from-imagefields-using-javascript/.

e-Invoicing with Adobe

Marcel Van Espen

As many people know, e-Invoicing is gaining a lot of traction these days in order to save money. In general many of the solutions use PDF as the format for the electronic invoice. But there is PDF and PDF. We have created a sample electronic Invoice in PDF format that is more then just a digital invoice, and also focuses on the experience of the recipient in addition to the ability to exchange structured data. Have a look at a video that includes a demo. If you would like to download the sample and play with it yourself, here it is.

—-
Original article at http://www.drflex.eu/2009/05/e-invoicing-with-adobe/?utm_source=rss&utm_medium=rss&utm_campaign=e-invoicing-with-adobe.

How to Invoke LiveCycle Forms from an Existing XDP Form in Acrobat/Reader or Browser Plugin and Get Another Form Rendered Back to the Client

Lately I have had a request from a customer of mine who wanted to modify existing XDP forms (ie. change a label or a field value) on the fly without going in LiveCycle Designer (ie. the procedure would imply costs for hiring the dev department).

His idea was to have a Form A, in which he would be able to specify the changes he desires to have in the Form B, submit the form  A to a LC orchestration which would apply the changes and render the Form B back in Acrobat/Reader or even the browser plugin.

Here I am only covering the call to LC and the rendering back to the client.

Note: I am using LCES 2 SP2 (9.0.0.2) running on Jboss.

So we have Form A that could look like this:

Note: i will explain the submit URL later on.

As we can see we have a few fields that would mean something to Form B and as an end user we will open Form A in Acrobat/ Reader or even the browser plugin to enter the value we want to see in Form B.

We need to go in LC Workbench to create an orchestration which will render Form B:

We can see I used the RenderPDFForm service operation and created a variable (type document) for the input Form and to make things simple I had put Form B in the application  structure:


The key element for the invocation of the orchestration from Form A is to rely on the REST protocol (http post):

We can find the right URL for the call by selecting the Default startpoint properties:

Since I going to run the test on the same machine where Livecycle is running the URL looks like this:

http://localhost:8080/rest/services/test/renderForm:1.0

Note: “test” is the name of my application  and “renderForm” is my process (orchestration) and 1.0 is its version.

This is the URL I put in the submit button in Form A (see first screenshot).

In order to make the call successful, we need to create variables to match the fields in Form A: Name, FormContent and MainParagraph.

Of course, in the scenario where you want to modify Form B with Form A fields values, you would need those variables to apply the desired changes.

Note: by matching i meant the variables name and type (most of the time it would be string but you can have list as well).

Here I am only rendering the Form B without any changes so I did not bother adding more activities in my orchestration which would utilise those variables.

Once the orchestration and the forms have been saved and the application deployed on the server, all we need is to open Form A in the client of our choice, here I used Internet Explorer so we can see the URL at the top.

I click on the button “open form via REST” and the login request pops up and i use my LC credentials to access:

Once logged in Form B is appearing in the same window:

Note: When using Reader or Acrobat, it will open a new window for Form B.

No need to Reader Extend Form A to make it work hence it works in Reader standalone and plugin.

——-
Original article at http://blogs.adobe.com/ADEP/2011/08/invoke_forms_from_xdp.html.

Go to Top