Hi,
I have a "workordertype" field in the Record view of WSJOBS screen. I have another tab for this screen, and I want to be able to access this "workordertype" field's value in this tab. How can I do so in extensibility framework??
The value of the "workordertype" field can be obtained by using the "getFldValue" method. The example code below will trigger an alert dialog with the work order type code when navigating to the Work Orders | Closing tab.Example Extensible Framework Code:
Ext.define('EAM.custom.external_wsjobs', { extend: 'EAM.custom.AbstractExtensibleFramework', getSelectors: function () { return { '[extensibleFramework] [tabName=CLO][isTabView=true]': { afterrender: function () { var vFormPanel = this.getFormPanel(), vWOTypeCode = vFormPanel.getFldValue('workordertype'); alert('Work Order Type Code = ' + vWOTypeCode); } } } }});