Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
CSIDE and OScript
add metadata to browseview.html
Jenna_Amani
I am on Livelink 9.7.1 and I recently took the Builder course. One of the requirements my users have is the ability to add the owner/author column to the browse view. Any suggestions are very much appreciated.Thank you.Jenna Amani
Find more posts tagged with
Comments
Philippe Gauvin
a) Look at WEBNODE->.fBrowseColumnDefinition : Add a clolumn name. The order is important. Ex: {'checkboxColumn','typeColumn','nameWthPrmtdCmdsColumn','sizeColumn','YOURCOLUMNDATE','dateColumn'}.b)Add the value in _SubclassAdjustContentRow: Ex : outStr += ._AddItemToJSON( 'YOURCOLUMNDATE", $WebDsp.HTMLPkg.FmtDate(versionNode.pCreateDate, TRUE, 0), length( outStr ) > 0 )outStr += ._AddItemToJSON( "YOURCOLUMNDATEREAL", Date.DateToString(versionNode.pCreateDate, "%Y%m%d%H%M%S"), length( outStr ) > 0 )c)Modify Browsecoretable.js. Create an instance of BrowseViewColumn and name it you new variable the same as in .fBrowseColumnDefinition, YOURCOLUMNDATE.d)Fill in the rest of the scriptEx : obj.YOURCOLUMNDATE= refactorVariable( obj.YOURCOLUMNDATE);obj.YOURCOLUMNDATEREAL= refactorVariable( obj.YOURCOLUMNDATEREAL);Hope it helps.
Greg_Griffiths_(ggriffiths_-_(deleted))
Causeway (
http://www.causeway.com)
have a module (Category Browse) which does this and a lot more.