You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Getting JavaScript error in logic.js file of customized ChatAttachFileButton widget

Received Response
edited Jul 17, 2018 2:49PM in Customer Portal 2 comments


I would like to extend  the functionality of ChatAttachFileButton widget.I need to override the view file of the custom widget.
When I used the standard logic.js file code in custom widget's logic file, I am getting the following error message  "The following widget JavaScript either has a syntax error or its class name is not correct . Please see the code snippet for your reference.


Oracle Service Cloud 18A (Build 260, CP 322) SP4, Customer Portal 3.7

Code Snippet

             RightNow.namespace(''); = RightNow.Widgets.FileAttachmentUpload.extend({
    overrides: {
        constructor: function() {
            this._container =;
            this._dialog = null;
            this._keyListener = null;
            this._positionDuringUpload =;

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!