/** * Function that returns related list header fields that will be showed in the Related List View * @return <Array> returns related fields list. */ public function getRelatedListFields() { $relatedListFields = parent::getRelatedListFields(); //Adding filestatus, filelocationtype in the related list to be used for file download $relatedListFields['filestatus'] = 'filestatus'; $relatedListFields['filelocationtype'] = 'filelocationtype'; return $relatedListFields; }