I have a popup that includes Arcade Expressions, which appear just fine in the AGOL web map (The Arcade expressions populate the items under Owner Info:
But when I add this web map to a WAB Dev Edition application (v2.10), the arcade expressions do not appear. See the Owner Info section in the popup in the image below. There is no console error when this occurs.
However, when opening the Attribute Table widget, data does not render and the Javascript console does produce an error:
js.arcgis.com/3.26/init.js:115 Error: Runtime Error: Function Not Found: FeatureSetByName
This is an example of the arcade expression I'm using, which does call FeatureSetByName (mentioned in the console error)
var ownerTable = FeatureSetByName($datastore,"owner_info");
var parcelId = $feature.parcel;
var sql = "parcel = '" + parcelId + "'";
var ownerRecord = Filter(ownerTable, sql);
for (var f in ownerRecord){
return f.owner1
}