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

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
chsun
Active Member II

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

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
prachi_shah_c2
Active Member II

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

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

chsun
Active Member II

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

Thank you.