<?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 EB 1.8 Feature Info Widget does not honor certain arcade in ArcGIS Experience Builder Questions</title>
    <link>https://community.esri.com/t5/arcgis-experience-builder-questions/eb-1-8-feature-info-widget-does-not-honor-certain/m-p/1168116#M4249</link>
    <description>&lt;P&gt;Hello - the Feature Info widget does not seem to honor arcade expressions that use the $feature type.&amp;nbsp; I am buffering a feature to return info as a list about bordering or coincident features (like zoning types that border a adjacent zoning poly), but the Feature Info widget will not bring up my list.&amp;nbsp; The map viewer popup returns the arcade just fine.&lt;/P&gt;&lt;P&gt;Any Suggestions?&lt;/P&gt;</description>
    <pubDate>Tue, 26 Apr 2022 20:51:44 GMT</pubDate>
    <dc:creator>DavidColey</dc:creator>
    <dc:date>2022-04-26T20:51:44Z</dc:date>
    <item>
      <title>EB 1.8 Feature Info Widget does not honor certain arcade</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/eb-1-8-feature-info-widget-does-not-honor-certain/m-p/1168116#M4249</link>
      <description>&lt;P&gt;Hello - the Feature Info widget does not seem to honor arcade expressions that use the $feature type.&amp;nbsp; I am buffering a feature to return info as a list about bordering or coincident features (like zoning types that border a adjacent zoning poly), but the Feature Info widget will not bring up my list.&amp;nbsp; The map viewer popup returns the arcade just fine.&lt;/P&gt;&lt;P&gt;Any Suggestions?&lt;/P&gt;</description>
      <pubDate>Tue, 26 Apr 2022 20:51:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/eb-1-8-feature-info-widget-does-not-honor-certain/m-p/1168116#M4249</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2022-04-26T20:51:44Z</dc:date>
    </item>
    <item>
      <title>Re: EB 1.8 Feature Info Widget does not honor certain arcade</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/eb-1-8-feature-info-widget-does-not-honor-certain/m-p/1168340#M4253</link>
      <description>&lt;P&gt;Update: Here is an example:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DavidColey_0-1651069152718.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/39950i5F6B316EDA585416/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DavidColey_0-1651069152718.png" alt="DavidColey_0-1651069152718.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Adjacent Zoning Descriptions is a list generated by buffering the feature and returning the features that intersect the buffer as a list.&lt;/P&gt;&lt;P&gt;Why wouldn't the Feature Info widget return the Arcade-generated list the same as the Map Info window??&lt;/P&gt;&lt;P&gt;It would seem to me that the Feature Info Widget would certainly recognize the $feature profile that is being used.&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1104"&gt;@RobertScheitlin__GISP&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/2839"&gt;@KenBuja&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 14:25:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/eb-1-8-feature-info-widget-does-not-honor-certain/m-p/1168340#M4253</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2022-04-27T14:25:08Z</dc:date>
    </item>
    <item>
      <title>Re: EB 1.8 Feature Info Widget does not honor certain arcade</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/eb-1-8-feature-info-widget-does-not-honor-certain/m-p/1168359#M4254</link>
      <description>&lt;P&gt;Hmm, sorry all.&amp;nbsp; I somehow missed the 'Related Posts' above stating that there is a compatibility issue with complex arcade being returned as a result in the Feature Info.&amp;nbsp; Apparently still an issue at this 1.8 release.&amp;nbsp; It will be helpful when either this is addressed or maybe somehow the List widget can return the map popup as an option . . .&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Apr 2022 14:57:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/eb-1-8-feature-info-widget-does-not-honor-certain/m-p/1168359#M4254</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2022-04-27T14:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: EB 1.8 Feature Info Widget does not honor certain arcade</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/eb-1-8-feature-info-widget-does-not-honor-certain/m-p/1171068#M4312</link>
      <description>&lt;P&gt;Update.&lt;/P&gt;&lt;P&gt;So it turns out that the Feature Info Widget DOES display complex Arcade expressions as part of the display, but only for small datasets.&amp;nbsp; I do not know what the limit is, but it is certainly less than the 2500 zoning records that I am working with.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So something like this:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var newBuffer = FeatureSetByName($map,"County Zoning");//need a feature
//var newBuffer = $feature; //need a feature
var buffResults = false; //need a bool

function getArea(){
    if ($feature.zoningcode != 'MP' &amp;amp;&amp;amp; $feature.zoningcode != 'SARASOTA' &amp;amp;&amp;amp; $feature.zoningcode != 'NORTH PORT' &amp;amp;&amp;amp; $feature.zoningcode != 'VENICE'){
        BufferGeodetic($feature, 2, 'meters');
    } else {
         $feature.zoningcode;
    }
}
var myBuffer = getArea();

if (myBuffer == $feature.zoningcode){
    buffResults = false;
} else {
    buffResults = true;
    newBuffer = myBuffer;
}
var myCen = Centroid($feature);

var onezoning = Intersects($layer, myCen);
var allzoning = Intersects($layer, newBuffer)

var oneType = Distinct(onezoning, "zoningdesignation");
var allTypes = Distinct(allzoning, "zoningdesignation");

