How to make default field name and description as Read only. Anyone can help me?
Hi,
You can make it so users can’t edit certain fields by going to : /custom/modules//metadata/editviewdefs.php
If this location doesn’t exist, then feel free to create it. (The easiest way would be to make an editview customization via studio)
In this file, add ‘type’=>‘readonly’, to the definitions of the file you want to make readonly.
i.e:
array (
'name' => 'name',
'label' => 'LBL_NAME',
'displayParams' =>
array (
'required' => true,
),
),
Would become:
array (
'name' => 'name',
'type'=> 'readonly',
'label' => 'LBL_NAME',
'displayParams' =>
array (
'required' => true,
),
),
You can do the same for the description field.
Afterwards, run a Quick Repair & Rebuild and clear your Browser’s cache to view changes.