<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarai.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>display fields from related record on Email Template</title><link>https://sugarclub.sugarai.com/dev-club/f/questions-answers/1125/display-fields-from-related-record-on-email-template</link><description>Hi, I&amp;#39;m wondering if this is possible in Sugar? I came from SFDC and had used this function for a lot of my email templates during my SFDC days. Going into Sugar, I wanted to know if it&amp;#39;s possible to display fields from related records on email template</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: display fields from related record on Email Template</title><link>https://sugarclub.sugarai.com/thread/16069?ContentTypeID=1</link><pubDate>Mon, 05 Mar 2018 22:01:39 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:11d7db90-9cdb-45d3-ba9e-98881e42b4ab</guid><dc:creator>Niegel Leoncio</dc:creator><description>&lt;p&gt;awesome thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: display fields from related record on Email Template</title><link>https://sugarclub.sugarai.com/thread/16068?ContentTypeID=1</link><pubDate>Mon, 05 Mar 2018 21:58:00 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:1e3aae8b-32b6-49d5-a1b3-2fb33d1cd0d0</guid><dc:creator>Patrick McQueen</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://sugarclub.sugarcrm.com/members/niegel"&gt;Niegel Leoncio&lt;/a&gt;,&lt;/p&gt;&lt;p&gt;That is consistent with my experience. Yes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: display fields from related record on Email Template</title><link>https://sugarclub.sugarai.com/thread/16067?ContentTypeID=1</link><pubDate>Mon, 05 Mar 2018 21:54:40 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:4519836f-3d21-452f-a31b-4510457485ca</guid><dc:creator>Niegel Leoncio</dc:creator><description>&lt;p&gt;Thanks for the detailed instruction here.&lt;/p&gt;&lt;p&gt;So does this mean from looking at this&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000000;background-color:#f6f6f6;"&gt;{::future::ja_jobApplication::contacts_ja_jobapplication_1::first_name::}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000000;background-color:#f6f6f6;"&gt;that the format I&amp;#39;m looking to use is&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000000;background-color:#f6f6f6;"&gt;&lt;span&gt;{::future::&amp;lt;Primary Module&amp;gt;::&amp;lt;Custom Relationship Module Name&amp;gt;::&amp;lt;field name&amp;gt;::}&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000000;background-color:#f6f6f6;"&gt;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="color:#000000;background-color:#f6f6f6;"&gt;&lt;span&gt;Niegel&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: display fields from related record on Email Template</title><link>https://sugarclub.sugarai.com/thread/16066?ContentTypeID=1</link><pubDate>Fri, 02 Mar 2018 20:22:38 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:56628bf2-fa04-4204-bbc7-4068f484d7bd</guid><dc:creator>Patrick McQueen</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://sugarclub.sugarcrm.com/members/niegel"&gt;Niegel Leoncio&lt;/a&gt;,&lt;/p&gt;&lt;p&gt;The exact syntax will be specific to your module names and relationship names.&lt;/p&gt;&lt;p&gt;&lt;strong&gt;In a stock instance, 7.11.0.0 Enterprise, I did the following:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;1. Navigate to Module Builder&lt;/p&gt;&lt;p&gt;2. Create and deploy a custom module named ja_jobApplication (Applications)&lt;/p&gt;&lt;p&gt;3. Create one new Application record with a Contact named Gill Hicks related in the Contacts field.&lt;/p&gt;&lt;p&gt;4. Navigate to Studio &amp;gt; Contacts &amp;gt;Relationships&lt;/p&gt;&lt;p&gt;5. Create and deploy a custom 1-to-many relationship between Contacts and Applications&lt;/p&gt;&lt;p&gt;contacts &amp;lt; 1-to-many &amp;gt;&amp;nbsp;&lt;span&gt;ja_jobApplication&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;6. Navigate to Workflow Management&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;7. Create a new template in the&amp;nbsp;Applications module&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;8. Add this variable in the body of the template: &lt;/span&gt;&lt;/p&gt;&lt;blockquote class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;span&gt;{::future::ja_jobApplication::contacts_ja_jobapplication_1::first_name::}&lt;/span&gt;&lt;/blockquote&gt;&lt;p&gt;&lt;span&gt;9. Create a new legacy workflow that sends this alert to a monitored inbox&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;10. Navigate to the record in step 3 above and trigger the workflow&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;The email arrives with the name &amp;quot;Gill&amp;quot; where the variable had been in the template.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;I hope this is helpful.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: display fields from related record on Email Template</title><link>https://sugarclub.sugarai.com/thread/16065?ContentTypeID=1</link><pubDate>Fri, 02 Mar 2018 19:22:47 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:eac16584-556a-40c3-9f79-bb30e5bb023d</guid><dc:creator>Niegel Leoncio</dc:creator><description>&lt;p&gt;Patrick,&lt;/p&gt;&lt;p&gt;This template is a legacy workflow template since I needed to use related contact field&amp;#39;s email to make as a recipient of the alert. I know a work around is by creating a new field and doing a related field value. However, If I need multiple field values referenced from that related module. It would be nice to have it available in the code level and not create multiple fields.&lt;/p&gt;&lt;p&gt;Niegel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: display fields from related record on Email Template</title><link>https://sugarclub.sugarai.com/thread/16064?ContentTypeID=1</link><pubDate>Fri, 02 Mar 2018 17:24:14 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:c2d793be-2f90-42dd-92d5-eedf513d5224</guid><dc:creator>Patrick McQueen</dc:creator><description>&lt;p&gt;Hi &lt;a href="https://sugarclub.sugarcrm.com/members/niegel"&gt;Niegel Leoncio&lt;/a&gt;,&lt;/p&gt;&lt;p&gt;When discussing templates in Sugar, it is important to distinguish between email templates, worklfow templates, process templates, and campaign templates. Each of these templates have different use cases and subtly different capabilities.&lt;/p&gt;&lt;p&gt;In an &lt;strong&gt;email template&lt;/strong&gt;, which would be &lt;strong&gt;used&amp;nbsp;when sending an email manually&lt;/strong&gt;, the Contact first name variable can be entered using the buttons in the user interface. The variable is:&amp;nbsp;$contact_first_name&lt;/p&gt;&lt;p&gt;In your question, you mention a Job_Application module. How is the link to the Job_Application module relevant to your email? Is the email being manually sent to the email address in the Job_Application module? Or, is the template you have in mind for a workflow or advanced workflow automation?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>