<?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 Editbox caption disappears when datatype not set to string in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/editbox-caption-disappears-when-datatype-not-set/m-p/1110993#M7271</link>
    <description>&lt;P&gt;&lt;SPAN&gt;I am working on a plugin to ArcGIS Pro using the ArcGIS Pro SDK. In working on the config.daml, I have created two edit boxes. One is using a datatype of int64 and the other of type string. Below is their entry under the controls portion of the script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;editBox&lt;/SPAN&gt; &lt;SPAN class=""&gt;id&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"Extension_SearchPANBox"&lt;/SPAN&gt; &lt;SPAN class=""&gt;caption&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"PAN"&lt;/SPAN&gt; &lt;SPAN class=""&gt;className&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"SearchPANBox"&lt;/SPAN&gt; &lt;SPAN class=""&gt;dataType&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"int64"&lt;/SPAN&gt; &lt;SPAN class=""&gt;sizeString&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"AAAAAAAAAAAAAAA"&lt;/SPAN&gt; &amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;tooltip&lt;/SPAN&gt; &lt;SPAN class=""&gt;heading&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"Tooltip"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;Enter PAN to search, then hit Enter.&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;tooltip&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;editBox&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;editBox&lt;/SPAN&gt; &lt;SPAN class=""&gt;id&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"Extension_SearchTownRangeBox"&lt;/SPAN&gt; &lt;SPAN class=""&gt;caption&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"TRS"&lt;/SPAN&gt; &lt;SPAN class=""&gt;className&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"SearchTownRangeBox"&lt;/SPAN&gt; &lt;SPAN class=""&gt;dataType&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"string"&lt;/SPAN&gt; &lt;SPAN class=""&gt;sizeString&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"AAAAAAAAAAAAAAA"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;tooltip&lt;/SPAN&gt; &lt;SPAN class=""&gt;heading&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"Tooltip"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;Enter Township and Range to search, then hit Enter.&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;tooltip&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;editBox&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;When I run the app, I would expect to see two search boxes, one captioned PAN and the other TRS. However, when run, the caption for PAN does not show up, as shown below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fQ3xd.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/26118iADC31B658FDC1070/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fQ3xd.png" alt="fQ3xd.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;A quick test of the three dataTypes available (int64, double, string) suggests the caption only shows up if the datatype for the field is a string. I don't see anything in the class description (&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic10453.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic10453.html&lt;/A&gt;) that would suggest this is expected behavior.&lt;/P&gt;&lt;P&gt;Is this a bug, or is there something specific I'm missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 25 Oct 2021 19:33:48 GMT</pubDate>
    <dc:creator>RogerAsbury</dc:creator>
    <dc:date>2021-10-25T19:33:48Z</dc:date>
    <item>
      <title>Editbox caption disappears when datatype not set to string</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/editbox-caption-disappears-when-datatype-not-set/m-p/1110993#M7271</link>
      <description>&lt;P&gt;&lt;SPAN&gt;I am working on a plugin to ArcGIS Pro using the ArcGIS Pro SDK. In working on the config.daml, I have created two edit boxes. One is using a datatype of int64 and the other of type string. Below is their entry under the controls portion of the script:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;editBox&lt;/SPAN&gt; &lt;SPAN class=""&gt;id&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"Extension_SearchPANBox"&lt;/SPAN&gt; &lt;SPAN class=""&gt;caption&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"PAN"&lt;/SPAN&gt; &lt;SPAN class=""&gt;className&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"SearchPANBox"&lt;/SPAN&gt; &lt;SPAN class=""&gt;dataType&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"int64"&lt;/SPAN&gt; &lt;SPAN class=""&gt;sizeString&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"AAAAAAAAAAAAAAA"&lt;/SPAN&gt; &amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;tooltip&lt;/SPAN&gt; &lt;SPAN class=""&gt;heading&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"Tooltip"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;Enter PAN to search, then hit Enter.&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;tooltip&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;editBox&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;editBox&lt;/SPAN&gt; &lt;SPAN class=""&gt;id&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"Extension_SearchTownRangeBox"&lt;/SPAN&gt; &lt;SPAN class=""&gt;caption&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"TRS"&lt;/SPAN&gt; &lt;SPAN class=""&gt;className&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"SearchTownRangeBox"&lt;/SPAN&gt; &lt;SPAN class=""&gt;dataType&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"string"&lt;/SPAN&gt; &lt;SPAN class=""&gt;sizeString&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"AAAAAAAAAAAAAAA"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
    &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;tooltip&lt;/SPAN&gt; &lt;SPAN class=""&gt;heading&lt;/SPAN&gt;=&lt;SPAN class=""&gt;"Tooltip"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;Enter Township and Range to search, then hit Enter.&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;tooltip&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;editBox&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;When I run the app, I would expect to see two search boxes, one captioned PAN and the other TRS. However, when run, the caption for PAN does not show up, as shown below.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="fQ3xd.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/26118iADC31B658FDC1070/image-size/medium?v=v2&amp;amp;px=400" role="button" title="fQ3xd.png" alt="fQ3xd.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;A quick test of the three dataTypes available (int64, double, string) suggests the caption only shows up if the datatype for the field is a string. I don't see anything in the class description (&lt;A href="https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic10453.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic10453.html&lt;/A&gt;) that would suggest this is expected behavior.&lt;/P&gt;&lt;P&gt;Is this a bug, or is there something specific I'm missing?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 25 Oct 2021 19:33:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/editbox-caption-disappears-when-datatype-not-set/m-p/1110993#M7271</guid>
      <dc:creator>RogerAsbury</dc:creator>
      <dc:date>2021-10-25T19:33:48Z</dc:date>
    </item>
  </channel>
</rss>

