|
POST
|
Hi Nicole. Thanks for the reply. So, I am able to use an arcade expression. I'm not using the media element, but rather a text element and I configure the img tag in html mode, using the arcade expression for the source attribute. That part is all good. The challenge I'm facing is like this. There are about 5k control points. Most have a corresponding image on my web server, but some don't have an image there. I don't know which points are missing an image, so I'm looking for a way to display an alternate image in the popup for those that don't have one.
... View more
yesterday
|
0
|
1
|
26
|
|
POST
|
Hi. My webmap displays an image in the popup, with the source attribute dynamically created like this: "https://<domain>/Images/SurveyReports/" + Text($feature.CONTROLID) + ".gif". Works fine, but there are some features that lack an image in that folder. In that case, I'd like to automatically display an alternate image. Like a placeholder that shows something like 'comming soon' or 'no image found'. Note that there is no field in the layer that indicates existence of the image in that folder, so I can't use arcade to check a field and specify a different url dynamically. html img tag does have an onerror attribute, but it appears it's not supported in popup elements. My other thought is to try ussing css to stack two imges one on top of the other, with the alternate image being below the other image so that if that top image does not exist, the bottom one would be visible. Not not sure how to accomplish this with inline css. Any ideas? Thanks.
... View more
Monday
|
0
|
3
|
107
|
|
POST
|
Thanks for the ideas. I wond up creating all the 'planning' content via the arcade expression, which is basically the suggestion that several of you suggested. That way the extra line break is not as problematic.
... View more
Monday
|
1
|
0
|
26
|
|
POST
|
Hi. In a popup, I'm struggling to remove extra white space between elements. So, I have a text element, then an arcade element followed by a text element. There is extra space between each of these. In the snip below, you can see that there is a lot of space btwn the arcade element, which is a table of zoning info and the text elements above and below it. Is there some way to remove that so that the 'Planning' portion is more compact? Here is how the popup is configured Thanks
... View more
3 weeks ago
|
1
|
6
|
300
|
|
POST
|
Hi. There are seveal questions on this board regarding alerts for usage of api keys. I'm wondering if this can be scripted? Reading up on the ArcGIS API for Python, at first glance, it looks promising. There is an item.usage method, which accepts time range parameters. The api key is an item. When I tried getting the usage for the api key, however, it returns an empty array, although the api has been used to create several service areas in the last week. I'm guessing api keys usage is tracked differently from othe items? So, the question is: Is there any way to retrieve api key usage via a script or automated method? Thanks
... View more
09-17-2025
09:27 AM
|
0
|
0
|
173
|
|
POST
|
Hi. Wondering if it's possible to add validation to forms in Map Viewer? I'm able to do some basic validation with required fields, min/max length, etc., but I'd like to add validation for things like email, phone number and like that. Is this feasible? Thx
... View more
12-20-2024
01:32 PM
|
0
|
2
|
695
|
|
IDEA
|
Yes, I opened a ticket and found out that the capability is not supported if the layers source is a query layer. That is classified as a feature defect and may be fixed in a future release. So, just to clarify, this is implemented, but not for all layer types... Thanks
... View more
12-09-2024
07:55 AM
|
0
|
0
|
1117
|
|
IDEA
|
@clt_cabq thanks for the reply. For some reason, I'm not seeing that option in the list of actions. Odd.
... View more
11-19-2024
09:49 AM
|
0
|
0
|
1223
|
|
IDEA
|
For a list widget, there are map actions the can be configured when a list item is selected, such as filtering data, pan, zoom the map, etc. I think it would be really useful to add an additional action to 'display the popup' for the selected feature on the map. That way, one could configure the map to zoom to a feature and display the popup. A related idea is to configure the popup to close when an item is selected via the list. For my app, the behavior is like this. When one selects a list item, the map zooms to the feature and a details widget displays info for that feature. All good except for this scenario: users may have clicked on a map feature previously, and have a popup displayed. Now, if they select a list item, the details widget shows info for that project, but the popup is still displaying, likely for a different feature, and that's confusing. I Should be able to configure closing the popup. Thanks
... View more
11-19-2024
08:56 AM
|
1
|
5
|
1242
|
|
POST
|
Hi. My dashboard has a map, configured with a popup. The way that popup is displayed has changed recently. It used to look similar to how the popup looks in the map viewer, with the popup pinned in a corner of the map. Now the popup displays as a column on the right side of the map taking up the entire vertical space of the map (see screenshot - the popup is circled with orange graphic). Does anyone know why\how this changed? Nothing about this is documented in release notes for the November update to AGOL... When editing the dashboard, there is no configuration for how popups display. I don't see this as an improvement. Thanks
... View more
11-19-2024
08:40 AM
|
6
|
8
|
2053
|
|
IDEA
|
Hi. For a list widget, when configuring actions that apply to the map, there are some limitations: 1) There is no capability to highlight features. Flash is the only thing close, and it's not ideal, since it is temporary, and may be an accessibility issue (might trigger seizures). Also, there appears to be no way to specify the color used to flash a feature. 2) Zoom - allow author of app to specify zoom level for polygon and line features. By default, the app zooms too close, especially for small features. The end user would then need to zoom out manually in order to get the location context. 3) Zooming is a bit disorienting, again especially for smaller features where the map zooms to a large scale. What I'm seeing is the map zooms in and initially, the symbol of the feature covers the entire screen briefly. So, for instance, I'm zooming to a blue point and as the map zooms in, the entire frame of the map turns blue, for about a second, before rendering the map. Nice if this were a bit smoother.
... View more
08-09-2024
08:55 AM
|
5
|
0
|
409
|
|
POST
|
Hi. We tend to build web mapping apps in dev or test and then migrate to production. One part of that migration is updating the layers in the webmap so that they are using the proper map/feature service according to the environment. Assuming the layers are referenced via the service url, this task is fairly easy. Our dev, test and prod services follow the same pattern, so I can use ArcGIS Online to do a search and replace, something like below: dev: https://web-dev.domain.com/ext/rest/services/.... test: https://web-test.domain.com/ext/rest/services/.... This is especially useful for webmaps that have a lot of layers or complicated configurations of labels, popups, arcade expressions, etc. Now, the problem. I'm creating a new webmap in dev but saving each feature layer as an item. Doing this mainly because we can store credentials for secured services with the item, thus eliminating the need for staff to sign in to the secured service (also, it seems Esri is recommending this pattern, as a better approach to creatign webmaps - I saw this I think in a blog post, but not finding it now). So far, so good, but when it comes to updating the test webmap, the AGOL Assistant 'Update URLs of a Webmap...' tool can't be used because the webmap now references a bunch of items, each with it's own random alpha-numeric item id. Since there is not pattern to these IDs, there is no easy way to automate updates\migrations between environments (no search and replace capability). Looking for recommendations. We do subscribe to Geo Jobe Admin tools, which has a bunch of tools for managing portals, but not really finding a good work flow with that option. Perhaps there are options with arcgis api for python? Thanks So, let's say I have my dev webmap, referencing a dev map service and I'm ready to create the test version,
... View more
06-11-2024
10:44 AM
|
0
|
0
|
704
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | Monday | |
| 1 | 3 weeks ago | |
| 6 | 11-19-2024 08:40 AM | |
| 1 | 11-19-2024 08:56 AM | |
| 5 | 08-09-2024 08:55 AM |
| Online Status |
Offline
|
| Date Last Visited |
yesterday
|