|
POST
|
This should accomplish what you're asking. It's not necessary to bring in the web map. Just use the direct feature service URL from the layer you are needing from your web map. from arcgis.gis import GIS
from arcgis.features import FeatureLayer
# Connect to ArcGIS Online
gis = GIS("https://arcgis.com", "username", "password")
# Feature Service URL and Table Layer Index
# "https://services.arcgis.com/abc123/arcgis/rest/services/MyService/FeatureServer/1"
table_url = "Your feature service URL"
# Connect to the table
table = FeatureLayer(table_url)
# Count the number of records
record_count = table.query(where="1=1", return_count_only=True)
print(f"Total records in the table: {record_count}")
... View more
04-04-2025
01:14 PM
|
0
|
0
|
810
|
|
POST
|
It looks like someone else had the same question a couple years ago. Unfortunately, that question never got answered. https://community.esri.com/t5/arcgis-enterprise-questions/data-stores-do-not-have-a-portal-url/td-p/1254889 I did find this technical support article though. It's for a different error, but it happens because either the owning system URL or Portal URL are missing. And then it explains how to fix it. But, I still recommend reaching out to Esri support first. They might have a much easier solution than what this article is suggesting. https://support.esri.com/en-us/knowledge-base/problem-unable-to-run-the-backupdatastore-or-updatelice-000027286
... View more
04-04-2025
11:09 AM
|
1
|
1
|
1797
|
|
POST
|
I actually submitted feedback on Esri's documentation stating that they should clarify what they mean by having "administrator" privileges. I can see how it is confusing because we're not sure if they're referring to a specific privilege, etc. I also created an ArcGIS Idea to add an ExB custom widget upload privilege in Portal. I think this type of task is worth having a specific privilege we can assign to people instead of it just being any random admin privilege that grants access. https://community.esri.com/t5/arcgis-enterprise-ideas/add-experience-builder-custom-widget-upload/idi-p/1602359
... View more
04-03-2025
08:10 AM
|
1
|
1
|
1935
|
|
IDEA
|
My idea is that there should be a custom Experience Builder widget upload privilege in Portal. Currently, the only requirement to add a custom ExB widget to Portal is having administrator privileges according to this documentation. However, there isn't a specific administrator privilege that enables the ability to add custom widgets. The only requirement is that the Portal account have at least any one administrator privilege. I understand limiting the ability to add custom widgets to only admins for security reasons. However, I also think that should be the organization's decision to specify who gets to add custom widgets, and I think a privilege based approach to this would work great. Currently, the only way to accomplish giving someone the ability to add custom widgets without making them a full admin is giving them a "low risk" random administrator privilege. My idea is that there should be a specific role that provides the ability to upload custom widgets. I find it odd that any one admin role provides the ability to add custom widgets, and I think that task should be a specific role that we can assign to users. This geonet post inspired this idea.
... View more
04-03-2025
08:08 AM
|
2
|
2
|
1271
|
|
POST
|
I tested this in my 11.2 environment, and while it's a little odd, it appears that it just needs one administrator privilege, but it can be any one of them. I tested this with enabling multiple privileges, one at a time. For example, I enabled Update admin privilege, and it allowed me to add an ExB widget. I then disabled it, and selected the webhook privilege, and it also allowed me to add an ExB widget. So, it appears that any one admin privilege just needs to be enabled in order to allow a user to add an ExB widget. I have to admit, that functionality is a little odd, but it appears that that is how it works.
... View more
04-02-2025
02:45 PM
|
3
|
3
|
1997
|
|
POST
|
I don't want to speak for @RachaelHarbes, but I've seen some of Rachel's other posts (including commenting on one of the ideas I've created related to this), so I think we're on the same page and would love to provide some input on this, because this is something I've been wanting/needing for a long time. For traditional/referenced feature services: When the feature service item exists in Portal, but not on Server (maybe because someone deleted directly in Server Manager). That feature service item is essentially orphaned, and it would be nice to have some sort of functionality to determine what feature service items in Portal do not have the associated feature service on Server. Another example of when this occurs is when the feature service fails to publish. It will sometimes create a feature service item in Portal with the feature service name and the date after it (FeatureServiceName_20250402). But the underlying feature service in Server doesn't exist. Of course it's easy enough to delete it manually, but it would be nice to generate a report of all the "orphaned" feature service items in Portal that do not have the associated feature service in Server. For hosted feature services: We interact with the ArcGIS Data Store directly (read only) to ETL data out of it. Like Rachel, we connect to it through PGAdmin and we're able to see the actual PostgreSQL table names and data. And at least for us, we're able to associate table names with the corresponding hosted feature service either by name (usually, the table name corresponds with the S123 name if the hosted feature service is created through S123), or if we have to, just correspond the number of records/schema with the hosted feature service in Portal. The problem is that those tables sometimes become orphaned. While it is usually pretty rare, it has happened to us in three scenarios: Republishing an existing S123 form that requires the tables to be dropped and re-created (because of a schema change). Sometimes it doesn't actually drop the table, it just creates a new one. Deleting a hosted feature service. Sometimes it only deletes the hosted feature service item in Portal, but not the actual table in the data store. When the hosted feature service item in Portal becomes corrupted. One time, we disabled and reenabled sync on a hosted feature service, and that completely corrupted the item (was not able to load any data in the hosted feature service). However, the underlying table in the Data Store still existed. So in those three cases, they become orphaned and it unnecessarily occupies space on our Data Store machine. The only way to delete them is to delete them directly in PGAdmin. Most of our hosted feature services are created from S123, and most of those include photo attachment tables, so spaces accumulates quickly. My current process of checking these things is very......manual and time consuming. So having some sort of tool that can find these orphaned items/tables would be very helpful for me. We're on ArcGIS Enterprise 11.2.
... View more
04-02-2025
07:28 AM
|
3
|
0
|
4018
|
|
POST
|
I'm not aware of any documentation that discusses migrating from the classic to the new map viewer. This blog post is the most I could find. https://resource.esriuk.com/blog/moving-on-from-arcgis-map-viewer-classic/ But as far as migrating, technically, any web maps that are created in classic are already created in the new map viewer. You can choose to open your existing maps in either classic or new map viewer. They shouldn't have to be "recreated." Theoretically, they should just "work" in the new map viewer. With that being said, one of the things that I've found that doesn't just "work" are relationship classes. In the classic map viewer, relationship classes are automatically inherited from the feature service and viewable in the pop-ups. That is not the case in the new map viewer, and those relationships have to be manually defined to be viewable in the pop-ups. And in your case, I'm sure there are other things that are different, like symbology. But unfortunately, I'm not aware of any documentation that lists things that are "different" in the new map viewer that have to be manually changed from the classic map viewer. I think at a minimum, all maps will need to be reviewed in the new web map viewer to ensure they are working as intended.
... View more
04-01-2025
07:59 AM
|
0
|
3
|
3164
|
|
POST
|
Here is something you can try. First of all, if you made any changes to the .xls survey, make sure to back them up. Copy the .xls file elsewhere or do whatever you need to do to backup that file. In Survey123 Connect, find your survey and click the ellipses button and click Download. What this should do is refresh your Survey123 .xls and other files from what has already been previously published. So if anything was inadvertently deleted on your local computer, it should get restored. That may or may not work, but it's worth a shot to at least refresh everything in S123. Edit: Forgot to say that after you download the survey, try to republish it again.
... View more
03-31-2025
10:58 AM
|
0
|
0
|
598
|
|
POST
|
If the answers are going to be the same every time, here is what you can do. Create your question in Survey123, and then add a constraint to it. The constraint will prevent the survey from sending unless it meets the criteria of the constraint. And then you can also include a constraint message that will tell the user if the answer is not correct. I attached a screenshot example below. For this one, there is a constraint of .="test" meaning that it will only submit the survey if the user inputs test in the question. If they enter anything else, there is a constraint message stating that. Note that for text responses, the text value needs to be in quotes in the constraint.
... View more
03-31-2025
10:48 AM
|
2
|
1
|
2500
|
|
POST
|
Is this going to be a pre-determined question/answer that will stay the same for every single survey that is submitted? Or will the answers be dynamic?
... View more
03-31-2025
10:37 AM
|
0
|
2
|
2507
|
|
POST
|
Per Esri's documentation, you can upgrade directly to 11.3 from 10.7.x or higher is supported. Is there a reason why support is advising you to upgrade to 11.1 first? I'm not saying that is an incorrect workflow, but there shouldn't be any issues going from 10.9.1 to 11.3 directly. And also, what issues are encountering?
... View more
03-27-2025
07:22 PM
|
1
|
0
|
2431
|
|
POST
|
When Esri releases 11.5, Esri will provide all the versions you will be able to upgrade from in their documentation. For 11.4, you can upgrade directly from 10.8.x or higher. So for 11.5, I would definitely expect a direct upgrade from 11.2 will be possible and supported.
... View more
03-27-2025
07:19 PM
|
0
|
0
|
2271
|
|
POST
|
Well, in that example, it states that hqo.n_1E7 is the managed user. The dot notation (.) is a part of the username, and it isn't there to separate the username and database name. And also in that example, they don't even include the database name in the syntax because it's optional for the relational data store database. Edit: Just to provide some further explanation, I'll walk through their example. They are wanting to allow a connection from a computer named workcom to connect to the relational data store (which is not named) as the hqo.n_1E7 managed user. Keep in mind that for the relational data store, the database name is optional. Therefore, the correct syntax is going to be: allowconnection workcom hqo.n_1E7 So in your case, you can input: allowconnection C1xxxx hsu_xxxxxx Since the database name is optional, you can just leave that out.
... View more
03-27-2025
01:03 PM
|
0
|
0
|
1263
|
|
POST
|
You blurred out your screenshot (which is good), but it also makes it a little more difficult to troubleshoot because I can't exactly see what you are inputting. However, I noticed you have a period (.) right before your database name. I don't believe there should be a period there, and I suspect that might be what is messing it up. From Esri's documentation, the correct syntax should be: allowconnection <host name> <username> [<database>] So, something like this: allowconnection C1xxxx hsu_xxxxxx db_8xxxxx I don't believe there should be any periods in there. For reference: https://enterprise.arcgis.com/en/portal/10.9.1/administer/windows/data-store-utility-reference.htm#ESRI_SECTION1_BA475E64731246D4AD57055E4979111F
... View more
03-27-2025
10:09 AM
|
0
|
2
|
1281
|
|
POST
|
I do all my survey development using Survey123 Connect and not the Web Designer. But I looked in the Web Designer and I'm not seeing any options to disable the sent inbox. Furthermore, if I look in Esri's documentation, I see where you can disable the Sent folder in Connect here, but in the equivalent documentation for the Web Designer here, there is no such option to disable the Sent folder. So, I don't think it's possible to do that using the Web Designer.
... View more
03-24-2025
11:36 AM
|
1
|
0
|
1684
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago | |
| 1 | 3 weeks ago |
| Online Status |
Online
|
| Date Last Visited |
3 hours ago
|