Oracle WebCenter Content (MOSC)

MOSC Banner

Display dFileSize on Content Information Page in WCC (12.2.1.3.0)

edited Dec 30, 2018 4:01AM in Oracle WebCenter Content (MOSC) 2 commentsAnswered

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.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center