cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide or replace the doc version ID in Document Library view?

chsun
Confirmed Champ
Confirmed Champ

Hi,

Can I replace the version ID by one of my aspect property, or simply hide it? I am developing an extension for it.

Thanks,

2 REPLIES 2

prachi_shah_c2
Confirmed Champ
Confirmed Champ

Hi Charles Sun,

 You can achieve this task by making some modification in "documentlist-view-detailed.js"  file .

 with the help of this 

// Version display
if (!jsNode.hasAspect("cm:workingcopy") && $isValueSet(record.version) && !jsNode.isContainer && !jsNode.isLink)
{
version = '<span class="document-version">' + $html(record.version) + '</span>';
}

Thanks,

prachi shah

ContCentric

Thank you.