Aman Kumar S
Kilo Patron

Hi @Bhoomika M ,
You just need to declare the function as in the SNC script include and add your logic, it will automatically override the SNC script include. Lets say you want to override fetchQuicklinksForTopic function, it will be as follows, no other changes needed.

var QuickLinkUtil = Class.create();
QuickLinkUtil.prototype = Object.extendsObject(QuickLinkUtilSNC, {
    initialize: function() {
  QuickLinkUtilSNC.prototype.initialize.apply(this, arguments);
    },
fetchQuicklinksForTopic: function (topicId) {
//your new logic
},
    type: 'QuickLinkUtil'
});
Best Regards
Aman Kumar