cancel
Showing results for 
Search instead for 
Did you mean: 

Maintaining Versions in Adobe Form

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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>

Former Member
0 Kudos

Hi John,

Thank you very much for your reply.

I am not able to open the link [http://tm.corp.adobe.com/techCommunity/viewtopic.php?f=8&t=1528|http://tm.corp.adobe.com/techCommunity/viewtopic.php?f=8&t=1528] provided by you.

Knidly help us

Thanks & Regards,

Chandran S