pdf-template an multiple fields

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ari
    Junior Member
    • Aug 2020
    • 22

    pdf-template an multiple fields

    Hi,
    how can I create a pdf-template which shows all details of selected contact especially for multiple telephone and email?


    And is there a way to customize tables with a frame?

    Thanks Ari


  • Maximus
    Senior Member
    • Nov 2018
    • 2731

    #2
    Hi,

    > how can I create a pdf-template which shows all details of selected contact especially for multiple telephone and email?

    I am not sure that it is supported for email addresses and phone numbers. BTW you can try to investigate the possibility to add a custom helper. Probably it might help to achieve what you need https://docs.espocrm.com/development...-helper/custom

    > And is there a way to customize tables with a frame?

    Check this please https://docs.espocrm.com/user-guide/...to-pdf/#tables.

    Comment

    • esforim
      Active Community Member
      • Jan 2020
      • 2204

      #3
      I don't think it possible at the moment. I tried with these code for Phone and Email:
      Code:
      {{#each emailAddress}}
         {{./this}}
      {{/each}}
      But the code come up empty. You probably have to use the Custom Helper which require coding skill; but from what I read it is quite difficult to achieve due to the design of these two "special" field.

      The #each code work for other relationship field though, such as Accounts; Case; Opportunity; etc.

      Comment

      • Ari
        Junior Member
        • Aug 2020
        • 22

        #4
        Ok, thanks for your help.

        Comment

        Working...