Oracle WebCenter Content (MOSC)

MOSC Banner

exclude expired content from static list

edited Nov 27, 2017 4:00AM in Oracle WebCenter Content (MOSC) 1 commentAnswered

In order to exclude expire content from static list I have taken below approach.

  1. 1) use http://localhost/ecm/idcplg?IdcService=GET_EXPIRED&IsJson=1 and get ExpiredList
  2. 2) Push this list of content in javascript array
  3. 3) Check if static list Index item is in this array and exclude it out of iteration

Above approach is working fine for administrative user whereas for general user it returns following data

{

"LocalData": {

"IdcService": "GET_EXPIRED",

"IsJson": "1",

"StatusCode": "-18",

"StatusMessage": "Unable to retrieve list of expired content. User 'sittest1@company.com' does not have sufficient privileges.",

"StatusMessageKey": "!csUnableToRetrieveExpiredList!csUserInsufficientAccess,sittest1@company.com",

"dUser": "sittest1@company.com

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