Hi,
I want to display document version in all workflow forms, for this i understood to modify/override the object finder js file.
But in that the item object doesn't have version property, it has the aspect array with versionable property but without value.
Can anyone help me to display version number of document in workflow forms.
Below is the code from object-finder.js which im referring to...
return function ObjectFinder_fnRenderCellListItemName(elCell, oRecord, oColumn, oData)
{
var item = oRecord.getData(),............
Solved! Go to Solution.
Hi Prachi,
Thanks for responding.
Actually i was talking about displaying version number in document listing next to document name in workflow forms.
I have made use of the below mentioned web script to get version history by nodeRef and captured only the first item from
JSON response to get the updated version.
Hi Faiz,
For this first, you may need to add one custom form field in which you have to get a document and find out version of that document from version history and show it to document.
Thanks,
prachi shah
Hi Prachi,
Thanks for responding.
Actually i was talking about displaying version number in document listing next to document name in workflow forms.
I have made use of the below mentioned web script to get version history by nodeRef and captured only the first item from
JSON response to get the updated version.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.