Announcement

Collapse
No announcement yet.

lead name as the default call name when scheduling

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

  • lead name as the default call name when scheduling

    hi

    is it possible to set the lead name as the call name by default.. currently when scheduling a call i have to enter a name, but i want to automatically fill the lead name as the call name field..

    is it possible to do?

  • #2
    Hello,
    The easiest way is to set Formula for the Call:
    Code:
    ifThen(
        entity\isNew() && parentType == 'Lead',
        name = parentName
    );
    This formula works only for a new Call. Also, check whether the Call's name field is not required, so it can be left blank upon creation.

    Comment


    • #3
      Hi

      Even though i add that code, the name field doesn't automatically fill in

      Comment


      • #4
        Please notice that this formula will be executed only if you creating a new Call record and the Call parent filed will be assigned to some Lead.

        Comment


        • #5
          yep.. even when i try to create a new call, on the call list the name goes as NONE does save the lead name

          Comment


          • #6
            maybe the parentName value is incorrect?

            Comment


            • #7
              Hello,
              without screenshoot is hard to find.
              i think what you will can be done by : dynamic-handler


              search post by telecastg .. he have give solution for me

              Comment


              • #8
                > maybe the parentName value is incorrect?

                I doubt. This is the standard field.
                Did you select a Lead before press the Save button?


                Comment


                • #9
                  Originally posted by Maximus View Post
                  > maybe the parentName value is incorrect?

                  I doubt. This is the standard field.
                  Did you select a Lead before press the Save button?

                  yes.. lead is selected by default.. Its very odd

                  Comment


                  • #10
                    Please check this screenshot

                    Comment


                    • #11
                      So do you expect that the `name` field will be automatically filled on the view you provided on the screenshot?
                      The formula will change the `name` field value right after you fire the Save button.
                      If you want to see this change live on the view you provided, you need to develop your own custom view or try to achieve this with the dynamic-handler like item suggested above https://docs.espocrm.com/development/dynamic-handler/.

                      Comment

                      Working...
                      X