POST
|
(EDIT: I submitted this job again and it finished in under 5 seconds, so this first job below is just "stuck" somehow. I would think it would timeout and fail at some point but it has not yet, 25 hours in). I have been experimenting with the reporting API. I successfully created a summary report template which runs quickly from the UI, and also have had success running it via the API. This is a very simple summary report on 466 records (just returns record count), which produces a small pdf file (36k). However, on a new submission via API for the same summary template, the job is stuck at "pdfConverting" and has been now for 45 min. I have not submitted another job, just checking to see if this is common, or perhaps just have a stuck job that I should leave alone. Doesn't seem to be any reasonable timeout, shouldn't this just fail at some point? You can see below that this job started at 10:12 am (EDT), it is now 11:00 am (EDT). I welcome any thoughts. Tom S. ------- { "jobId": "9d32e8f7aab848838c6a5dafe5876273", "jobStatus": "esriJobExecuting", "jobStatusInfo": { "detailedStatus": "pdfConverting", "startTime": 1626876778114, "progress": 0 }, "submitted": 1626876773217, "resultInfo": { "title": "testreport", "totalCount": 466 }, "inputInfo": { "jobType": "createReport", "parameters": { "featureLayerUrl": "https://services.arcgis.com/dIXa9SwblWkgom0n/ArcGIS/rest/services/<name>/FeatureServer/0", "queryParameters": { "where": "Vetted = 1" }, "templateItemId": "e4e4........", "surveyItemId": "053acb2.........", "outputFormat": "pdf", "outputReportName": "testreport" } } }
... View more
07-21-2021
08:03 AM
|
0
|
1
|
623
|
IDEA
|
You might find this script handy - it will let you bulk enable/disable maps for use in field maps and collector via a python notebook (can run in ArcGIS Online or Pro). https://github.com/Esri/field-maps-scripts/blob/master/notebooks/Bulk%20Update%20Maps%20for%20Use%20in%20Collector%20or%20Field%20Maps.ipynb
... View more
05-28-2021
01:26 PM
|
0
|
0
|
1460
|
POST
|
Thanks Robert for the response. Unfortunately it is not the "decimal degrees vs DMS" side of things - it is clearly show 4 degrees in the first pic regardless of format. Should be showing 42. It seems to be displaying off by one decimal place maybe. Of course this also doesn't explain the "can only pan east/west" thing. With respect to zooming to current location - none of the maps are showing my current location, I have tried it with location services on and off, and the preview map is not my location and the live hosted (web-based) survey also is not my location - it is zoomed in to somewhere in Boston, not where I am. 😞 I guess it's possible it is showing my ISP location but I don't think so. Tom
... View more
04-20-2021
06:12 AM
|
0
|
0
|
817
|
POST
|
Survey123 Connect 3.12.232 (win64) I created a survey, pointed the map to a (org) web mercator basemap. I am trying to edit default extents for the map display in the "map" tab of connect. First, it has grabbed the wrong latitude. the pic below shows the latitude text as 4.2xxx, but this is Boston Massachusetts, so really it is 41 or 42 degrees. So the map is sort of right, but the text is wrong. Second, at times, I can only move the map with my mouse "left and right" and not "up and down". If I jiggle with zoom levels and typing in lat/long I can generally get it to let me move it correctly (I have not figured out how to consistently fix that). Once I get things corrected here (the map centered in Boston, with reasonable zoom levels) it looks like the pic below. All good. The next problem though is when I publish it and open it in a browser to fill out, the map is zoomed in to the max, which is not what I set in Survey123 Connect. Here is the browser map (from my windows pc, but looks same on my iphone in a browser): Any idea why it is showing up so zoomed in? Appreciate any ideas. Tom S.
... View more
04-19-2021
10:02 AM
|
0
|
2
|
859
|
POST
|
I should add that the web app for Field Maps allows you to select web maps and toggle their visibility in Field Maps. This is not the same as mimicking the Collector status but does let you change status of web maps in bulk (a page of 20 web maps at a time).
... View more
01-06-2021
05:34 AM
|
2
|
0
|
763
|
POST
|
(note this is not an official Esri response, even though I work for Esri) Kevin - I have a notebook/script in progress but it's not quite where I want it, and as written does not mimic the collector status but could be changed to do so. Contact me offline if you like (tschwartzman@esri.com) and I can share it. There are some issues I will lay out for you on how it works/how it could be used/issues etc. Tom
... View more
01-05-2021
12:48 PM
|
1
|
0
|
779
|
POST
|
Hi Craig, To your comment about the web app hiding maps - one hassle is it seems you can only do one "page" of results at a time (20 maps). If I have 311 maps to change, I have to choose all on the first page of results (20), then hide them, then do it again 15 times. If you could remove the pagination, or at least have an option for "show all" that would be a plus. Tom S.
... View more
12-10-2020
07:03 AM
|
0
|
1
|
1730
|
POST
|
Hi Nathan - this is not an official response in any way, but FYI I was just working on a python script (hosted notebook) that crawled through my content and turned off the "Show in Field Maps" option. I have to clean it up some but I can share it with you if you want when I am done. From what I can tell (unofficially) poking around, the key is to add "FieldMapsDisabled" to the typeKeywords for the webmap. Email me (tschwartzman@esri.com) if you want a copy. Note that it only does content for a single user, not the whole org. Also from what I can see, turning off Field Maps access means no collection or viewing in Field Maps. I don't know if there is a way to get it in Field Maps for view only (when it has an editable layer anyway). I don't think you are asking for that, but FYI. Perhaps the team can weigh in on that. Tom S.
... View more
12-10-2020
06:45 AM
|
0
|
0
|
1735
|
POST
|
I have a survey which captures a datetime. When entering data via the browser, or even editing/viewing an existing survey entry via the browser (mode=edit&globalId=xxx, or even mode=view), I see a nicely formatted split date/time display. In this survey the datetime field is not read-only: If I have another survey pointed to this same underlying dataset and in this survey the datetime field is marked as read-only (i.e. using a dashboard to edit a survey entry, with some fields r/o), I see this: Which is a very unfriendly way for a casual user to view the datetime field. Is there any way I can force a better format when in read-only mode for this field? Thanks, Tom S.
... View more
08-26-2020
11:55 AM
|
0
|
3
|
1034
|
POST
|
turns out this is survey-specific, not platform specific. if i can will dig into it more and see what is causing the behavior.
... View more
08-10-2020
08:04 AM
|
0
|
0
|
381
|
POST
|
Webform issue with 'draft mode'.... I have a survey which has repeats in it. In those repeats are a series of integer questions. In the survey's settings I have turned on draft mode. When I fill out a repeat in my Windows browser (tried chrome, firefox), kill the survey and come back, the draft mode feature works well. I see all my numbers back in the repeats. It remembers them correctly. When I fill out a repeat on a Mac (Safari, Chrome), when I come back to my survey where I have previously entered numbers in the repeat, those numbers are not shown at all. HOWEVER, I enter one number in a field and then all the other fields repopulate with their old numbers. It's very odd behavior. Has anyone seen anything like this? Tom S.
... View more
08-04-2020
10:23 AM
|
0
|
1
|
405
|
POST
|
Clicking on the map or putting in an address (optionally) places a pin on the map, in the right place. But if you zoom out, that pin does not stay in the right place. Here's an example - pin located - green arrow pointing to pin: now I zoom out a bunch (a giant bunch to illustrate clearly) and the pin is no longer in the right place. It's way out of place here. Moved from Boston to New Hampshire border (~25 miles) Tom S.
... View more
07-30-2020
11:11 AM
|
0
|
0
|
399
|
POST
|
Thanks Doug for the reply. Yes, required will do it, but I don't want to make it required if I don't have to. Maybe there is no difference between required and constraint of a number/digit, have to ponder that. My workaround was to make that field a null field and add another field that was calc'ed via an if statement, which honors the string-length query (if(string-length(${num1})=0,0,${num1}) Tom
... View more
07-28-2020
01:39 PM
|
1
|
0
|
2000
|
POST
|
I have an integer field called num1. Has a default of zero. But you can erase that zero and leave the field blank. This blank field is not considered an integer (kills calculations for instance). I want to put a constraint on it so you don't leave it empty (i.e. no number, no text). I can't seem to do it. I have tried testing to see what this "empty" integer field is interpreted as, and I can tell you this: ${num1}='' is FALSE ${num1}=NaN is FALSE number(${num1}) is BLANK string-length(${num1}) is 0 string-length(number(${num1})) is 0 string-length(string(${num1})) is 0 here is the survey with the num1 field empty: and here with the num1 field with a valid number: I tried using any of these in a constraint (e.g. string-length(.)>0 ) but that is ignored, or not seen as an issue as it happily lets me submit with this blank integer field. Is there a way to constrain it? I have worked around it by using a calculation in another field, but was hoping I would not need to do this. survey123 xlsx attached. Thanks, Tom S. P.S. ${num1}=null is FALSE, ${num1}=undefined is FALSE as well.
... View more
07-28-2020
12:09 PM
|
0
|
4
|
2047
|
Title | Kudos | Posted |
---|---|---|
1 | 10-30-2019 12:42 PM | |
1 | 01-05-2021 12:48 PM | |
2 | 01-06-2021 05:34 AM | |
1 | 07-28-2020 01:39 PM | |
3 | 12-17-2018 07:29 AM |
Online Status |
Offline
|
Date Last Visited |
yesterday
|