When using Buffer, a popup will not display a value in a Web AppBuilder App. However, it is shown in an AGOL map. Centroid(), which was released with Arcade 1.3, works properly.
Versions:
WAB Developer Edition 2.6 (JSAPI 3.22)
Arcade: 1.3 (JSAPI ??)
Example:
This will return the xmin value of the extent of a buffer.
var geom = Geometry($feature)
var buf = Buffer(geom, 1, 'miles')
var ext = Extent(buf)
return ext.xmin
The resulting popup in AGOL is correct. It does not appear in WAB.
Kelly Hutchins Xander Bakker KEkenes-esristaff
Solved! Go to Solution.
Hi Phil,
When using Buffer, a popup will not display a value in a Web AppBuilder App. However, it is shown in an AGOL map. Centroid(), which was released with Arcade 1.3, works properly.
Versions:
WAB Developer Edition 2.6 (JSAPI 3.22)
Arcade: 1.3 (JSAPI ??)
Arcade 1.3 is only integrated in JS API version 3.23. So if WAB Dev edition 2.6 uses JS API 3.22, there will be no official support for the functions new in Arcade 1.3. To clarify, this doesn't mean that all new functions released in 1.3 weren't present in the Arcade codebase in prior versions. Some were, but weren't documented or officially "released". For example, Centroid was likely included in the Arcade codebase prior to Arcade 1.3, but we hadn't documented it because it wasn't thoroughly tested. Other reasons may include wanting to release all geometry functions in the same release. In fact, there are some other geometry functions technically present in version 1.3 that we didn't "release" or document because we don't have valid use cases for them yet. They will likely come later as we expand Arcade's ability to access other features within the context of a single feature.
I hope this explanation helps.
Hi Phil,
When using Buffer, a popup will not display a value in a Web AppBuilder App. However, it is shown in an AGOL map. Centroid(), which was released with Arcade 1.3, works properly.
Versions:
WAB Developer Edition 2.6 (JSAPI 3.22)
Arcade: 1.3 (JSAPI ??)
Arcade 1.3 is only integrated in JS API version 3.23. So if WAB Dev edition 2.6 uses JS API 3.22, there will be no official support for the functions new in Arcade 1.3. To clarify, this doesn't mean that all new functions released in 1.3 weren't present in the Arcade codebase in prior versions. Some were, but weren't documented or officially "released". For example, Centroid was likely included in the Arcade codebase prior to Arcade 1.3, but we hadn't documented it because it wasn't thoroughly tested. Other reasons may include wanting to release all geometry functions in the same release. In fact, there are some other geometry functions technically present in version 1.3 that we didn't "release" or document because we don't have valid use cases for them yet. They will likely come later as we expand Arcade's ability to access other features within the context of a single feature.
I hope this explanation helps.
Thanks for your reply.
It would be helpful to document what version of JS API is targeted per Arcade release in the release notes section of Arcade's doc page.
That's good feedback. I'll make a request for that.
Phil,
When WAB Dev 2.7 is release (very soon). It is using JS API 3.23 and thus will support Arcade 1.3 methods.
Soon, like 1st Quarter soon? Or soon like, this month soon?
Should be this month