|
IDEA
|
Saw @RPGIS's idea for ArcGIS Enterprise and thought I'd add the idea to the ArcGIS Online too. The ability to use Arcade expressions for filtering data in ArcGIS Online's Map Viewer would be extremely useful. We already have the ability to use arcade for symbology and pop-ups, but filtering has been left out. A simple use-case for this would be checking to see if the CreateDate field is within the Current year. This is easily achievable with Arcade with IIF(Year(Today()) == Year($feature.CreateDate), 'YES', 'NO'). With this I could make it so my map is always showing relevant information, but instead I have to change the year on the filter manually every January. Lots of other use-cases become possible if Arcade Expressions are allowed in map viewer.
... View more
01-10-2023
08:09 AM
|
35
|
5
|
3800
|
|
IDEA
|
@DuncanHornby , worked perfectly! Thank you for that code snippet. Will be using in several tools.
... View more
01-06-2023
11:59 AM
|
0
|
0
|
2191
|
|
IDEA
|
@DuncanHornby Thank you for the recommendation. I have attempted to to edit the validation code section to achieve contingent parameters in the past but could not figure it out with the limited documentation I found at the time. Do you have any validation code examples that show how to hide a parameter and display it based on an option chosen in a previous parameter? I have a lot of use-cases for this. Thanks!
... View more
01-05-2023
09:21 AM
|
0
|
0
|
2206
|
|
IDEA
|
Hey @DuncanHornby , Thanks for reaching out. I am indeed using arcpy.mp with ArcGISProject() in my script tools, but the parameter Data Type I need to use in "File" and I can't default "CURRENT" as a choice in python because I need to allow the user to choose other projects. Only option is to set it as a text parameter but then they cant browse through files.
... View more
12-27-2022
07:36 AM
|
0
|
0
|
2232
|
|
IDEA
|
Noticed that there is no "Current Project" environment variable for geoprocessing. I like to create script tools to streamline workflows and a useful one for me would be to use the current project. I've made a fair number of script tools that need to reference a project and more often than not, the user will want to use it on their current project. If there was a "Current Project" environment variable then the default for a parameter could be set to that. Some examples for script tools I've made that would use this. Export all layouts in a project as a certain format (.pagx, .pdf, .jpg, .aix) Change all data sources in a project to new one. Image including some of the current environment variables
... View more
12-16-2022
07:44 AM
|
2
|
7
|
2306
|
|
IDEA
|
Also SQL comments appear to not work in Label classes either for published vector tiles.
... View more
11-23-2022
10:50 AM
|
0
|
0
|
1051
|
|
IDEA
|
I just found out that if you have SQL comments in your display filter query, that display filter will just not work in your published Vector Tiles. I need to be able to add SQL comments to keep it organized when I'm querying for Unique IDs in a road layer. Currently using ArcGIS Pro 2.9.5, will be testing soon with 3.1. Ex: For my display filter between 144K - 18K I only want to show highways and county roads (which is handled by "ROUTE_SYS"), but there are certain road segments beyond those road categories I need to show that are relevant so I'm using unique IDs from "ROADSEG_ID". This query works with vector Tiles ROUTE_SYS IN ('04', '07', '05', '01', '02', '03', '22', '53', '41') Or ROADSEG_ID IN ('0805469A-1938-43E9-A18F-05FDFE2E7B4E', 'D6BE7AA6-D7A7-4BDB-87B6-05A045BE47DA', '00A91117-6B17-4DDE-A0CC-BF097A8D00DA', '00A91117-6B17-4DDE-A0CC-BF097A8D00DA', 'F0902E65-1277-4542-8E5F-6759E243FFF7', 'E8799B99-27AF-4743-8C56-F392B04B4557', '1439D56D-BBCA-464D-BA85-3F763C7F2C77', '32C5DD3A-00F7-4BC5-A0F9-50740DB4A449', 'E8350270-3BCA-4862-9B4C-328B2E9CC7C9', 'C1520FD3-30AD-4F53-99CE-0C0DFD4061CA', '9D479888-74DC-4970-91BD-03161FA0AF3A', '87EA2E09-005C-4A18-A81E-3B8F94B90825', 'BB054E48-2451-4C1A-8295-BB1B3AE47BB1', 'EC581F38-5B84-4BF6-A97F-3341B7B47E59', '8A97A63F-1A5C-428C-87A4-30B0C189C21C') but this query I use with comments to organize the segments does not work. ROUTE_SYS IN ('04', '07', '05', '01', '02', '03', '22', '53', '41') Or /*Special Cases for PDF Maps*/ ROADSEG_ID IN (/*Parley Lake Rd/Ln*/'0805469A-1938-43E9-A18F-05FDFE2E7B4E', 'D6BE7AA6-D7A7-4BDB-87B6-05A045BE47DA', '00A91117-6B17-4DDE-A0CC-BF097A8D00DA', '00A91117-6B17-4DDE-A0CC-BF097A8D00DA', 'F0902E65-1277-4542-8E5F-6759E243FFF7', /*Steiger Lake Ln*/ 'E8799B99-27AF-4743-8C56-F392B04B4557', '1439D56D-BBCA-464D-BA85-3F763C7F2C77', '32C5DD3A-00F7-4BC5-A0F9-50740DB4A449', 'E8350270-3BCA-4862-9B4C-328B2E9CC7C9', 'C1520FD3-30AD-4F53-99CE-0C0DFD4061CA', '9D479888-74DC-4970-91BD-03161FA0AF3A', /*Zachary Ln N*/ '87EA2E09-005C-4A18-A81E-3B8F94B90825', 'BB054E48-2451-4C1A-8295-BB1B3AE47BB1', 'EC581F38-5B84-4BF6-A97F-3341B7B47E59', '8A97A63F-1A5C-428C-87A4-30B0C189C21C') Everything validates correctly in pro and functions properly there. If published as vector tiles though, the roads for this scale/display filter just don't work. (Left query with comments, right query without comments)
... View more
11-23-2022
10:33 AM
|
1
|
1
|
1059
|
|
IDEA
|
Hey @JeffBarrette, It was my mistake. The file extension was not included which caused it to error out. The other export functions like .exportToPDF() do not require the file extension which is why I wasn't sure what was causing the issue.
... View more
08-22-2022
01:37 PM
|
0
|
0
|
1892
|
|
IDEA
|
@JeffBarrette That's great to hear! I look forward to trying it out in my next holistic session.
... View more
07-29-2022
11:37 AM
|
0
|
0
|
2218
|
|
POST
|
@AndreasEugster Just wanted to let you know that I've created an idea for this issue (https://community.esri.com/t5/arcgis-pro-ideas/complex-dash-patterns-from-vector-tiles/idi-p/1196864/jump-to/first-unread-message) I've also spoken to @TommyFauvell & @DanielStephen and they are are aware of the issue. I'll be making a support case as well to get this logged as an enhancement request.
... View more
07-28-2022
09:17 AM
|
1
|
1
|
3326
|
|
IDEA
|
Complex dash patterns (Ex: dash - dot - dash) published as vector tiles work in the regular Map Viewer but do not work in Map Viewer Classic, Javascript API 3.x, or ArcGIS Pro's map viewer. When I am creating vector tiles, I am using them for multiple maps and I need them to appear consistently across all of them so there is not user confusion. We use complex dash patterns to illustrate different allowed usages of our trails and if it appears incorrectly then that user might think they can do something on that trail that is not allowed. Map Viewer Map Viewer Classic The only workaround I have found is using Vector Tile Style Editor to change the pattern. I duplicate the layer and change the pattern for each of them to mimic a dash dot dash pattern. This ensures that everyone is at least seeing the same thing. Layer Dash Template Original 1,3 Duplicate 2,6 Another good place in Geonet to see this issue is https://community.esri.com/t5/arcgis-vector-tile-style-editor-questions/vectortilestyle-dashed-lines/m-p/1084412. Also as an FYI I've spoken to @TommyFauvell & @DanielStephen so they are are aware of the issue. I'll be making a support case as well to get this logged as an enhancement request. Update 8/2/2022: Limitation logged as BUG-000151224
... View more
07-28-2022
09:12 AM
|
7
|
0
|
939
|
|
IDEA
|
@FabioLuiz Not sure if you are able to change the community after the fact, but this Idea got filed under Experience Builder when it probably should have just been under ArcGIS Online as a whole. Fully support this idea and my organization would be thrilled to see it happen. I just got this logged as an enhancement with Support Services as well. ENH-000150894 : Allow for ArcGIS Pro display filter functionality in ArcGIS Online Here is my organization's use case: Three Rivers Park District has developed it’s own custom vector tile basemap using a single authoritative ArcGIS Pro Map file that is also used in all 80+ static map exports we create as well. We display this map on our website(https://www.threeriversparks.org/locations) using the javascript api. We currently create a separate hosted feature layer so we can generate a dynamic legend that only shows what is visible in the map extent. Unfortunately the process to develop this hosted feature layer is tedious because we utilize multi-scale symbology and display filters in ArcGIS Pro to make our map file and vector tiles more efficient. Both multi-scale symbology and display filters are currently not supported in feature layers, so to get around this we need to split apart our each layer from our authoritative Pro map into separate layers to represent each scales display filter & symbology. It’s not the easiest thing to keep track of since we essentially have to remake each layer from scratch and copy over the symbology and definition query. If we make changes in the authoritative map we then have to adjust the legend service as well. If multi-scale symbology and display filter data was supported in a feature service then I can see this being very useful for our use-case but just a lot more efficiency within the portal environment.
... View more
07-19-2022
02:22 PM
|
0
|
0
|
815
|
|
IDEA
|
Arcpy.mp's exportToPAGX is currently unable to export as an overwrite. Use .pagxs to store layouts and need to be able to overwrite with this function. When attempting to exportToPAGX() with the same filepath as another .pagx in that folder, I get this error: <module> layout.exportToPAGX(out_pagx=OutputExport) File "C:\Program Files\ArcGIS\Pro\Resources\ArcPy\arcpy\_mp.py", line 1526, in exportToPAGX return convertArcObjectToPythonObject(self._arc_object.exportToPAGX(*gp_fixargs((out_pagx,), True))) RuntimeError: Failed to export pagx to path: "......."
... View more
05-18-2022
04:48 PM
|
2
|
6
|
2010
|
|
IDEA
|
Hey @JeffBarrette , Thanks for taking a look at this. A list would be fantastic either as just names or even better as layout/map objects. The example you point out is the exact issue I was encountering with my projects, because I wouldn't know the exact sequential number that would be assigned to the most recent imported map/layout. If importdocument() is returning a list of names, I would definitely expect it to give me the new name as that is how it is referenced in the project and listlayouts()/listmaps().
... View more
04-07-2022
01:20 PM
|
0
|
0
|
2310
|
|
IDEA
|
@CraigWilliams Thank you for taking a look at this. Okay maybe I should have added more details. I would specifically like for the manual select via the map(ex: drawing a square to select) to be disabled or some kind of toggle that would allow for this. Perhaps this can still be considered? I agree that everything should still exist in the attribute table and be selected through there and the geoprocessing tools.
... View more
04-01-2022
06:17 AM
|
0
|
0
|
1903
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 11-06-2025 09:17 AM | |
| 2 | 10-30-2025 11:29 AM | |
| 3 | 10-30-2025 10:12 AM | |
| 7 | 10-15-2025 08:02 AM | |
| 6 | 10-09-2025 09:11 AM |
| Online Status |
Offline
|
| Date Last Visited |
Monday
|