I have designed an Acrobat 7 dynamic XML form using LiveCycle Designer 8.0.
Most of my user base has only acrobat reader, and I need for them to able to save the form they are completing.
The method doc.saveAs has security restrictions.
Can I elevate the privileges of the document to allow saving in Acrobat Reader?
I've been reading about app.trustedFunction.
If I write a function:
trustedSaveAs = app.trustedFunction( function (cPath)
{
app.beginPriv();
doc.saveAs(cPath) ;
app.endPriv();
})
Where do I put this code in my form?
Can I put this trustedSaveAs function in a menu item or a button?
Can I stop the error message that the Reader gives the user that saving is not allowed?
thanks for any help on this complex issue.
There is more detail in this article:
http://www.acrobatusers.com/articles/2006/09/enabling_reader/
Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.