cancel
Showing results for 
Search instead for 
Did you mean: 

File version comparison with AVM

mariostriglione
Champ in-the-making
Champ in-the-making
Hi everybody.
This is my first post in this forum.

I am using the alfresco WCM, I have a question about AVM.
Reading the WCM_Overview wiki page:

In addition to these extended versioning operations, the AVM also supports the following capabilities:
File version comparison
Between two file versions on the same branch within a single repository
Between two file versions on different branches within the same repository
Between two file versions between any two repositories

Using the AVM features I would like to browse the differences between two versions of the same web document (an HTML page) but I do not understand how to setup WCM projects in order to support AVM and file comparison between versions. I have not found any AVM reference in the alfresco client. Is there any procedure to follow or operation to execute?

Best regards.
3 REPLIES 3

pmonks
Star Contributor
Star Contributor
While the AVM supports these kinds of features, they're not yet exposed via the Web Client UI.  Instead you might develop a UI Web Script (see http://wiki.alfresco.com/wiki/Web_Scripts for details) that allows the user to select two AVM nodes, and then uses the AVMSyncService (http://dev.alfresco.com/resource/docs/java/repository/org/alfresco/service/cmr/avmsync/AVMSyncServic...) to compare them.

Cheers,
Peter

mariostriglione
Champ in-the-making
Champ in-the-making
Thank you pmonks, i'll try it with web script Smiley Happy

pmonks
Star Contributor
Star Contributor
One thing to note - the AVMSyncService is primarily designed to generate diffs between directory trees rather than create sub-file level diffs, so depending on what you're trying to do it may not be enough by itself.

Cheers,
Peter