Link-field problem. Field is created on the wrong entity when setting up link

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • singlishman
    Junior Member
    • Aug 2025
    • 1

    #1

    Link-field problem. Field is created on the wrong entity when setting up link

    Hi, I am facing a problem.
    I have two entities, Student and Parent.
    When I create a link from Student to Parent as Many-to-one relationship.
    on the student side, I input field name "parentName" and Parent side, I input "studentName". After the link is establish. the field studentName is created in Student entity rather than parentName which I expected.
    I have been working with AI tool for many days and exhausted without a solution. Does someone see this same problem?
    espo version: 9.1.8
    Installed on docker environment
  • emillod
    Active Community Member
    • Apr 2017
    • 1468

    #2
    It seems that you enter field names in wrong order
    Click image for larger version

Name:	image.png
Views:	14
Size:	31.2 KB
ID:	120398
    1. Specify with which entity you want to create relation
    2. Define type of relation
    3. accounts1 will be relation in contacts, but it'll not be a field if you not check a checkbox
    4. contact will be a field in account entity and it'll allow to set contact

    It's not the best interface, but you can do it

    Comment


    • singlishman
      singlishman commented
      Editing a comment
      Hi emillod,

      Thank you very much for your quick reply to my query, I was completely mislead by the two AI tools of the link relationship concept. Seems like AI at this moment are not really that "i" yet. I am vaive to think that AI could help me to setup the complete database without me reading the documentation.

      After go through the documentaton and the tutorial video. I understand what you said.

      Thank you very much
  • yuri
    EspoCRM product developer
    • Mar 2014
    • 9251

    #3
    Please don't hurry to create bug reports The system is used by many for years. It's unlikely there are such bugs there. It's debilitating receiving false positive bug reports constantly.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment


    • singlishman
      singlishman commented
      Editing a comment
      My sincere appoloy. I believed the wrong intelligents
Working...