1

I am trying to create a Related List with a custom object using the Metadata API. When I make the call I get a Field Integrity Exception saying that the field "Name" does not exist on my object. However, when I go to the object in Setup -> Create -> Object I clearly see Name as one of the standard fields.

  • Are you able to specify name in UI? for example contact object has field name. But it consist of firstname & lastname. Where field name is read only. – Ilya Lepesh Jul 5 '16 at 20:42
  • What do you mean by "specify name in UI"? I can add the field "Name" to the layout for this object if that is what you are referring to. Although it is also read only like the Contact object. Would that prevent me from being able to put that as a field on related list though? – Louis Pujol Jul 5 '16 at 20:44
  • can you try to save NAME in capital – Ilya Lepesh Jul 5 '16 at 21:08
  • Louis, can you share with us some of the code you're using? – Sebastian Kessel Jul 5 '16 at 21:50
  • It the name field type set to autonumber? – Eric Jul 5 '16 at 21:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.