We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

AetCatalogTaskHelper Undefined,May be missing global qualifier

ankitapatnaik
Tera Contributor

Hi,

 

I have a scriptinclude AetCatalogTaskHelper, one of my catalog item has referenced to this script include in Global scope,But catalog item is in another scope. Below is the code for script include:
var AetCatalogTaskHelper = class.create();

AetCatalogTaskHelper.prototype = {

initialize : function() {

},

getClosedCanceledText  :function() { ;

 

var cancelText = '';

cancelText = ".........set the info message";

return cancelText ;

}

type: 'AetCatalogTaskHelper'

};

Please suggest me the solution for this error

5 REPLIES 5

What does your reference qualifier or script where this is called look like?  Are you using Service Portal or the native UI?