POST
|
I have a numerical attribute field containing integer values and would like to have the label expression display a corresponding value for each integer. I have created a dictionary representing these values. However, the label expression dialogue indicates an error in line 2: Invalid Key. I cannot see anything wrong with the format of the dictionary based on other examples found within the forums. The Arcade expression is shown below. var stuff = {
0: "SCC",
101: "SEP",
4: "CLT",
23: "CGS",
8: "CTR",
7: "CTH",
14: "DSW",
9: "ECT",
5: "FTH",
21: "GPS",
10: "GSL",
3: "ITH",
22: "ITS",
13: "ISH",
20: "OSR",
17: "PTC",
26: "PCT",
24: "SAL",
18: "STC",
15: "SWR",
19: "STR",
6: "TFA",
12: "3SS",
11: "2SS",
100: "GPE",
25: "WHI",
102: "RET",
103: "TSI",
104: "POL"
};
var keyField = "Type"; //this is the attribute field with the integer values
var lookupKey = $feature[keyField];
var lookupResult = Dictionary(stuff)[lookupKey];
... View more
10-26-2023
10:45 AM
|
0
|
9
|
1705
|
POST
|
Supposedly the Arcade Distinct function will be working in the 3.2 release...(several years after it was first shown in the documentation). You can read comments from others here.
... View more
10-12-2023
12:29 PM
|
1
|
0
|
593
|
POST
|
like i said, 3.1.3 fixed this for me...3.2 isn't far off so I wouldn't be hanging on to 3.0 for too long...
... View more
10-05-2023
05:39 AM
|
0
|
0
|
519
|
POST
|
I am happy to say that upgrading to the latest patch of 3.1.3 has resolved this issue for me! I hope this works for the rest of you!
... View more
10-04-2023
03:16 PM
|
0
|
0
|
529
|
POST
|
I am happy to say that upgrading to the latest patch of 3.1.3 has resolved this issue for me!
... View more
10-04-2023
03:15 PM
|
0
|
0
|
2794
|
POST
|
@TomKukitz Do you have any documentation related to this?
... View more
10-04-2023
02:30 PM
|
0
|
2
|
544
|
POST
|
I don't see how this is the solution when the issue is with HFL's and AGO.
... View more
10-04-2023
02:29 PM
|
1
|
1
|
2802
|
POST
|
On this particular device, I'm running a standalone install of miniconda 23.7.3 (no ArcGIS Pro environment). This comes with ArcGIS 2.1.0.3. According to the Esri documentation, "your installed ArcGIS API for Python version must EXACTLY match this installed arcgis-map-ipywidget" According to the GitHub wiki for the ArcGIS API, the latest version is 2.0.0 (February 2022). When I install Jupyter Lab and attempt to install the ArcGIS map ipywidget extension via Jupyter Lab, it installs v1.8.1. the Jupyter Labextension update command has been deprecated. Has the development on the API ceased? The last update appears to be >1.5 years ago. Is there a way to get the extension/widget to work with Jupyter Lab and the latest ArcGIS API??
... View more
09-18-2023
09:57 AM
|
1
|
1
|
667
|
POST
|
the documentation suggests it is available but when i search power automate for the connector I don't see it! https://doc.arcgis.com/en/microsoft-365/latest/power-automate/set-up-the-arcgis-enterprise-connector.htm
... View more
08-17-2023
01:27 PM
|
0
|
2
|
1492
|
POST
|
Does anyone have any suggestions regarding this? Does anyone utilize Feature Services as an input to GP Tools?? Here's what Chat GPT 4 had to offer: It sounds like you're facing an issue while trying to publish a geoprocessing tool to ArcGIS Server that uses a feature service as input. The problem arises because ArcGIS Server doesn't support registering a feature service with ArcGIS Datastore, which leads to a failure during the validation process. Here are a few steps you can consider to resolve this issue: 1. **Use a Geoprocessing Service**: Instead of trying to publish the geoprocessing tool with the feature service as input directly, you could create a separate geoprocessing service that takes the feature service as input and then use that geoprocessing service as a tool within the main tool you're trying to publish. 2. **Data Extract**: Depending on the nature of your geoprocessing task, you could use the feature service as a reference but extract the necessary data to a file geodatabase or other supported data source that can be used in the geoprocessing tool. This extracted data could then be included with your geoprocessing tool when you publish it. 3. **Temporary Feature Class**: If possible, you could create a temporary feature class within a supported geodatabase (like a file geodatabase) and populate it with the features from the feature service. This temporary feature class could be used as input for your geoprocessing tool. 4. **Data Replication**: If your workflow requires frequent updates to the feature service, you could consider setting up a data replication process where the feature service's data is periodically copied to a registered data source that is compatible with ArcGIS Server. 5. **Contact Esri Support**: If you're still facing issues, it might be a good idea to reach out to Esri's technical support. They can provide you with more specific guidance and troubleshoot your scenario to find the best solution. Remember that the specifics of your workflow and environment can influence the best approach to take. Choose the option that aligns most closely with your requirements and available resources.
... View more
08-17-2023
08:19 AM
|
0
|
2
|
835
|
IDEA
|
Pfff....I wouldn't trust it is fixed in 3.2. (a yet to be released version at that!). How can any developer release a documented function for numerous releases only to have the user base point out it does not work and then only by majority of petition to actually fix it? Esri has outsourced testing to its user base...I have several examples within just my own experiences that illustrate this...
... View more
07-16-2023
07:13 PM
|
0
|
0
|
714
|
IDEA
|
3.2🤞 It's ridiculous to me you would advertise functionality in advance of it never working...and even have documentation for it...and then only by users reporting the issue is the issue roadmapped to be implemented several versions later 🤣 Clearly Esri isn't testing their own functionality. The insult to injury is that the user base needs to justify why this functionality matters before the solution provider considers development on it to actually make it work. All too often. This is ridiculous...do better Esri....
... View more
07-16-2023
06:57 PM
|
0
|
0
|
1381
|
POST
|
@QuantitativeFuturist @NeilMYoung @GarethBaker1 I apologize for not updating the thread with our support results from Esri: BUG-000153622 : When editing a non-hosted feature service from a SQL database with editor tracking enabled, the last edited date field remains unchanged when the Rollback on Failure option is set to False
... View more
06-28-2023
01:07 PM
|
0
|
0
|
328
|
IDEA
|
@jchester73No. See @KoryKramer response that it's in the product plan for 3.2. I really wish this worked...I don't know how a function can be listed in the help guides starting several versions ago if it doesn't even work. This would greatly improve our map production process. Right now in order to accomplish this, we have duplicated layers that are unsymbolized and have another clause in the definition query reference one unique record for a subject property. The various dynamic text elements reference this dummy layer in the TOC to do the labeling we need.
... View more
04-28-2023
05:53 AM
|
0
|
0
|
1589
|
Title | Kudos | Posted |
---|---|---|
1 | 08-09-2024 06:55 AM | |
1 | a month ago | |
1 | 07-23-2024 08:00 AM | |
1 | 06-28-2024 10:29 AM | |
5 | 06-28-2024 06:58 AM |
Online Status |
Offline
|
Date Last Visited |
2 weeks ago
|