write the custom view file espocrm