Display dFileSize on Content Information Page in WCC (12.2.1.3.0)
Hi Srinath,
I've created a postWebfileCreation filter, but not works fine:
this is the .hda file (I have two class filters in my application):
@ResultSet Filters
4
type
location
parameter
loadOrder
preComputeDocName
com.avanttic.CustomDocNameFilter
preComputeDocName
50
postWebfileCreation
com.avanttic.FileSizeMetadataFilter
postWebfileCreation
60
this is my FileSizeMetadataFilter java class:
public int doFilter(Workspace ws, DataBinder binder, ExecutionContext cxt) throws DataException, ServiceException {
String fileSize = binder.getLocal("dFileSize");
binder.putLocal("xMGZFileSize",fileSize);
return FilterImplementor.CONTINUE;
}
How can i do it?
Thanks for advance.