Does Email/Print pull email from People Picker?

Home Forums Classic DFFS Does Email/Print pull email from People Picker?

Viewing 2 reply threads
  • Author
    Posts
    • #34901
      Jonathan Stamper
      Participant

        I built a function to grab specific people picker fields and generate their emails in a variable that I then call via {var:myEmailVar}. It works but there are some users where it will not generate the email (maybe something with either their browser, network config or domain settings)…actually may be part of the doc lib folder rename issue I mentioned earlier in the vLookup thread.

        In my debugging it looks like dffs already does an email scrape from people picker fields. I wanted to confirm and if so I would assume that would be a better approach to my current function.

      • #34907
        Alexander Bautz
        Keymaster

          Hi,
          Yes, in an email template DFFS will pull the email from the user(s) if you add the internal name of the people picker in the To or Cc field like this:

          {name_of_field}

          Alexander

        • #34916
          Jonathan Stamper
          Participant

            Yeah, I just tested it and it worked very well. I ended up setting multiple {internalFieldName} parts, separated by comma, in the to and cc and it’s working well. Looks like I get to clean up my code a little ha-ha.

            Thank you so much! As always! Pizza on me ha-ha!

            • #34918
              Alexander Bautz
              Keymaster

                I’m glad it worked out.

                Have a great weekend,
                Alexander

          Viewing 2 reply threads
          • You must be logged in to reply to this topic.