Quantcast
Channel: Adobe Community : All Content - LiveCycle Designer
Viewing all articles
Browse latest Browse all 5571

Issue saving PDF opened via an Outlook email link

$
0
0

We have a  LiveCycle  XFA form that contains a "silent save" trusted function using doc.saveAs(). 

 

Users complete the form, save it, and e-mail it as an attachment with the JavaScript submitForm() function. One of the people who processes the form opens the e-mail, assigns specific processing duties to other people in the chain, and closes/saves the PDF file to a folder on our network. These other processors can open the document, carry out their assignments, click check boxes to indicate progress, and save the file back to the network location. The document uses app.mailMsg() to send a status report to everyone working the project.

 

No problem with this system, works fine - but I'd like to address one inconvenience by including a link to the file's location in the status e-mails. The idea is to click the link to open the file. I've successfully written script to accomplsh that. The problem is that the "silent save (doc.SaveAs) fails when the file is opened via the Outlook link. I get the "file may be read-Only" error message: "The file may be read-only, or another user may have it open. Please save the document with a different name or in a different folder."

 

I assume there is a step I'm overlooking somewhere, but I just can't figure out what. Does anyone have any suggestions?

- fred


Viewing all articles
Browse latest Browse all 5571

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>