How do I remove the Type column from the PersonList?

1 minute read time.
The personlist list block is defined under the Admin>Customization>person>lists area but the column for the type is added by the dll. The column draws its information from the translations (custom_captions) that control the different 'types' of person contact.

The default person types are all members of the captionfamily 'Link_CompPers'.

Admin
Finance
Operations
Sales
Support

These can be (soft) deleted from the system quite happily. For example you could run this code in SQL and then refresh the meta data:

update custom_captions
set capt_deleted = 1
where capt_family = 'link_comppers'

The title of the area that contains the check boxes in the person screen (when the personboxlong is in edit mode) is

capt_code = Type
capt_family = GenCaptions

We can visually remove the caption by adding a translation for the users language, like US or UK English using a bit of not visual HTML. So add a translation like this:

capt_code = Type
capt_family = GenCaptions
capt_us =
 
;
capt_uk =
 
;

and as far as any user is concerned you have removed the Type and the Options from the screen.

The more difficult bit is to physically remove the column from the list. This could only be done by rebuilding this page using ASP. It maybe that you customer is happy just to have a blank column then you could do the same trick as before.

The title of the column in the list is provided by the translation entry

capt_code = peli_type
capt_family = colnames

so make sure the

capt_us =
 
;
capt_uk =
 
;

are added and the column title disappears.
Parents
  • You can put a script in the custom content that remove the column from the table. I did have some code around a while ago that worked. Also, when a customer doesn't need the type field you can remove all the translations which does remove the checkboxes off the person edit screen but the "Type" title still stays there. It is rather infuriating as I have to write a script to read the page to remove a field containing the word Type. It's similar to the Regarding field that is added to lists regardless of whether you need it. When will CRM give you complete control over what fields are visible? Are there any internal requirements for having these fields/columns visible?

Comment
  • You can put a script in the custom content that remove the column from the table. I did have some code around a while ago that worked. Also, when a customer doesn't need the type field you can remove all the translations which does remove the checkboxes off the person edit screen but the "Type" title still stays there. It is rather infuriating as I have to write a script to read the page to remove a field containing the word Type. It's similar to the Regarding field that is added to lists regardless of whether you need it. When will CRM give you complete control over what fields are visible? Are there any internal requirements for having these fields/columns visible?

Children
No Data