Adobe LiveCycle Designer Tips & Tricks

The following is a series of tips & tricks that you may find useful when working with Adobe's LiveCycle Designer 7.0 & 7.1

Scripting Tips

#1. Get the XFA path of an object in the script window.

Hold down the "Ctrl" key while in the script palette and click on an object on your form. The object path will be inserted into the script area. This is a huge time saver!

#2. Run Acrobat type javascript.

You can call Acrobat functions by using the "app" object. Eg, you can tell Acrobat or Reader to show or hide the Attachments pane by simple using this code;
app.execMenuItem('ShowHideAttachments');
Note: This code will only work if executed at the client, and will also not work if the form is rendered in HTML instead of PDF.

1996-2005 Mark Szulc, Adobe Systems Inc, et al.
All information provided is to be used at the reader's discretion, and is subject to change without notice. Whilst a best-effort is made to test examples and techniques provided, the reader is advised to test thoroughly prior to implementation.