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

MOSC Banner

Unable To Get Property 'GetControls' Of Undefined Or Null Reference" from pmodel.js

edited Nov 30, 2018 12:22AM in Siebel Open UI, Tools, Scripting and EAI (MOSC) 1 commentAnswered

Whenever user gets a warning message to click a button and when user click that button , error occurs in pmodel.js.

In debug window it is observed that "Unable To Get Property 'GetControls' Of Undefined Or Null Reference" is thrown in pmodel.js

Please help to find the cause of this error .

Note : The applet where button is placed has an custom pr file (TestFormAppletPR)

if (typeof(SiebelAppFacade.TestFormAppletPR) === "undefined") {

    SiebelJS.Namespace("SiebelAppFacade.TestFormAppletPR");

    define("siebel/custom/TestFormAppletPR", ["siebel/phyrenderer"], function() {

        SiebelAppFacade.TestFormAppletPR = (function() {

            function TestFormAppletPR(pm) {

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

            }

            SiebelJS.Extend(TestFormAppletPR, SiebelAppFacade.PhysicalRenderer);

            TestFormAppletPR.prototype.ShowUI = function() {

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