Try to use - this.getView().byId("elementid");And place a debugger at the point before where you get the error and try to get the ID in console with the debugger on.
You can change the title of the Application by changing the i18n.properties file, where you need to change the appTitle=PageName, the PageName will be shown as the title in the tab.In the below screenshot, the appTitle is named as Employee Informatio...
var sObjNum = this.getView().getModel("i18n").getResourceBundle();sObjNum.getText("objNumber");This code can be used in the formatter.js file to get the i18n text.