Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
4879 Vizualizări

Hi Community,

I need to show breadcrumbs While Navigating From Js Page to Another Js Page.

It's working Fine from Client to Window action and Window to Window Action but From Client to Client Not Working Properly,

Need to Show Breadcrumb like following image  from Client to Client Action Image Link

Imagine profil
Abandonează
Autor Cel mai bun răspuns

Hi Everyone,

It's done by using following code.

var ControlPanelMixin = require('web.ControlPanelMixin');
var AnalyticsChart = Widget.extend(ControlPanelMixin, {
init: function (parent, action, options) {
this._super.apply(this, arguments);
this.action_manager = parent;
var options = action.params || {};
this.params = options;
action.display_name = _t('Analytics Report');
},

start: function(){
var self = this;
var status = {
breadcrumbs: self.action_manager.get_breadcrumbs(),
cp_content: {$buttons: self.$buttons},
};
self.update_control_panel(status);
},
});

Thanks.

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
aug. 24
789
2
iul. 24
15712
2
sept. 23
8556
1
apr. 20
10294
1
apr. 20
4858