Select to view content in your preferred language

Remove "Add a Marker" on pop-ups

04-26-2022 02:53 AM
Esri Contributor

Hello, this is Joora from Esri Korea.

The customer wants to remove "Add a Marker" fuction on pop-ups found on Web AppBuilders for security.

The customer uses Portal for ArcGIS 10.8.1. This issue occurs the same on ArcGIS Online.

It is a default function that shows XY Coordinates of the points on the web map used in Web AppBuilders (both on edit page and view page).

It is not found on web maps, but on Web AppBuilders.

Here is how to find "Add a marker."

1. Click any point feature to see a pop-up on the web map included in Web AppBuilder.

2. Click ... on the pop-up.


3. Click "Add a marker" and click the blue pin created.

You can see the Longitude and Latitude of the pin point.



It is not allowed to remove the "Add a marker" function for now.

The user needs to get rid of this function as soon as possible, becuase it is an governmental institute.

Please refer the request so that it can solve customer's issue.

Thank you so much.





0 Kudos
1 Reply
Regular Contributor

If you are using the developer edition of Webapp Builder you can remove that button by  adding 'AddMarker' to the excluded actions array in line 153 of the PopupManager.js. That js file can be found in the jimu.js folder for your app.

var excludeActions = ['ZoomTo', 'ShowPopup', 'Flash', 'ExportToCSV', 'AddMarker',