PDF placeholder relation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • yberges
    Senior Member
    • Jul 2022
    • 174

    PDF placeholder relation

    hello
    is it possible to display a value in relation in my pdf between entity
    more explain
    i have 3 entitys "user profil", "subscription", "works brand"
    i generate a pdf for user subscription and i need to display some information to user profil and his brand in this subscription
    how i can do this in pdf generation ?
    regards
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1603

    #2
    When you create a PDF, you will have in WYSIWYG mode a drop-down list of all possible placeholders, including those from relationships.

    Though I do not recommend the WYSIWYG mode for creating, you can use the placeholders as well in the code view.

    So you choose the matching placeholder for your purpose and will see the placeholder value in {{ brackets. Beware, that some fields have three brackets, but most placeholders have two brackets. Then you can copy the placeholders into the code view.

    Comment

    • yberges
      Senior Member
      • Jul 2022
      • 174

      #3
      ok i understand more ...
      an idea off feature : add a search in drop down (when we have many field)
      thanks

      Comment

      • shalmaxb
        Senior Member
        • Mar 2015
        • 1603

        #4
        Layout Manager -> Entity -> Search Flter

        Comment

        • esforim
          Active Community Member
          • Jan 2020
          • 2204

          #5
          I think with EspoCRM 7.3 we can 'filter' down Multi-Enum/Enum field, but I don't think this feature was added for PDF Template and Email template yet. Maybe we can join force and request it to be...

          Come join me: https://github.com/espocrm/espocrm/issues/2508

          Comment

          • yberges
            Senior Member
            • Jul 2022
            • 174

            #6
            thanks for return

            Comment

            • esforim
              Active Community Member
              • Jan 2020
              • 2204

              #7
              Friends, I think Yuri gave the *nod* for it:

              https://github.com/espocrm/espocrm/i...ent-1337008367

              https://github.com/espocrm/espocrm/c...f863087057b65d

              Comment

              Working...