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.

Comments

xcf33’s picture

With 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

martin.heidegger’s picture

StatusFileSize
new19.43 KB

This "existing field" is not available (can not be choosen) when I manage fields

/admin/structure/crm/contact-types/manage//fields

Anonymous’s picture

Hi 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

entropea’s picture

StatusFileSize
new57.48 KB

Hi, 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.

entropea’s picture

PS, if I can help with development, let me know. Just need pointing in the right direction.

entropea’s picture

Component: Miscellaneous » Code
philipz’s picture

The contact_name field is causing many problems for me. See my summary.

dealancer’s picture

Priority: Normal » Major
rosk0’s picture

Status: Active » Needs review
StatusFileSize
new6.98 KB

We 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.

rosk0’s picture

Status: Needs review » Closed (fixed)

Committed.

  • Commit 864f1e5 on 7.x-1.x, development, import by RoSk0:
    Issue #1586366 by RoSk0: Initialize custom contact type with...

  • Commit 864f1e5 on 7.x-1.x, development, import, activity_pages by RoSk0:
    Issue #1586366 by RoSk0: Initialize custom contact type with...