<?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 Re: Using dataTemplateFile in Config.daml (comboBox) does not cause the expected behaviour in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/using-datatemplatefile-in-config-daml-combobox/m-p/1155229#M7946</link>
    <description>&lt;P&gt;Had the same problem yesterday and was bashing my head.&amp;nbsp; However, once I opened a pane that utilized the same dictionary and a referenced IValueConverter class, errors started occurring that mentioned my resource dictionary was invalid.&lt;/P&gt;&lt;P&gt;I didn't realize that if your resource dictionary build action is "Resource" (vs. the default of Page), any imported namespace definitions needs to have the assembly fully qualified.&amp;nbsp; Once I added ";assembly=WaterImpactTools" to the end of the original "converters" and "selectors" imports (see highlighted lines screenshot), it started working.&amp;nbsp; I guess when Pro tries to load a resource dictionary and the dictionary fails to load, Pro doesn't say anything.&amp;nbsp; Let me know if this helps or you need any more details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisSaylor_0-1647612040698.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/36726i238DB658307B221D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisSaylor_0-1647612040698.png" alt="ChrisSaylor_0-1647612040698.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;ChrisSaylor_0-1647612040698.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 18 Mar 2022 14:07:27 GMT</pubDate>
    <dc:creator>ChrisSaylor</dc:creator>
    <dc:date>2022-03-18T14:07:27Z</dc:date>
    <item>
      <title>Using dataTemplateFile in Config.daml (comboBox) does not cause the expected behaviour</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/using-datatemplatefile-in-config-daml-combobox/m-p/1139837#M7718</link>
      <description>&lt;P&gt;According to the following guide:&lt;BR /&gt;&lt;A href="https://github.com/Esri/arcgis-pro-sdk/wiki/ProGuide-Combo-boxes#customizing-content-with-a-data-template-file" target="_blank" rel="noopener"&gt;ProGuide Combo boxes · Esri/arcgis-pro-sdk Wiki · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have tried using a different Template with the dataTemplateFile attribute given in the Config.daml for a comboBox control (taking the exact same file from the example above / CustomComboResources.xaml)&lt;/P&gt;&lt;P&gt;What I get is empty rows. thats all. (see attached image)&lt;/P&gt;&lt;P&gt;Is there any hint on how to resolve this issue?&lt;/P&gt;&lt;P&gt;Versions:&amp;nbsp;ArcGIS Pro 2.8 and 2.9&lt;/P&gt;</description>
      <pubDate>Thu, 03 Feb 2022 13:18:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/using-datatemplatefile-in-config-daml-combobox/m-p/1139837#M7718</guid>
      <dc:creator>ole1986</dc:creator>
      <dc:date>2022-02-03T13:18:04Z</dc:date>
    </item>
    <item>
      <title>Re: Using dataTemplateFile in Config.daml (comboBox) does not cause the expected behaviour</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/using-datatemplatefile-in-config-daml-combobox/m-p/1140749#M7728</link>
      <description>&lt;P&gt;Bump! Any response highly appreciated&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Feb 2022 13:44:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/using-datatemplatefile-in-config-daml-combobox/m-p/1140749#M7728</guid>
      <dc:creator>ole1986</dc:creator>
      <dc:date>2022-02-04T13:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Using dataTemplateFile in Config.daml (comboBox) does not cause the expected behaviour</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/using-datatemplatefile-in-config-daml-combobox/m-p/1155229#M7946</link>
      <description>&lt;P&gt;Had the same problem yesterday and was bashing my head.&amp;nbsp; However, once I opened a pane that utilized the same dictionary and a referenced IValueConverter class, errors started occurring that mentioned my resource dictionary was invalid.&lt;/P&gt;&lt;P&gt;I didn't realize that if your resource dictionary build action is "Resource" (vs. the default of Page), any imported namespace definitions needs to have the assembly fully qualified.&amp;nbsp; Once I added ";assembly=WaterImpactTools" to the end of the original "converters" and "selectors" imports (see highlighted lines screenshot), it started working.&amp;nbsp; I guess when Pro tries to load a resource dictionary and the dictionary fails to load, Pro doesn't say anything.&amp;nbsp; Let me know if this helps or you need any more details.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChrisSaylor_0-1647612040698.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/36726i238DB658307B221D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ChrisSaylor_0-1647612040698.png" alt="ChrisSaylor_0-1647612040698.png" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;ChrisSaylor_0-1647612040698.png&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Mar 2022 14:07:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/using-datatemplatefile-in-config-daml-combobox/m-p/1155229#M7946</guid>
      <dc:creator>ChrisSaylor</dc:creator>
      <dc:date>2022-03-18T14:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: Using dataTemplateFile in Config.daml (comboBox) does not cause the expected behaviour</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/using-datatemplatefile-in-config-daml-combobox/m-p/1185955#M8291</link>
      <description>&lt;P&gt;Hi ChrisSaylor,&lt;/P&gt;&lt;P&gt;thanks for your reply.&lt;/P&gt;&lt;P&gt;I assume you have successfully implemented such dataTemplateFile into a comboBox.&lt;BR /&gt;Can you provide me with more info, like which ArcGIS Version. Possible an example project?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 11:42:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/using-datatemplatefile-in-config-daml-combobox/m-p/1185955#M8291</guid>
      <dc:creator>ole1986</dc:creator>
      <dc:date>2022-06-24T11:42:05Z</dc:date>
    </item>
    <item>
      <title>Re: Using dataTemplateFile in Config.daml (comboBox) does not cause the expected behaviour</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/using-datatemplatefile-in-config-daml-combobox/m-p/1185967#M8292</link>
      <description>&lt;P&gt;Finally the hint from ChrisSaylor helped me out to resolve the issue!&lt;BR /&gt;It is not mentioned in the documentation but important the set the &lt;SPAN&gt;dataTemplateFile (in my case the customCombobox.xaml) as&amp;nbsp;&lt;STRONG&gt;build action to Resource&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Jun 2022 12:14:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/using-datatemplatefile-in-config-daml-combobox/m-p/1185967#M8292</guid>
      <dc:creator>ole1986</dc:creator>
      <dc:date>2022-06-24T12:14:45Z</dc:date>
    </item>
  </channel>
</rss>

