These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Can document properties be kept in Acrobat form created by LiveCycle??

sinscore
Registered: Jan 3 2008
Posts: 11

Is there ANY way document properties of a LiveCycle form, such as author, can be maintained when the form is opened in Acrobat?

My Product Information:
LiveCycle Designer, Windows
Helen_Dyksley
Registered: Jun 4 2007
Posts: 27
Try this JavaScript on the Initialize event: e.g. on form1::initialize

This will transfers Designer Form Properties to Acrobat Document Properties. Open the Designer 7.1 file in Acrobat, Save As. Be sure to repeat the process if there are ANY changes to the document.

//use a try/catch because these Acrobat properties are read only in Reader and we do not want a useless error message shown to the user.

try {
event.target.info.Title = this.desc.title.value;
event.target.info.Author = this.desc.creator.value;
event.target.info.Subject = this.desc.description.value;
event.target.info.CreationDate = this.desc.created.value;
event.target.info.ModDate = this.desc.issued.value;
} catch (e) {}