<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Changing the pop up heading? in ArcGIS Viewer for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/changing-the-pop-up-heading/m-p/761170#M2067</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know that right now, the silverlight viewer uses one of the field values as the heading for the popup window, and that I can choose which heading.&amp;nbsp; Is it possible to create an addin tool or map behavior that would change that heading to the name of the layer instead?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 May 2012 16:45:34 GMT</pubDate>
    <dc:creator>KarenEllett</dc:creator>
    <dc:date>2012-05-08T16:45:34Z</dc:date>
    <item>
      <title>Changing the pop up heading?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/changing-the-pop-up-heading/m-p/761170#M2067</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I know that right now, the silverlight viewer uses one of the field values as the heading for the popup window, and that I can choose which heading.&amp;nbsp; Is it possible to create an addin tool or map behavior that would change that heading to the name of the layer instead?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 May 2012 16:45:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/changing-the-pop-up-heading/m-p/761170#M2067</guid>
      <dc:creator>KarenEllett</dc:creator>
      <dc:date>2012-05-08T16:45:34Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the pop up heading?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/changing-the-pop-up-heading/m-p/761171#M2068</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OnClickPopupContainerStyle.xaml located in Config/Layouts/ResourceDictionaries/Common contains the datatemplate for the popup changing line number 755 from:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;TextBlock Text="{Binding PopupItem.Title}" Grid.Row="0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;to&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;TextBlock Text="{Binding PopupItem.LayerName}" Grid.Row="0"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;will display the Layer Name instead of the Title (Primary Display Field)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 May 2012 14:50:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/changing-the-pop-up-heading/m-p/761171#M2068</guid>
      <dc:creator>JeffMcConnell</dc:creator>
      <dc:date>2012-05-09T14:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the pop up heading?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/changing-the-pop-up-heading/m-p/761172#M2069</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;My hero!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks so much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 May 2012 18:22:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/changing-the-pop-up-heading/m-p/761172#M2069</guid>
      <dc:creator>KarenEllett</dc:creator>
      <dc:date>2012-05-10T18:22:47Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the pop up heading?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/changing-the-pop-up-heading/m-p/761173#M2070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;OnClickPopupContainerStyle.xaml located in Config/Layouts/ResourceDictionaries/Common contains the datatemplate for the popup changing line number 755 from:&lt;BR /&gt;&lt;BR /&gt;&amp;lt;TextBlock Text="{Binding PopupItem.Title}" Grid.Row="0"&lt;BR /&gt;&lt;BR /&gt;to&lt;BR /&gt;&lt;BR /&gt;&amp;lt;TextBlock Text="{Binding PopupItem.LayerName}" Grid.Row="0"&lt;BR /&gt;&lt;BR /&gt;will display the Layer Name instead of the Title (Primary Display Field)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Jeff, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried it but sounds that the name of the layer still doesn�??t appear in the pop up&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]24734[/ATTACH]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What might be the issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jamal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 May 2013 15:40:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/changing-the-pop-up-heading/m-p/761173#M2070</guid>
      <dc:creator>JamalNUMAN</dc:creator>
      <dc:date>2013-05-28T15:40:28Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the pop up heading?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/changing-the-pop-up-heading/m-p/761174#M2071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having the same problem as Jamal.&amp;nbsp; It doesn't work.&amp;nbsp; Their must be some small piece of code that needs to be tweaked to make it work.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 16:46:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/changing-the-pop-up-heading/m-p/761174#M2071</guid>
      <dc:creator>TomMagdaleno</dc:creator>
      <dc:date>2013-12-05T16:46:48Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the pop up heading?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/changing-the-pop-up-heading/m-p/761175#M2072</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'm having the same problem as Jamal.&amp;nbsp; It doesn't work.&amp;nbsp; Their must be some small piece of code that needs to be tweaked to make it work.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try deleting your internet browsing history and reopening.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Dec 2013 16:55:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/changing-the-pop-up-heading/m-p/761175#M2072</guid>
      <dc:creator>brettangel</dc:creator>
      <dc:date>2013-12-05T16:55:11Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the pop up heading?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/changing-the-pop-up-heading/m-p/761176#M2073</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This tweak works as expected when run from my dev machine. But when I deploy the app to the production server, the popup reverts to its original out-of-the-box appearance, i.e. displays the &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;PopupItem.Title&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I delete Config\Layouts\ResourceDictionaries\Common\OnClickPopupContainerStyle.xaml from both my dev and production server, and the popups on both show only the original out-of-the-box appearance, i.e. display the &lt;SPAN style="font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;PopupItem.Title&lt;/SPAN&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This indicates the popup has a default template that is defined elsewhere, but more importantly, this means my production server is unable to override the default template by applying the OnClickPopupContainerStyle.xaml.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas why the production version will not apply OnClickPopupContainerStyle.xaml? I wonder if it is a file/folder permission issue with Config\Layouts\ResourceDictionaries\Common\OnClickPopupContainerStyle.xaml on the production server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jan 2015 00:20:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-silverlight-questions/changing-the-pop-up-heading/m-p/761176#M2073</guid>
      <dc:creator>GreggCornetski</dc:creator>
      <dc:date>2015-01-08T00:20:30Z</dc:date>
    </item>
  </channel>
</rss>

