Hi All,
I want to group two custom fields same like date created field and that new field (grouped field) should be visible in all the roles layouts for record view layout setup from Studio.
Hi All,
I want to group two custom fields same like date created field and that new field (grouped field) should be visible in all the roles layouts for record view layout setup from Studio.
You'll need to wrap the fields in a fieldset in the view's PHP file.
Example:
array ( 'name' => 'date_entered_by', 'readonly' => true, 'inline' => true, 'type' => 'fieldset', 'label' => 'LBL_DATE_ENTERED', 'fields' => array ( 0 => array ( 'name' => 'date_entered', ), 1 => array ( 'type' => 'label', 'default_value' => 'LBL_BY', ), 2 => array ( 'name' => 'created_by_name', ), ), ),
You'll need to wrap the fields in a fieldset in the view's PHP file.
Example:
array ( 'name' => 'date_entered_by', 'readonly' => true, 'inline' => true, 'type' => 'fieldset', 'label' => 'LBL_DATE_ENTERED', 'fields' => array ( 0 => array ( 'name' => 'date_entered', ), 1 => array ( 'type' => 'label', 'default_value' => 'LBL_BY', ), 2 => array ( 'name' => 'created_by_name', ), ), ),
Hi Jeff Bickart,
I can do it this way. but I am looking for another approach because my instance is Ondemand. So I need to edit all the roles record.php files to achieve this right?. But I want this grouped field should be visible for all the roles in studio/layout instead of editing all the record.php files. I want same like Date Modified, Date Created and Address group fields.
Thanks & Regards,
Sundar