how do I get curren contacts module record.js for upgrade version 9.0.1 to 9.0.6 ?

[2024-07-09T07:07:03+00:00] INFO  => F: [Issue 110][red][useOfAppViewInvokeParent][562][useOfAppViewInvokeParent] Use of removed Sidecar app.view.invokeParent method in custom/modules/Accounts/clients/base/views/recordlist/recordlist.js


({
    extendsFrom: 'RecordlistView',
    initialize: function (options) {
        //app.view.invokeParent(this, {type: 'view', name: 'recordlist', method: 'initialize', args: [options]});
        this._super('initialize', [options]);
        this.collection.on('data:sync:complete', function () {
            this.getUrlVars();
        }, this);
    },
    getUrlVars: function () {
       
        var vars = [], hash;
        var hashes = window.location.href.slice(window.location.href.indexOf('?') + 1).split('&');
        for(var i = 0; i < hashes.length; i++)
        {
            hash = hashes[i].split('=');
            vars.push(hash[0]);
            vars[hash[0]] = hash[1];
        }
        console.log(vars);
        return vars;
    }
   
});


Please suggest how can I resolved it?
Parents Reply Children
No Data