var zoning_count = Count(allzoning);

var inizt = '';
var znlist = '';

function GetInitDomainDct() {
    var dom = Domain(onezoning, "zoningdesignation");
    var cvs = dom["codedValues"];
    var dct = {};
    for (var i in cvs) {
        var cv = cvs[i];
        dct[cv["code"]] = cv["name"];
    }
    return dct;    
}
var rt1 = GetInitDomainDct();

function GetDomainDct() {
    var domAll = Domain(allzoning, "zoningdesignation");
    var cvsAll = domAll["codedValues"];
    var dctAll = {};
    for (var j in cvsAll) {
        var cvAll = cvsAll[j];
        dctAll[cvAll["code"]] = cvAll["name"];
    }
    return dctAll;    
}
var rtall = GetDomainDct();

for (var k in oneType){
    
    inizt = rt1[k.zoningdesignation] + TextFormatting.NewLine;
    }
for (var m in allTypes)
    {
        znlist += rtall[m.zoningdesignation]+ TextFormatting.NewLine;
    }
var munZone = 'Marine Park and Municipality zoning areas are too complex to list adjancent zoning . . .'
var newList = '';
newList = Trim(Replace(znlist,inizt,''));

if (buffResults == false){
    return munZone;
} else {
    return newList;
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Where I am getting at coincident polygons to return information on them (but not the selected polygon, and I have to pre-filter out super-complex large polygons that absolutely kill the return time) -&lt;/P&gt;&lt;P&gt;works just fine in the map.&amp;nbsp; BUT: for the Feature Info in EB, if I want a return there is some limit on how many records are in the feature set that can display in a list like I show above.&lt;/P&gt;&lt;P&gt;I don't know what that limit is, but it is less than 2000.&amp;nbsp; Maybe this can be addressed for the Online version at some point?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Otherwise, maybe there is some fetch limit or something in EB Dev Feature Info that can be bumped up somewhere?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/1104" target="_blank"&gt;@RobertScheitlin__GISP&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/t5/user/viewprofilepage/user-id/2839" target="_blank"&gt;@KenBuja&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/4655"&gt;@TonghuiMing&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/54255"&gt;@ShengdiZhang&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/1108"&gt;@XanderBakker&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 14:18:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/eb-1-8-feature-info-widget-does-not-honor-certain/m-p/1171068#M4312</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2022-05-05T14:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: EB 1.8 Feature Info Widget does not honor certain arcade</title>
      <link>https://community.esri.com/t5/arcgis-experience-builder-questions/eb-1-8-feature-info-widget-does-not-honor-certain/m-p/1171148#M4317</link>
      <description>&lt;P&gt;Update 3:&lt;/P&gt;&lt;P&gt;So the way I manage my layers is through by-reference collaboration.&amp;nbsp; It turns out that at an original publish time, if the max record count is not set high enough, that is the property that is being read:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;.....
 "properties": {
    "enableZDefaults": "true",
    "allowUpdateWithoutMValues": "true",
    "allowedUploadFileTypes": "jpeg,tiff,gen,obj,shapebuffer,gtx,dae,xyz,hgt,meshwrapper,shapebufferg,ifc,fbx,n1,mtl,dwg,glb,gltf,e00,ace2,asc,gff,bmp,bt,dat,ddf,bin,dem,jpg,gif,rda,grb,grc,grd,gsb,hdr,raw,hf2,img,lcp,mem,mpl,mpr,ntf,pix,png,pnm,rst,rsw,sdat,tif,vrt,xpm",
    "outputDir": "\\\\scggisis01pw\\agshost\\directories\\arcgisoutput",
    "maxScale": "4513.9887049999998",
    "allowGeometryUpdates": "true",
    "maxRecordCount": "2000", 
.....&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But what was throwing me off is the fact that after I overwrite the originally published SD each week to keep the data current, I go in through the python api and update the properties to up my maxRecordCount to either 4000 or 4900:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt; "jsonProperties": {
    "allowGeometryUpdates": true,
    "adminServiceInfo": {
      "database": {"datasource": {"name": "/enterpriseDatabases/AGSDataStore_ds_3p0297n8"}},
      "name": "CountyZoning",
      "serviceViews": [{
        "serviceItemId": "f76c518a40bf4f13aed9ebbadc430b01",
        "refCount": 1,
        "name": "CountyZoningView",
        "type": "FeatureServer"
      }],
      "type": "FeatureServer",
      "status": "Started"
    },
    "supportsApplyEditsWithGlobalIds": true,
    "maxRecordCount": 4000,
    "description": "The County Zoning layer contains zoning designation polys for Sarasota County.",&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Still doesn't work though.&amp;nbsp; Something else is preventing display.&amp;nbsp; Worked in the morning with a new layer, doesn't work in the afternoon with an updated layer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 May 2022 21:03:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-experience-builder-questions/eb-1-8-feature-info-widget-does-not-honor-certain/m-p/1171148#M4317</guid>
      <dc:creator>DavidColey</dc:creator>
      <dc:date>2022-05-05T21:03:38Z</dc:date>
    </item>
  </channel>
</rss>

