Siebel Open UI, Tools, Scripting and EAI (MOSC)

MOSC Banner

Applet Custom Method on button click is not invoking PM function

edited May 5, 2020 6:21AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 2 commentsAnswered ✓

Hi All,

I have an issue is calling a custom method define in Applet button click from code in PM file.

I could see the pm is getting loaded in browser console but cod eis not getting executed on button click.

Below is the sample code, Pls review and let me know if anything wrong in the code causing issue.

if (typeof(SiebelAppFacade.TestAppletPM) === "undefined")

{

  SiebelJS.Namespce("SiebelAppFacade.TestAppletPM");

  define("siebel/custom/TestAppletPM",["siebel/pmodel"], function (){

     SiebelAppFacade.TestAppletPM= (function ()

     {

function TestAppletPM(pm)

{

  SiebelAppFacade.TestAppletPM.superclass.constructor.apply(this, arguments);

}

      SiebelJS.Extend(TestAppletPM, SiebelAppFacade.PresentationModel);

     

      TestAppletPM.prototype.Init = function ()

      {

SiebelAppFacade.TestAppletPM.superclass.Init.call(this);

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