When I add a new contact type like "Ability" as new contact_type then it doesn't receive a name field, making it unaccessible in the standard overview and not selectable in the reference area.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | crm_core_contact-initialize_custom_contact_type-1586366-9.patch | 6.98 KB | rosk0 |
| #4 | pic.jpg | 57.48 KB | entropea |
| #2 | List of available fields | 19.43 KB | martin.heidegger |
Comments
Comment #1
xcf33 commentedWith new contact type you can simply add existing field (name field type) called "contact_name", that will make it consistent with all build in contact types
Comment #2
martin.heidegger commentedThis "existing field" is not available (can not be choosen) when I manage fields
/admin/structure/crm/contact-types/manage//fields
Comment #3
Anonymous (not verified) commentedHi Martin,
I'm very new CRM Core. Would you mind providing detailed steps to reproduce your problem so that I can investigate your issue further.
Best, Paul
Comment #4
entropea commentedHi, this is happening for me, too. I add the Contact Type (Cloning the existing "Organisation" type).
I cannot add the existing field of "contact_name" (which is needed to link the field to be displayed in the view). This field is not shown in the list for some reason.
Could anyone help?
If I add a new field and use the "Name" Widget and Field Type, this is not shown in the CRM Contacts View.
Please see attached screen shots.
Comment #5
entropea commentedPS, if I can help with development, let me know. Just need pointing in the right direction.
Comment #6
entropea commentedCould be related: http://drupal.org/node/1647654
Comment #7
philipz commentedThe
contact_namefield is causing many problems for me. See my summary.Comment #8
dealancer commentedComment #9
rosk0We creating "contact_name" field locked, thats why we cannot attach through web interface. We cannot create it unlocked because it's too important. So the best way to solve this issue is to initialize custom contact types with our default fields. Patch attached.
Comment #10
rosk0Committed.