Question

BNY Mellon
IN
Last activity: 7 Feb 2017 17:15 EST
Redesigning the pega5.5 portal to pega7 case worker portal
Hi,
I am in a process of redesigning the pega5.5 portal to pega7 case worker portal.
I am planning to use a gadget that is used in 5.5 as a section in Pega7(copied the gadget HTML code to HTML tab in Section)
When executing I am getting the below error
Error: Object doesn't support property or method 'isDeveloperDesktop' from the js file: gadgetscript.js
code block from js
var app= getDesktopApplication();
var inDevDesktop= false;
if (app) {
inDevDesktop= app.getUserSessionInfo().isDeveloperDesktop();
}
Please let me know is there any fix for this issue.
***Updated by moderator: Lochan to add Categories***