<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarcrm.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>emails subpanel  not showing in opportunity record view</title><link>https://sugarclub.sugarcrm.com/dev-club/f/questions-answers/6619/emails-subpanel-not-showing-in-opportunity-record-view</link><description>Hi All, 
 
 I want to display email subpanel on opportunity record view/detail view , but its not showing for opportunity, but shows for Leads module. 
 Subpanel not available in Studio -&amp;gt; opportunity -&amp;gt; subpanels. 
 I have enabled Emails module for Navigation</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: emails subpanel  not showing in opportunity record view</title><link>https://sugarclub.sugarcrm.com/thread/29475?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2023 08:22:13 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:502a420f-fb8b-4225-8a7a-2a2e4b9fe219</guid><dc:creator>Juane Puig</dc:creator><description>&lt;p&gt;Lucky you, &lt;a href="/members/shreyadalvi329398"&gt;shreya dalvi&lt;/a&gt;!&lt;br /&gt;I tried this in my v12 instance but didn&amp;#39;t work. I would have like it running but is not a requirement from my users.&lt;/p&gt;
&lt;p&gt;Thanks for sharing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: emails subpanel  not showing in opportunity record view</title><link>https://sugarclub.sugarcrm.com/thread/29474?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2023 08:18:58 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:abf908a5-0712-463b-9549-03905f3162ea</guid><dc:creator>Juane Puig</dc:creator><description>&lt;p&gt;I tried this in a Opportunities&amp;#39; vardef to to check my theory, but no luck at all&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="php"&gt;$dictionary[&amp;#39;Opportunity&amp;#39;][&amp;#39;fields&amp;#39;][&amp;#39;emails&amp;#39;][&amp;#39;relationship&amp;#39;]= &amp;#39;opportunity_emails&amp;#39;;&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: emails subpanel  not showing in opportunity record view</title><link>https://sugarclub.sugarcrm.com/thread/29455?ContentTypeID=1</link><pubDate>Thu, 20 Jul 2023 09:28:39 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:3a020cb4-e32a-4bca-858d-65273b5effdc</guid><dc:creator>shreya dalvi</dc:creator><description>&lt;p&gt;&lt;span&gt;DearJuane,&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Thanks for responding!&lt;/span&gt;&lt;br /&gt;&lt;span&gt;I have done code level changes to enable Email subpanel on opportunity as below:&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Added below code:&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;quot;array(&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;#39;layout&amp;#39; =&amp;gt; &amp;#39;subpanel&amp;#39;,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;#39;label&amp;#39; =&amp;gt; &amp;#39;LBL_EMAILS_SUBPANEL_TITLE&amp;#39;,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;#39;override_subpanel_list_view&amp;#39; =&amp;gt; &amp;#39;subpanel-for-opportunities-archived-emails&amp;#39;,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;#39;context&amp;#39; =&amp;gt; array (&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&amp;#39;link&amp;#39; =&amp;gt; &amp;#39;archived_emails&amp;#39;,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;),&lt;/span&gt;&lt;br /&gt;&lt;span&gt;),&amp;quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;In the file at location &amp;quot;custom/modules/Opportunities/clients/base/layouts/subpanels/subpanels.php&amp;quot; and then quick repair &amp;amp; rebuild.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Now Email subpanel is visible in opportunity record view.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Kindest Regards,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Shreya&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: emails subpanel  not showing in opportunity record view</title><link>https://sugarclub.sugarcrm.com/thread/29427?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 07:56:24 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:37b5697c-408f-4b97-8b0d-2cb2e4883692</guid><dc:creator>Juane Puig</dc:creator><description>&lt;p&gt;HI &lt;a href="/members/shreyadalvi329398"&gt;shreya dalvi&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s what a checked in my Sugacrm v12 devel environment&lt;/p&gt;
&lt;p&gt;- Try to find a type = link entry for &amp;quot;emails&amp;quot; in cache/modules/Opportunities/Opportunityvardefs.php&lt;br /&gt;&lt;pre class="ui-code" data-mode="php"&gt;    array (
      &amp;#39;name&amp;#39; =&amp;gt; &amp;#39;emails&amp;#39;,
      &amp;#39;type&amp;#39; =&amp;gt; &amp;#39;link&amp;#39;,
      &amp;#39;relationship&amp;#39; =&amp;gt; &amp;#39;emails_opportunities_rel&amp;#39;,
      &amp;#39;source&amp;#39; =&amp;gt; &amp;#39;non-db&amp;#39;,
      &amp;#39;vname&amp;#39; =&amp;gt; &amp;#39;LBL_EMAILS&amp;#39;,
    )&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;- Create a file based in this entry in custom/Extension/modules/Opportunities/Ext/clients/base/layouts/subpanels/opportunity_emails.php&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="php"&gt;&amp;lt;?php
