I'm struggling with what I'm sure is very very simple indeed!!
My final goal is to Append a table with some data in it at the bottom of the Accounts record view.
Upon reading this article "what you need can be accomplished using a single file".
http://developer.sugarcrm.com/2014/02/10/extending-sugar-7-record-view/
I have the following code, but am not seeing anything in the console logs in Chrome.
This file is in custom/modules/Accounts/clients/base/views/record/record.js
Yes - I have done a repair and rebuild!!
Can someone tell me where I've gone wrong!?
Thanks Loads,
Jon
Sugar version: 7.2.1 Ultimate
My final goal is to Append a table with some data in it at the bottom of the Accounts record view.
Upon reading this article "what you need can be accomplished using a single file".
http://developer.sugarcrm.com/2014/02/10/extending-sugar-7-record-view/
I have the following code, but am not seeing anything in the console logs in Chrome.
({ extendsFrom: 'RecordView',
/**
* Some extra functionality
*/
initialize: function (options) {
console.log('hi jon');
this._super('initialize', [options]);
},
_dispose: function() {
//additional stuff before calling the core create _dispose goes here
this._super('_dispose');
}
})
This file is in custom/modules/Accounts/clients/base/views/record/record.js
Yes - I have done a repair and rebuild!!
Can someone tell me where I've gone wrong!?
Thanks Loads,
Jon
Sugar version: 7.2.1 Ultimate
Try clearing your browser cache, opening a new private/incognito window, or checking the "Disable Cache (while DevTools is open)" setting in your Chrome Dev Tools. You can find the settings by clicking the gear icon.