Unable to move filed from Hidden to Default/Available in list View

Hi All,

I have custome module created name Purchase Order, In there module there is custome field created for auto increment as Invoice Number.

The field is woking perfectly fine but when it comes to list view, I go to Studio>MyCustomModule>Layouts>ListView.

When i move MyCustomField from hidden to Defualt/Avaiable as soon as I press save & Deploy the page refreshes and it moves MyCustomField back to Hidden.

I’ve tried to do this through couple of other broweres and also I’ve run Repair and Rebuilt several times but no luck!

Can anybody please help.

Thank you in advance.

Can you please open the “List View” file and modify it to show that auto increment field there from back-end.
May be there is some studio issue.
Can you please also mention how have you created that auto increment field??


Hi There,

Thanks for your reply.

To do this, don’t add the field via Studio, add a new file in custom/Extension/modules/yourmodule/Ext/Vardefs e.g. autoincrement.php with the following :

$dictionary['YOUR_MODULE']['fields']['NAME_OF_AUTO_INC_FIELD'] = array(
'type' => 'int',
'readonly' => true,
'len' => 11,
'auto_increment' => true,
'disable_num_format' => true,

and also add unique index for the field in that file

$dictionary['YOUR_MODULE']['indices']['NAME_FOR_INDEX'] = array(
'name' => 'NAME_FOR_INDEX',
'type' => 'unique',
'fields' => array('NAME_OF_AUTO_INC_FIELD'),

Run a Quick Rebuild and Repair in Admin -> Repair and execute the changes.


Can you please add this field into list view from


  array (
    'width' => '10%',
    'label' => 'LBL_LABEL_OF_AUTO_INC_FIELD',
    'default' => false,


1 Like

I also have this problem, its impossible to solve. i can’t seem to move my custom variable to show on list view, its always hidden and if i move it to show and save it will work but after clicking the next page its back to being hidden. This is part of working with SuiteCRM i guess.