Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Geometry arcade functions in pop-up element not working correctly in Manager instant app #811

Open
azizaparveen opened this issue Aug 23, 2024 · 4 comments
Assignees
Milestone

Comments

@azizaparveen
Copy link
Collaborator

azizaparveen commented Aug 23, 2024

Esri product
ArcGIS Instant Apps

Solutions impacted
Multiple solutions

Describe the bug
Geometry arcade functions that are used in an Arcade pop-up element work as expected in Map Viewer. The below screenshot is showing an Arcade element that provides a button to create a work order which opens a survey and passes in the location based on the centroid of the selected polygon's geometry.

Working as expected in Map Viewer
image

but not working in Manager
image

Impact
The Infrastructure Solutions team is making plans to modernize all Crowdsource Manager apps to Instant Apps where necessary. Any current Crowdsource Manager apps that use geometry functions in the pop-up may be impacted.

Expected Behavior

Geometry arcade functions used in Arcade pop-up elements should work as expected in the Manager Instant App.

Reproduction Steps & Sample

  1. Go to https://solutions-test.maps.arcgis.com/apps/mapviewer/index.html?webmap=f7c62ee8761747fda372b8781a67e00c
  2. See expected behavior of sample arcade expressions in pop-up elements
  3. Go to https://solutions-test.maps.arcgis.com/apps/instant/manager/index.html?appid=a34fd859ed7047f4a6fc8b8f27205269
  4. See arcade expressions not working properly in pop-up elements of app (either blank or 0)

Other Relevant Info

No response

@sumitzarkar
Copy link
Collaborator

@azizaparveen

We are not able to access the above shared webmap and app, could you please share the access

@azizaparveen
Copy link
Collaborator Author

@sumitzarkar, they are shared now.

@azizaparveen azizaparveen changed the title Geometry arcade functions in pop-element not working correctly in Manager instant app Geometry arcade functions in pop-up element not working correctly in Manager instant app Aug 26, 2024
@sumitzarkar
Copy link
Collaborator

@azizaparveen

@jmhauck - please let us know if you see any issues in this approach

@sumitzarkar
Copy link
Collaborator

@azizaparveen

Cause

  • In the card manager when we are fetching features we are not fetching its geometry.

Solution


Dev Checklist

Items ​ Is required​ Status Comments​
Required NLS changes?​ No
Required Backward compatibility​ No
Required 508​ No
Need Sanitize?​ No

Impact Analysis Report

Impacted Areas Comments
Have Configuration changes?​ No
Have Runtime changes?​ No
Impact on RTL No
Impacted areas - Different popup confugrations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants