cancel
Showing results for 
Search instead for 
Did you mean: 

WCM Workflow Content Versioning

suntan
Champ in-the-making
Champ in-the-making
Hi all,

In WCM, for example, when define a workflow with A(Submitter) -> B (approver) -> C (approver).

When A submitted a 'modified' web page and send to B for approve, B want to see the difference of the just submitted version and the current published web page version, can Alfresco or any plugin can do it?

I understand that Alfresco WCM has the function to preview the WHOLE web page before publish, but it seems that alfresco can't HIGHLIGHT the difference, is it true? Can workaround?

User said this requested feature is similar to MS Office versioning that can simply highlight the difference… pls URGENTLY help

thanks
2 REPLIES 2

tommorris
Champ in-the-making
Champ in-the-making
Hello Suntan,

Nope. No built in diff-tool I'm afraid - (not that i know of anyway!)

NodeRefs in the AVM are derived from the sandbox name, the full file-path name to the resource, and a version number.
For example:
avm://myproject/-1;www;avm_webapps;ROOT;media;press;content;release-july.xml

This refers to a file in the staging sandbox of the web-project called 'myproject'.
Using '-1' is short-hand for the head revision.
You can use any valid version number instead of the '-1'.
Using these two references, you can then retrieve the contents of the two versions and provide them as input to a third-party 'diff' tool, either by directly streaming them as input to an API, or through temporary residence on the file-system.

I hope that's helpful.

Tom
http://www.ixxus.com

suntan
Champ in-the-making
Champ in-the-making
Hi Tom,

Thanks for your help.

————-
You can use any valid version number instead of the '-1'.
Using these two references, you can then retrieve the contents of the two versions and provide them as input to a third-party 'diff' tool, either by directly streaming them as input to an API, or through temporary residence on the file-system.
————-

May you suggest any 'diff' tool? and what's the proper way to output the 'rendered' web pages? thx and looking forward to yr reply.