1

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:

<editBox id="Extension_SearchPANBox" caption="PAN" className="SearchPANBox" dataType="int64" sizeString="AAAAAAAAAAAAAAA" >
    <tooltip heading="Tooltip">Enter PAN to search, then hit Enter.</tooltip>
</editBox>
<editBox id="Extension_SearchTownRangeBox" caption="TRS" className="SearchTownRangeBox" dataType="string" sizeString="AAAAAAAAAAAAAAA">
    <tooltip heading="Tooltip">Enter Township and Range to search, then hit Enter.</tooltip>
</editBox>

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.

Search showing missing caption

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 (https://pro.arcgis.com/en/pro-app/latest/sdk/api-reference/index.html#topic10453.html) that would suggest this is expected behavior.

Is this a bug, or is there something specific I'm missing?

Hornbydd
  • 43,380
  • 5
  • 41
  • 81
  • 2
    Have you tried reaching out on the ESRI community forum, I would expect more ArcPro developers to be floating around on that forum site? – Hornbydd Oct 25 '21 at 18:21
  • 1
    Sent it as a bug report to ESRI but have not heard back. Haven't posted to ESRI forums, but getting tempted to. Right now, I've simply made the input a string, so the caption shows, and sanitize the input in code. – Roger Asbury Oct 25 '21 at 19:07
  • This isn't a question for GISSE – jbalk Oct 28 '21 at 23:46
  • In your opinion, then, where should it be posted? I've posted this to the ESRI development community and received no answer there, as well. – Roger Asbury Oct 29 '21 at 17:08

0 Answers0