I have a pdf form that was created in Acrobat that I would like to use as a "template" in my custom Intranet application. I want the user to be able to open the template, click the checkboxes and click save to have the system store it in a specific file location.
Here is how I'm currently trying to accomplish this. When a user clicks a button in my application, I grab the "template" form and save it to a folder on our network using a specific naming convention based on the user logged in. From there, I display the file located on the network using Response.Redirect. The user can click the checkboxes, etc. but the only save option that shows up when doing it this way is "save as". This requires the user to navigate to the file location. I would like for the user just to click save and have it save over itself. Even if I have the user navigate to the file location (which is not preferred), I come across "file is already open" issues.
Does anyone have a java script example I could use to create a custom button that would save the existing file over the old file? Any other ideas??
↧