Hi,
I want to get work order status on Document tab and want to know the event for Create/Upload Document.
I am using below extensible framework code for document tab but don't know how to get header data in tab and a click event for Create/Upload Document.
Could anyone please help on this.
Ext.define('EAM.custom.external_wsjobs', {
extend: 'EAM.custom.AbstractExtensibleFramework',
getSelectors: function () {
return {
'[extensibleFramework] [tabName=DOC][isTabView=true]':{
beforenewrecord: function() {
console.log('DOC CALLED....');
var vFormPanel = this.getFormPanel();
var var1 = vFormPanel.getFldValue('workorderstatus');
console.log(var1);
}
}
}
}
});