<?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: ArcGIS Pro Button new png image doesn't work in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797990#M1858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andres&lt;/P&gt;&lt;P&gt;To see where the problem lies, you could try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In Visual Studio, create a simple add-in with just a button item using the SDK Templates.&lt;/P&gt;&lt;P&gt;2. In your file explorer, access the Images folder of this add-in on disk.&lt;/P&gt;&lt;P&gt;3. You will see the&amp;nbsp;GenericButtonBlue32.png and&amp;nbsp;GenericButtonBlue16.png.&lt;/P&gt;&lt;P&gt;4. Delete them.&lt;/P&gt;&lt;P&gt;5. Copy your custom png to this folder and rename your png to be&amp;nbsp;GenericButtonBlue32.png and&amp;nbsp;GenericButtonBlue16.png&lt;/P&gt;&lt;P&gt;6. In Visual Studio, compile your add-in project and test if the button loads in Pro with the custom png instead of the generic blue image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it does, then you could check your add-in where it is not working. If it does &lt;EM&gt;not&lt;/EM&gt; work, it could be a png issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Dec 2016 22:26:38 GMT</pubDate>
    <dc:creator>UmaHarano</dc:creator>
    <dc:date>2016-12-09T22:26:38Z</dc:date>
    <item>
      <title>ArcGIS Pro Button new png image doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797987#M1855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm creating with photoshop png files for the button on an add-in for ArcGIS Pro, but for some reason they are not being displayed (the ones that come with the samples do work). Does anybody know why? &lt;A href="https://community.esri.com/t5/tag/arcgispro/tg-p"&gt;#arcgispro&lt;/A&gt; &lt;A href="https://community.esri.com/t5/tag/add-ins/tg-p"&gt;#add-ins&lt;/A&gt; &lt;A href="https://community.esri.com/t5/tag/buttons/tg-p"&gt;#buttons&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 19:24:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797987#M1855</guid>
      <dc:creator>andresarias</dc:creator>
      <dc:date>2016-12-09T19:24:44Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Button new png image doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797988#M1856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andres&lt;/P&gt;&lt;P&gt;The two things to watch for while adding a custom image to a button is:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The direction of the folder slash you specify for the png in the daml.&lt;/LI&gt;&lt;LI&gt;The png file's BuildAction property specified in Visual Studio should be "AddInContent" and not Resource.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a &lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-Diagnosing-ArcGIS-Pro-Add-ins"&gt;ProGuide Diagnosing ArcGIS Pro Add ins&lt;/A&gt;&amp;nbsp;that discusses this. Check out the&amp;nbsp;&lt;/P&gt;&lt;UL style="color: #333333; background-color: #ffffff; margin-bottom: 16px; padding-left: 2em;"&gt;&lt;LI style="margin-top: 0.25em;"&gt;&lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProGuide-Diagnosing-ArcGIS-Pro-Add-ins#image-does-not-load-on-a-button-control" style="color: #4078c0; background-color: transparent;"&gt;Image does not load on a Button control&lt;/A&gt;&amp;nbsp;topic on this guide.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma Harano&lt;/P&gt;&lt;P&gt;ArcGIS Desktop SDK team&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 20:07:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797988#M1856</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2016-12-09T20:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Button new png image doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797989#M1857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Uma, but it is not working either.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 21:07:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797989#M1857</guid>
      <dc:creator>andresarias</dc:creator>
      <dc:date>2016-12-09T21:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Button new png image doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797990#M1858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andres&lt;/P&gt;&lt;P&gt;To see where the problem lies, you could try this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In Visual Studio, create a simple add-in with just a button item using the SDK Templates.&lt;/P&gt;&lt;P&gt;2. In your file explorer, access the Images folder of this add-in on disk.&lt;/P&gt;&lt;P&gt;3. You will see the&amp;nbsp;GenericButtonBlue32.png and&amp;nbsp;GenericButtonBlue16.png.&lt;/P&gt;&lt;P&gt;4. Delete them.&lt;/P&gt;&lt;P&gt;5. Copy your custom png to this folder and rename your png to be&amp;nbsp;GenericButtonBlue32.png and&amp;nbsp;GenericButtonBlue16.png&lt;/P&gt;&lt;P&gt;6. In Visual Studio, compile your add-in project and test if the button loads in Pro with the custom png instead of the generic blue image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it does, then you could check your add-in where it is not working. If it does &lt;EM&gt;not&lt;/EM&gt; work, it could be a png issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 22:26:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797990#M1858</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2016-12-09T22:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Button new png image doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797991#M1859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Uma&lt;/P&gt;&lt;P&gt;I does work using the default png file name, but not when I use a different file name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 14:28:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797991#M1859</guid>
      <dc:creator>andresarias</dc:creator>
      <dc:date>2016-12-12T14:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Button new png image doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797992#M1860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andres&lt;/P&gt;&lt;P&gt;Can you please zip up your project and add it to this thread? I can take a look at it and see why this is not working for you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 19:06:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797992#M1860</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2016-12-12T19:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Button new png image doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797993#M1861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Uma, I can't find how to attach the zip file.&lt;/P&gt;&lt;P&gt;I can only find how to insert links, images and video.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 19:57:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797993#M1861</guid>
      <dc:creator>andresarias</dc:creator>
      <dc:date>2016-12-12T19:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Button new png image doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797994#M1862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andres,&lt;/P&gt;&lt;P&gt;When you are typing up a message in GeoNet, click on the "Use Advanced Editor" &amp;nbsp;on the top right corner above your message.&lt;/P&gt;&lt;P&gt;You will see the "Attach" option at the bottom. Like this screenshot below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/281844_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 20:26:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797994#M1862</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2016-12-12T20:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Button new png image doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797995#M1863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it the horizontal 3-point button right after the "insert video" one in your screenshot?&lt;/P&gt;&lt;P&gt;if so, it doesn't show on my message&amp;nbsp;(neither on firefox nor iexplorer).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 21:46:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797995#M1863</guid>
      <dc:creator>andresarias</dc:creator>
      <dc:date>2016-12-12T21:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Button new png image doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797996#M1864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andres&lt;/P&gt;&lt;P&gt;The "Use Advanced editor" button is highlighted in the screenshot below. When you click that, you will see an option to Attach files to your message.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Uma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/281924_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 23:46:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797996#M1864</guid>
      <dc:creator>UmaHarano</dc:creator>
      <dc:date>2016-12-12T23:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Button new png image doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797997#M1865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Uma, but that button doesn't show on my reply. In any case, you can reproduce what I did:&lt;/P&gt;&lt;P&gt;1. Create a new project with a button&lt;/P&gt;&lt;P&gt;2. Copy a 16x16 and a 32x32 pixel png files in the project images folder.&lt;/P&gt;&lt;P&gt;3. Add them to the collection of Images in the Solution Explorer panel.&lt;/P&gt;&lt;P&gt;4. Replace the file name in the button smallImage and largeImage attributes in the Config.daml file referring to the new png files.&lt;/P&gt;&lt;P&gt;5. Run the project.&lt;/P&gt;&lt;P&gt;Maybe there is something else that I need to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 14:40:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797997#M1865</guid>
      <dc:creator>andresarias</dc:creator>
      <dc:date>2016-12-13T14:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Button new png image doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797998#M1866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes there is a step missing:&lt;/P&gt;&lt;P&gt;&amp;nbsp;after your step 3. you have to change the "Build Action" (under all image properties) to "AddInContent".&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 03:29:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797998#M1866</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2016-12-14T03:29:21Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS Pro Button new png image doesn't work</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797999#M1867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Wolfgang. Now with the steps clearly stated it works perfectly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 14:34:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-pro-button-new-png-image-doesn-t-work/m-p/797999#M1867</guid>
      <dc:creator>andresarias</dc:creator>
      <dc:date>2016-12-14T14:34:08Z</dc:date>
    </item>
  </channel>
</rss>

