Portals (MOSC)

MOSC Banner

customize error message returned from content manager file upload

edited May 17, 2019 12:51AM in Portals (MOSC) 3 commentsAnswered

In WCP we have content manager taskflow in the page.

we also apply a rule to restrict user only allow certain file format can be uploaded.

When user try to upload not-allowed file, we have the following error message displayed in Portal UI:

Errors occurred while attempting to upload the document.

Error        Error executing WebCenter Content service 'CHECKIN_NEW': The content item was not successfully checked in. csDpSideEffects(FileUploadTypes) Error evaluating server script expression. Only Word, Excel, PowerPoint, PDF, CSV and TXT documents are allowed to upload to Documents Repository. (status code: -1, message key: !csUnableToCheckInContentItem!csDpSideEffects,FileUploadTypes!csDynHTMLServerScriptEvalError!$ Only Word, Excel, PowerPoint, PDF, CSV and TXT documents are allowed to upload to Documents Repository.)

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