|
POST
|
Yes, it works if you add an additional "token" parameter as part of the WMS parameters. Make sure to obtain the token from the correct endpoint (AGOL, Portal or Server). For ArcGIS Online or Portal, this is https://www.arcgis.com/sharing/rest or similar to https://www.example.com/portal/sharing/rest. For ArcGIS Server this is similar to https://www.example.com/arcgis/rest/services.
... View more
08-15-2022
01:30 AM
|
0
|
0
|
388
|
|
POST
|
Thanks for the info! Can't believe I missed that post. That might well be the issue. Even the popups are using sanitizer!
... View more
06-28-2022
10:18 AM
|
0
|
0
|
1813
|
|
POST
|
Hi @BenElan I see in your codepen that the content is a DOM object that is created. With this codepen (https://codepen.io/fcbasson/pen/JjLjNQB) I am creating the HTML content as a string, and this method has been working for me so far. After I changed to 4.24 this method "broke", but I also picked up that by setting the API to 4.23 in my codepen also does not work. For my production app I'm creating calcite tabs with dynamic content that is set as the popup content, which has been working for me up to now. From my understanding, HTML content in the popup can be set with a string, but I'm obviously missing something.
... View more
06-28-2022
09:52 AM
|
0
|
2
|
1820
|
|
POST
|
With the release of the new Javascript API 4.24, Calcite components are not being displayed and rendered properly in the popup. Upon inspection of the DOM, all calcite component tags have been cleared/removed and only the text of the components is being displayed. It was working fine with the 4.23 version of the JS API, so unless I'm missing something when setting the content for the popup, I'm suspecting this is a bug. I've tested it in the Sandbox samples too and getting the same result.
... View more
06-28-2022
04:44 AM
|
0
|
4
|
1855
|
|
POST
|
Well, I'm also not sure why the "modern" version of the syntax resolved my issue, but that was the only way I could get the tool to work. What I also found was the autocomplete for the commands in the Python console in Pro automatically selects the modern syntax as specified in the parameters for the tool in all the docs. Hopefully, someone from Esri can give us more insight into the issue.
... View more
05-27-2022
02:54 AM
|
1
|
0
|
1940
|
|
POST
|
Same kind of question here: https://community.esri.com/t5/python-questions/arcpy-management-lt-gp-tool-gt-vs-arcpy-lt-gp-tool/td-p/66673. So I guess it is the same implementation, but with different syntax. The old syntax broke my GP tool that I created in Pro, but changing it to the new syntax made it work.
... View more
05-26-2022
12:58 AM
|
0
|
2
|
1944
|
|
POST
|
You're right. The active property sets the modal visibility (fade in or fade out). // show modal
document.querySelector('calcite-modal#<modal ID>').active = true;
// hide modal
document.querySelector('calcite-modal#<modal ID>').active = false; The modal ID is optional, or you can just use the ID as the selector.
... View more
05-04-2022
11:52 PM
|
0
|
0
|
1408
|
|
POST
|
I found that the arcpy command syntax was the issue. Replace the following arcpy commands: arcpy.CreateDomain_management with arcpy.management.CreateDomain arcpy.AddCodedValueToDomain_management with arcpy.management.AddCodedValueToDomain See the syntax here: https://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/create-domain.htm
... View more
03-24-2022
12:01 AM
|
0
|
0
|
2009
|
|
POST
|
I found that the arcpy command syntax was the issue. Replace the following arcpy commands: arcpy.CreateDomain_management with arcpy.management.CreateDomain arcpy.AddCodedValueToDomain_management with arcpy.management.AddCodedValueToDomain This fixed my similar issue.
... View more
03-23-2022
11:54 PM
|
0
|
0
|
1538
|
|
POST
|
Folder structure has changed slightly for more recent versions. For my Pro installation the user.config file is in: C:\Users\<username>\AppData\Roaming\ESRI\ArcGISPro.exe_StrongName_yhpsrysqpn4fvmb0spwbakt5o5e50din\2.8.0.0
... View more
10-18-2021
01:43 AM
|
0
|
0
|
3988
|
|
POST
|
You should try running the intersect on the point feature buffer geometry: var fsParcelIntersect = Intersects(fsparcel, Buffer($feature, 1, "meter"));
... View more
11-05-2020
02:49 AM
|
0
|
0
|
1134
|
|
IDEA
|
This is not a function of the API, but the Web Map Print Service from your server. The print templates need to be set up to filter the symbology for the visible area. This works with print services published from ArcGIS Pro and with the default Utilities Print Services from 10.7 and up. This is obviously for vector layers only and not raster layers.
... View more
10-30-2020
11:49 PM
|
1
|
1
|
5099
|
|
POST
|
Your row count can be done like this in Modelbuilder with you Calculate Value expression like this
... View more
05-08-2020
03:42 AM
|
2
|
1
|
1433
|
|
POST
|
Have a look at this info Using If-Then-Else logic for branching—Help | Documentation and these examples: https://www.esri.com/arcgis-blog/products/arcgis-desktop/analytics/if-you-are-stuck-at-if-part-1/?rmedium=blogs_esri_com&rsource=/esri/arcgis/2011/06/06/modelbuilderifthenelse1/
... View more
05-07-2020
11:35 PM
|
0
|
0
|
1433
|
|
POST
|
I think it is getting ignored or "trimmed". I tested this code import arcpy
arcpy.AddMessage("first line")
arcpy.AddMessage("\n ")
arcpy.AddMessage(".\n")
arcpy.AddMessage(".")
arcpy.AddMessage("second line")
arcpy.AddMessage("first line\nsecond line") and got this output So you might need to use an additional character to create a spacing between output lines.
... View more
05-04-2020
02:33 AM
|
1
|
0
|
4406
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-22-2024 12:37 AM | |
| 1 | 10-02-2025 10:28 AM | |
| 1 | 09-17-2024 12:29 AM | |
| 1 | 03-15-2024 11:33 AM | |
| 1 | 03-13-2024 11:20 PM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|