Oracle WebCenter Content (MOSC)

MOSC Banner

Event triggering in Capture 12c

edited Apr 30, 2020 5:05AM in Oracle WebCenter Content (MOSC) 4 commentsAnswered

Hi All,

I want to display a popup whenever i press  F5 from my keyboard  in capture client. I've the below script which is deployed in capture, seems it's not getting triggered. How i can check the logs whether which part of this script is causing problem? I'v enabled console log, but it's not appearing neither in server log nor in console log. Can anyone let me know where i'm doing it wrong?

load('nashorn:mozilla_compat.js');

importClass(java.awt.event.KeyEvent);

importClass(javax.swing.JOptionPane);

importClass(java.lang.System);

importClass(javax.script.ScriptException);

importClass(java.lang.Class);

print("Before FieldProcessKey");

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