$viewdefs[&amp;#39;Opportunities&amp;#39;][&amp;#39;base&amp;#39;][&amp;#39;layout&amp;#39;][&amp;#39;subpanels&amp;#39;][&amp;#39;components&amp;#39;][] = array (
    &amp;#39;label&amp;#39; =&amp;gt; &amp;#39;LBL_YOUNAMEIT&amp;#39;,
    &amp;#39;context&amp;#39; =&amp;gt;
    array (
        &amp;#39;link&amp;#39; =&amp;gt; &amp;#39;emails&amp;#39;,
    ),
    &amp;#39;layout&amp;#39; =&amp;gt; &amp;#39;subpanel&amp;#39;,
);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;BUT it didn&amp;#39;t work&lt;/p&gt;
&lt;p&gt;then a followed the relationship emais_opportunities_rel and didn&amp;#39;t found any occurrence.&lt;br /&gt;Shouldn&amp;#39;t it be &amp;#39;opportunity_emails&amp;#39;?&lt;/p&gt;
&lt;p&gt;detailed as&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="php"&gt;    array (
      &amp;#39;lhs_module&amp;#39; =&amp;gt; &amp;#39;Opportunities&amp;#39;,
      &amp;#39;lhs_table&amp;#39; =&amp;gt; &amp;#39;opportunities&amp;#39;,
      &amp;#39;lhs_key&amp;#39; =&amp;gt; &amp;#39;id&amp;#39;,
      &amp;#39;rhs_module&amp;#39; =&amp;gt; &amp;#39;Emails&amp;#39;,
      &amp;#39;rhs_table&amp;#39; =&amp;gt; &amp;#39;emails&amp;#39;,
      &amp;#39;rhs_key&amp;#39; =&amp;gt; &amp;#39;parent_id&amp;#39;,
      &amp;#39;relationship_type&amp;#39; =&amp;gt; &amp;#39;one-to-many&amp;#39;,
      &amp;#39;relationship_role_column&amp;#39; =&amp;gt; &amp;#39;parent_type&amp;#39;,
      &amp;#39;relationship_role_column_value&amp;#39; =&amp;gt; &amp;#39;Opportunities&amp;#39;,
    )&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll do some research and come back later.&lt;/p&gt;
&lt;p&gt;Juane&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: emails subpanel  not showing in opportunity record view</title><link>https://sugarclub.sugarcrm.com/thread/29424?ContentTypeID=1</link><pubDate>Wed, 19 Jul 2023 06:23:27 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:fd7427d5-e7a6-4cd3-b993-93630ab337b3</guid><dc:creator>shreya dalvi</dc:creator><description>&lt;p&gt;Dear Juane,&lt;/p&gt;
&lt;p&gt;Thanks for response!&lt;/p&gt;
&lt;p&gt;I have checked file at location &amp;quot;&lt;span&gt;custom/modules/Opportunities/Ext/clients/base/layouts/subpanels/subpanels.ext.php&lt;/span&gt;&amp;quot; but there no code related to Emails.&lt;/p&gt;
&lt;p&gt;Can you please suggest what I have to add to enable Emails module in opportunity?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kindest Regards,&lt;/p&gt;
&lt;p&gt;Shreya&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: emails subpanel  not showing in opportunity record view</title><link>https://sugarclub.sugarcrm.com/thread/29419?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 14:46:02 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:13181a11-c0f1-4e19-af56-0f59a5df516c</guid><dc:creator>Juane Puig</dc:creator><description>&lt;p&gt;&lt;a href="/members/shreyadalvi329398"&gt;shreya dalvi&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I would check the file&lt;/p&gt;
&lt;p&gt;custom/modules/Opportunities/Ext/clients/base/layouts/subpanels/subpanels.ext.php&lt;/p&gt;
&lt;p&gt;There you can see if there is any contradictory inclusions due to the multiple points where, programatically, can decide wich subpanels to show.&lt;/p&gt;
&lt;p&gt;This file even gives you clues, via comments, on which &amp;quot;extension&amp;quot; file would have produce eventual contradictions&lt;/p&gt;
&lt;p&gt;Have a nice day&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: emails subpanel  not showing in opportunity record view</title><link>https://sugarclub.sugarcrm.com/thread/29418?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 13:28:13 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:53d62054-1ce6-47b2-81cc-9cc173d0f61e</guid><dc:creator>Chris Raffle</dc:creator><description>&lt;p&gt;If the Emails subpanel is not available for configuration under Admin &amp;gt; Studio &amp;gt; Opportunities &amp;gt; Subpanels, the only user configuration that would impact this would be if the Emails module was disabled under the&amp;nbsp;Subpanel section found in Admin &amp;gt; Navigation Bar and Subpanels (or Admin &amp;gt; Display Modules and Subpanels if you are on pre-13.0).&lt;/p&gt;
&lt;p&gt;&lt;img height="183" src="/resized-image/__size/1000x750/__key/communityserver-discussions-components-files/54/subpanel_5F00_config.png" width="153" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;If the Emails module is visible in this section, then you would need to search for potential code customizations suppressing the subpanel.&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: emails subpanel  not showing in opportunity record view</title><link>https://sugarclub.sugarcrm.com/thread/29417?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 13:14:50 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:f9b285af-7f90-4ab6-8cdb-c934af4568e4</guid><dc:creator>shreya dalvi</dc:creator><description>&lt;p&gt;I haven&amp;#39;t done any changes but if any changes don by someone where it will be for stock module to hide emails subpanel?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: emails subpanel  not showing in opportunity record view</title><link>https://sugarclub.sugarcrm.com/thread/29415?ContentTypeID=1</link><pubDate>Tue, 18 Jul 2023 13:07:14 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:8e43eb60-5b4b-4e62-ab32-7e929634f50e</guid><dc:creator>Chris Raffle</dc:creator><description>&lt;p&gt;&lt;a href="/members/shreyadalvi329398"&gt;shreya dalvi&lt;/a&gt;,&lt;/p&gt;
&lt;p&gt;The Opportunities module natively has an Emails subpanel and shouldn&amp;#39;t need a custom-defined subpanel. Have you done something to suppress the stock subpanel on the Opportunities module?&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>