Bryce
11/16/2020, 6:48 PM_.extend(HomeView.prototype, {
childViews: {
'MyCustomView': function () {
return new MyCustomView({
application: this.options.application
});
}
}
});
However now the site won't load with the extension doing this. So I've been trying to do this with the extensibility api but I can't find the right way to do this in the documentation. For other extensions on the PDP its pretty clear and I can get it to work no issues using
var pdp = container.getComponent('PDP');
pdp.addChildView(
I thought possibly I would do this with the Layout
component and layout.registerView
but that doesn't seem to work for me either I just get a blank homepage.
The only error I get in the console is
DevTools failed to load SourceMap: Could not load content for <https://mydomain.com/scs/cms.js.map>
which seems to be there whenever I try to run locally even when I'm not including this homepage extension.suiteExperimenter
11/16/2020, 8:10 PMsuiteExperimenter
11/16/2020, 8:11 PMSteve Goldberg
11/17/2020, 2:24 PMFlo Meilan
11/17/2020, 7:46 PMFlo Meilan
11/17/2020, 7:46 PMKearobi
11/19/2020, 2:19 PMSteve Goldberg
11/19/2020, 3:42 PMSteve Goldberg
11/19/2020, 3:43 PMSteve Goldberg
11/19/2020, 3:43 PMBryce
11/20/2020, 4:21 PMevents: {
'click id="mlu-find"': 'searchItems'
that was missing the `[ ]`around the id= part