Skip to main content
Nintex Community Menu Bar
Question

EmailToSalesforce template code issue

  • July 9, 2024
  • 4 replies
  • 12 views

Forum|alt.badge.img+3

I’m having a bit of an issue with the EmailToSf functionality.

The main model is title pbaListing and the email address that I’d like to link to is under PropertyOwner model.

Here’s the code:
{{$PropertyOwner.Email.data}}{{#Email}} [<a href="https://mail.google.com/mail/?view=cm&fs=1&tf=1&to={{{Email}}}&bcc=emailtosalesforce…; target=“ComposeGmail”> Gmail]{{/Email}

This topic has been closed for replies.

4 replies

Forum|alt.badge.img+9

Maybe try changing the URL to this:

https://mail.google.com/mail/?view=cm&fs=1&tf=1&to={{{Email}}}&bcc=emailtosalesforce…;

I’m also not sure if you can use this syntax with $Model variables:

{{#$Model.EmailtoSF.data.length}}
{{$Model.EmailtoSF.data.0.EmailDomainName}}
{{/$Model.EmailtoSF.data.length}}

Maybe try and see if it works without the data check like this:

https://mail.google.com/mail/?view=cm&fs=1&tf=1&to={{{Email}}}&bcc=emailtosalesforce…;


Forum|alt.badge.img+17
  • Nintex Employee
  • July 9, 2024

A few things. 

I"m not sure what the first merge field is doing:  {{$PropertyOwner.Email.data}}  
And then in the BCC email code you have this:   {{#$Model.EmailtoSF.data}}{{$Model.EmailtoSF.data.0.EmailDomainName}}{{/$Model.EmailtoSF.data}}  I believe it should just be {{#$Model.EmailtoSF.data}}{{EmailDomainName}}{{/$Model.EmailtoSF.data}}

Finally - make sure you have the correct models in your page. 

Follow this tutorial: http://help.skuidify.com/m/supercharge-your-ui/l/102526-including-gmail-to-salesforce-functionality-…


Forum|alt.badge.img+3

Thanks guys. I’ve got it working. 


Forum|alt.badge.img+17
  • Nintex Employee
  • July 9, 2024

Glad to hear you got it working.  Its pretty slick!