Trouble using custom widget extended from a standard widget
Content
Hi,
When I try to use my custom widget MyEmailCredentials which extends from EmailCredentials, I get a Javascript error which says that RightNow.Widgets.EmailCredentials does not exist so the code in logic.js cannot be defined and run.
It's almost as if I need to have the parent widget on the page before I can use my custom one but I don't want this.
Others have had this issue in the past on the forums here but their issues were never resolved.
Many thanks,
Mitch
Version
Oracle Service Cloud 17D (Build 267 SP 4, CP 103) / Framework Version 3.7Code Snippet
RightNow.namespace('Custom.Widgets.login.MyEmailCredentials'); Custom.Widgets.login.MyEmailCredentials = RightNow.Widgets.EmailCredentials.extend({ /** * Place all properties that intend to * override those of the same name in * the parent inside `overrides`. */ overrides: { /** * Overrides RightNow.Widgets.EmailCredentials#constructor. */ constructor: function()
1