on 03-23-2009 11:41 AM
Hi All,
We are in process of designing an adobe interactive forms for our various business scenarios.
we had a secanrio that if form content was changed then a version should be maintained in the adobe form. Kindly let us know how to make it.
Thanks & Regards,
Chandran S
Hi,
This really depends on your business requirements and your level of XDP form design. Off the top of my head, some scenarios are
1) Add each version of the doc as an attachment. This could be either the data as XML or the whole PDF. Both of these would increase the size of your doc, but the XML is a lot smaller than the PDF.
For example, when the PDF is submitted to the server you can compare the XML data and it is different, then store the old document (assuming you still have it on the server) as an attachment to the new one.
You can also using JavaScript to do this programmatically on the client. See http://tm.corp.adobe.com/techCommunity/viewtopic.php?f=8&t=1528
2) Store the old data (completely or just the changes) in the form's data. This could be done without it showing up as attachment (attachments can be deleted). This might be more complicated Java Scripting, but would also work. The data could look something like this.
<myData>
<currentData>
....
<currentData>
<versionData>
<version1>
<userId>A12345</userId>
....
</version1>
<version2>
<userId>X56789</userId>
....
</version2>
.... (more versions)
<versionData>
</myData>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.