Hi Team,
Im trying to show all the fields specially the Notes in the Activity Preview Page. I have the same code in other entity working but in Activities seams not to be working.
The function is triggered but no others fields are showing. Something have any idea why?
Thanks,
/* globals Activity: false */
Terrasoft.LastLoadedPageData = {
controllerName: "ActivityPreviewPage.Controller",
viewXType: "activitypreviewpageview"
};
Ext.define("ActivityPreviewPage.View", {
extend: "Terrasoft.view.BasePreviewPage",
xtype: "activitypreviewpageview",
config: {
id: "ActivityPreviewPage"
}
});
Ext.define("ActivityPreviewPage.Controller", {
extend: "Terrasoft.controller.BasePreviewPage",
statics: {
Model: Activity
},
config: {
refs: {
view: "#ActivityPreviewPage"
}
},
/**
* @inheritdoc
* @protected
* @overridden
*/
doChangeField: function(field, newValue, executeRulesCallback) {
this.callParent(arguments);
field.show();
}
});