Financial Management - PSFT (MOSC)

MOSC Banner

Customize Journal Attachment functional to restrict the user to upload maximum file size of 2 MB

edited Apr 18, 2013 7:02AM in Financial Management - PSFT (MOSC) 8 commentsAnswered
Hi All,

How can we retrieve/know the File Size of the Journal Attachment before uploading it to the server"?As there is no file size retriction by PeopleSoft so we need to customize it to restrict it to 2 MB PER JOURNAL.
I am aware of AddAttachment function where we can mention the file size but that is for validation. We want to know the file size before uploading the file to server.

I can also use CreateJavaObject class to use the Java.IO.FILE to calculate the size but it thrwing below error

Objects of class java.io.File cannot be serialized. (2,694)

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