Oracle WebCenter Content (MOSC)

MOSC Banner

How to delete barcode page from a batch?

edited Jul 13, 2017 11:42AM in Oracle WebCenter Content (MOSC) 3 commentsAnswered ✓

Hi ,

We are using Oracle webcentre Capture Version: 12.2.1.0.0 .

In that we have a requirement to delete the barcode page if it's the first page of that document.

For Previous version we had a script which was doing the same but that was in VB macro but in this version we need to write Javascript.

I have tried few options but those are not working .

For Example -

unction barcodesFoundOnItem (rpc) {

  logger.info("\n barcodesFoundOnItem()  .. Logger started");

    // Obtain all bar codes read for this batch item.

    var allBarcodes = rpc.getBarcodesRead();

   // var document = rpc.getDocumentEntity();

   // logger.info("\n barcodesFoundOnItem() , document = "+document);

    var batchItem = rpc.getBatchItem();

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