Announcement

Collapse
No announcement yet.

Automatically filled fields or automatically Entity

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Automatically filled fields or automatically Entity

    Hello,

    sometimes ESPO fills some fields automatically.

    For example:
    When I added contacts via Account (companys) (see image - Account_Contact.jpg).

    How can I define other automatically prefilled fields or entities?

    For example, if I use the plus in Calls in a lead (see image Lead_Call.jpg). Currently I always have to specify the lead by hand, even though I created the call within the lead.

    (I do not want to create a field with type "external reference" for this purpose, as I may want to adjust the data)

    Best regards

    Nina

    Last edited by Nina; 11-11-2021, 06:44 AM.

  • #2
    For each field you can define default value.

    Entity Manager -> Fields -> default
    Attached Files

    Comment


    • #3
      Hi, very hard to do in Administration. You have to write program code. Read here: https://forum.espocrm.com/forum/deve...to-tech-entity

      Comment


      • #4
        Hooks is method to modify data before or after save.

        When you open create entity form you don't see any values, defined in hook. Only after save.

        Comment


        • #5
          Hello,

          thank you very much for your help. I'm answering a bit late, because I didn't have time until now. :/

          Relations:
          Unfortunately I do not know anything about webhooks.
          I solved it now with a trigger in the database. I modify before and after save - is okay for me

          Filled fields:
          Are you sure this is a default value? I don't have any entry there.
          The fields are only filled for contacts when I try to add someone in the account. Where I prevent this I haven't figured out yet.


          Comment


          • #6
            Hello,

            telecastg have do : https://forum.espocrm.com/forum/deve...2many-to-child

            work like a charm

            Comment


            • #7
              thx <3 nice!!!!

              Comment

              Working...
              X