Craig
11/25/2025, 12:54 PMSteve Goldberg
11/25/2025, 1:20 PMcontainer.getLayout().getCurrentView().modelSteve Goldberg
11/25/2025, 1:20 PMSteve Goldberg
11/25/2025, 1:21 PMthis.application is also a substitute for container sometimes. It all depends on the contextCraig
11/25/2025, 1:32 PMCraig
11/25/2025, 2:56 PMCraig
11/25/2025, 3:10 PMmountToApp: function mountToApp(container) {
var layout = container.getLayout().getCurrentView()
console.log(layout);
}Steve Goldberg
11/25/2025, 3:12 PMSteve Goldberg
11/25/2025, 3:13 PMCraig
11/25/2025, 3:18 PMlayout.addChildView('Invoice.PaymentLink', function () {Steve Goldberg
11/25/2025, 3:24 PMCraig
11/25/2025, 3:26 PMmountToApp: function mountToApp(container) {
var layout = container.getComponent('Layout');
console.log('PaymentLinkOverride: layout', layout);
layout.addChildView('Invoice.PaymentLink', function () {
console.log('this', this);
var model = this && this.model;
console.log('model', model);Steve Goldberg
11/25/2025, 3:36 PMcontainerCraig
11/25/2025, 3:51 PMreturn {
mountToApp: function mountToApp(container) {
var layout = container.getComponent('Layout');
console.log('PaymentLinkOverride: layout', layout);
layout.addChildView('Invoice.PaymentLink', function () {
return new LinkView({
container: container
});
});
}
}Craig
11/25/2025, 3:51 PMinitialize: function initialize(options) {
var self = this;
console.log('this', this);
console.log('options', options);Craig
11/25/2025, 3:51 PMthis has the data I am looking for.Craig
11/25/2025, 4:29 PMthis.placeholderData is not available even though I can see it in the chrome console
I really didn't want to have to scrape this ID out of the URL.