POST
|
Using the attachment viewer as part of a StoryMap webapp. Getting lots of "doesn't load" feedback from the public. On a mobile device, it is poorly integrated - you have to click an additional link to launch the separate app. But a bigger problem is the attachment viewer code is loaded from a link, rather than being part of the webapp. This makes it look like malicious code, and which results in adblockers not allowing it to load.
... View more
10-12-2020
01:32 PM
|
0
|
0
|
273
|
POST
|
An additional note. Using requests to detect broken links is somewhat flawed. It operates on the notion that a good link will return 200 and a bad one 404- unreachable. Map links are commonly "broken" by updating a map or tiles., In this case, the webmap will not load, but the link will return 200 as valid, with a message from the services directory that the service is not available.
... View more
05-19-2020
01:04 PM
|
0
|
0
|
823
|
POST
|
Update: Current hypothesis is there are outbound rules blocking on arcgis.com. Sample notebook for requests only work on arcgis.com domain/subdomain - timeout errors otherwise. Sample notebook for notification does not send on a range of smtp servers. If I download these sample notebooks to my PC, run them with the jupyter-notebook.exe installed with arcgis pro, and change arcgis('Home') to point to our AGOL site - they both work. Convenient to have notebooks as part of AGOL, but kind of broken if they can't do requests or email.
... View more
04-24-2020
04:18 PM
|
0
|
0
|
823
|
POST
|
Just getting started with AGOL Notebooks. Working through the example for detecting broken links. It works great for resources on our AGOL site, but request() fails when attempting to access feature services provided by ArcServer 10.7.1 on an AWS platform. requests.get('https://arc.g****r.net:6443/arcgis/rest/services/OperationalLayers/PCII/FeatureServer/0', verify=False) The AWS Server is a one-off, not running webadaptor - HTTPS GIS traffic goes to port 6443. The security certificate is current and valid for the host name. Entering the URL directly in a browser loads the ArcGIS REST Services Directory page and shows it as secure. Running python2.7 directly on a PC, this request succeeds, although it warns of an insecure request. In the AGOL Notebook setting, the request eventually fails with a timeout error. ConnectionError: HTTPSConnectionPool(host='arc.g****r.net', port=6443): Max retries exceeded with url: /arcgis/rest/services/OperationalLayers/PCII/FeatureServer/0 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f3c1b51e630>: Failed to establish a new connection: [Errno 110] Connection timed out',)) Suggestions?
... View more
04-16-2020
11:56 AM
|
0
|
2
|
959
|
IDEA
|
Thanks Jeff, That is useful, as it allows searching both on title and type. We use AGOL Assistant the most when a service address has changed, and we want to find every occurrence of the old URL on our site and update it. By searching for "service" I can grab everything. Thanks again for a very useful tool.
... View more
02-18-2020
10:56 AM
|
1
|
0
|
571
|
IDEA
|
We would like our webapp to display 100 or so of the 20,000 items on in the feature class. At present, there are two choices. 1) Edit the filter widget, and manually checkoff the 100 features in the list of 20,000 (no!) 2) Select a few items, save the app, edit the JSON data (AGO-Assistant) and do a search and replace in 5 places to replace the selected few with the list of 100, complicated by the fact that sometimes the list members in the JSON are in single quotes and sometimes in double quotes. Simpler would be a filter widget that has an option to use an existing CSV file. Note - the list changes weekly. This could apply for an inspection of selected parcels, or many other use cases. JSON DATA example: "filter": { "logicalOperator": "AND", "parts": [ { "fieldObj": { "name": "AccessionNumber", "label": "AccessionNumber", "dateFormat": "", "shortType": "string", "type": "esriFieldTypeString" }, "operator": "stringOperatorIsAnyOf", "valueObj": { "isValid": true, "type": "multiple", "value": [ "108847", "108845", "108844", "108840" ] }, "interactiveObj": "", "caseSensitive": false, "displaySQL": "AccessionNumber IN ('108847','108845','108844','108840')", "expr": "AccessionNumber IN ('108847','108845','108844','108840')" } ], "expr": "AccessionNumber IN ('108847','108845','108844','108840')", "displaySQL": "AccessionNumber IN ('108847','108845','108844','108840')" },
... View more
05-20-2019
12:36 PM
|
0
|
0
|
190
|
IDEA
|
AGO-Assistant has proved invaluable to my organization for updating service URLs. Unfortunately, although admin, I can only update my own services and maps. This means the workflow for service URL updates within the organization requires taking ownership, modifying, and returning each item in the organization, or explaining to each publisher how to use AGO-Assistant on their own maps to update and which services are affected. It would be ideal if AGO-Assistant could recognize admin status within an organization, and allow display, search and update functions throughout the organization.
... View more
02-21-2019
02:29 PM
|
1
|
2
|
727
|
POST
|
Removal of attachments - python. The typical suggestion for scripted attachment removal is to use arcpy.RemoveAttachments_management(), and operate on the base feature class, generate a match table (.csv), etc. to remove attachments from the table Is there any reason (underlying database issues) that you can't simply remove rows directly from the attachment table using arcpy.da.UpdateCursor? This would seem more direct and faster, and might also bypass the versioned data attachment removal issues discussed 2012-2017 for python and GP tools - am I missing something? Thanks ref: Remove Attachments not working on data in SDE, gives warning "Cannot remove attachments for OID = <oid here>" ref: Cannot add/remove attachments in python when table/featureclass is versioned
... View more
09-27-2018
11:14 AM
|
1
|
0
|
317
|
POST
|
There is a thread from 2012 that exactly describes this issue, and lists it as a bug for both python and GP - maybe it still is? https://community.esri.com/thread/64487
... View more
09-27-2018
10:38 AM
|
0
|
0
|
843
|
POST
|
This link is no longer valid. Anyone care to post the solution that used to be there? We have this issue as well. Thanks.
... View more
08-27-2018
09:58 AM
|
1
|
1
|
2190
|
POST
|
Hi Derek, Thanks for that suggestion. Our nightly script accesses a "dictionary" or "lookup table" in the form of a CSV, and uses the Serial number to lookup the values for 6 or 7 other fields. The Dictionary has about 120,000 entries, and is updated periodically from another database. The only thing that comes close in Survey123 is the pulldata function, which would use a CSV file in the Media folder on the device. I can't see a good way to keep the CSV dictionary on individual devices current. Part of this request is driven by the need to simplify field data entry - allowing an error check and providing information that is not available in the field. Part of it is guaranteeing consistent data entry for fields that are extensively used for queries. In direct database applications, there is a form driven entry with actions on change or field departure. Being able to trigger a python script on submitted data from browser or mobile clients is the closest approximation to this I can see.
... View more
05-29-2018
08:48 AM
|
0
|
0
|
412
|
POST
|
Browser and mobile clients have no capability in this regard. It would be simple to do with a sql trigger, but the esri model precludes this. Right now we have data from collector and browser and arcmap. Currently nightly python script disables services and edit tracking and compares and updates field in the feature class. Nightly updates doesn't give users inputting data feedback. Am now looking at geoevent server as a way to have realtime field calcs to fill in the blanks. Thanks! I
... View more
05-25-2018
07:27 AM
|
1
|
0
|
412
|
POST
|
Need ability for realtime python script to perform field calculations on multiple fields in a record when that record is new or updated. Looking for equivalence to SQL triggers or form departure actions - Example - a feature field for a utility pole such as "Serial number" is added/updated in the field from a asset tag. This would trigger a script to fill in other fields for that record. Currently I do this with a nightly script. Realtime updates would allow the field worker to enter a tag number and submit the record, and view results to help confirm accurate entry of "Serial number". Field data entry (Collector with a touch screen in the sunlight) is prone to error. If the realtime "serial number" field calc returned a "material type" =Steel, and it was a wooden pole, it would let the field worker see that the "Serial number" was incorrectly entered. Using a prepopulated related table does not work, since entries may be deleted or keys nulled by edits of the feature class.
... View more
05-24-2018
09:23 AM
|
0
|
4
|
499
|
IDEA
|
Field entry of data can be problematic - touch screen, sunlight, incomplete data, typos. In many cases it may consist of entering a serial number from an equipment tag, and equipment mfg, type, size, etc.. Ideally, one would enter a serial number, and the other fields would autofill, allowing immediate verification that the tag number was entered correctly, avoiding the need to type the rest of the information, and ensuring consistent values. In a database, a trigger can be set to do this on departure from the entry field; ArcGIS manages database operations, so this method is not available. It can be scripted as a scheduled task, using a "lookup table" and the serial number. "Lookup" is quoted - I am using it in the general software sense - a non-changing prepopulated dictionary - and not the specific ESRI raster usage. This results in two problems - since a trigger is not available, field personnel don't get the immediate autofill that would allow them to verify the entry. The second problem is that the closest approximation to this technique is using a related table to store the "lookup" data. This is problematic, as deletion of a serial number (primary key) will result in a null key or record deletion in the related table. I would like to either have access to database triggers to run a script on changing a particular field, or the ability to have a "related" table that does not delete the key values or records - essentially a write-protected related table.
... View more
05-14-2018
03:53 PM
|
8
|
2
|
1609
|
IDEA
|
To clarify, in this mode, if there is no existing selection: first click selects a feature to be matched, and matches are also selected. If one or more features are already selected, clicking a feature creates a new selection set in the simplest implementation.
... View more
01-29-2018
03:08 PM
|
0
|
0
|
160
|
Title | Kudos | Posted |
---|---|---|
1 | 05-25-2018 07:27 AM | |
1 | 09-27-2018 11:14 AM | |
1 | 02-18-2020 10:56 AM | |
1 | 02-21-2019 02:29 PM | |
3 | 01-04-2016 01:45 PM |
Online Status |
Offline
|
Date Last Visited |
10-18-2023
12:44 PM
|