|
BLOG
|
Thanks James, that works but it displays the relevant if 'A' or 'B' and any other choices are selected. We's like it to specifically fire if 'A' or 'A,B' are selected, but no other combination. Is there a way to do that? Having trouble getting an 'and' operator to work. Thanks again, cob
... View more
06-16-2017
06:57 AM
|
0
|
0
|
18970
|
|
BLOG
|
What if you wanted to evaluate multiple choices? I have tried something like selected(${multiSelect},'A,B') but doesn't work.
... View more
06-15-2017
01:58 PM
|
2
|
0
|
18970
|
|
POST
|
Yes I had that same idea today and it almost works, but it seems like the repeats are summed like strings instead of numbers when the if statement is used. So when I do if(${cond1}='n' and ${cond2}='n', 1,0) they are summed like this - 1st iteration = 1, 2nd = 11, 3rd = 111 and so on. Can I use the bind ESRI type to override it? Thanks, cob
... View more
06-14-2017
01:46 PM
|
1
|
2
|
2467
|
|
POST
|
Now that repeat aggregation is available in S123, is there a way to count only records in which a particular choice was selected? Basically to filter the count by the selection value - say like count(${defects} = 'none') but that doesn't work; I guess because it's boolean (?) The aggregation will be of limited use to me without this capability. Thanks! cob
... View more
06-13-2017
01:20 PM
|
0
|
4
|
3856
|
|
POST
|
Any way to do that? Pretty handy in ArcMap. Thanks, cob
... View more
05-03-2017
11:49 AM
|
2
|
8
|
4016
|
|
POST
|
Have installed R full package, trying to install GME 0_7_4 gives the attached error. It actually installed the first time but didn't have a connection to R. Now it won't install and I have a suspicion it's because I'm running 10.5, but why did it install before? Does anyone have any insight on this?
... View more
03-08-2017
12:28 PM
|
0
|
5
|
3998
|
|
POST
|
That's what I was thinking - to use another field to sum the records. So I guess I will have to wait for the sum function - is it in the new beta version? Another thing is the nested repeats don't seem to be working right - if I start a 'plots' repeat for example, and within that place a 'samples' repeat, so that I want the individual samples to be allocated to a particular plot, but the survey result is that it duplicates each sample for each plot. So 4 plots with 14, 16, 18, and 20 samples becomes 4 plots with 68 samples each in the output. Is it a problem with my xls form, or is there any way to accomplish this in the current version of S123? Or should I ask this as a new question? Thanks James - cob
... View more
02-28-2017
08:45 AM
|
0
|
0
|
7592
|
|
POST
|
Thanks James - that is indeed what I need. What gets me is I can see the repeats increment in the form preview, so it has to be in the table somewhere at that point. Is there any other way you know to sum or count the number of records (or I guess I should say the number of repeats) and display a calculation on that to the form user?
... View more
02-27-2017
11:15 AM
|
0
|
6
|
7592
|
|
POST
|
This seems pretty simple, must be missing something - how would I create a 'calculate' field in survey123 to count the number of submitted records that meet a certain criteria (e.g. ${defects}='n') to use in another calculation? The count function in S123 seems to apply to the number of multi-select responses... is there another way? Thanks, cob
... View more
02-27-2017
10:03 AM
|
1
|
8
|
11680
|
|
POST
|
I have an enterprise geodatabase in a sql express instance on our remote server, created with the Create Enterprise Geodatabase tool in ArcMap. Trying to run AddGeometryAttributes tool from desktop and it keeps failing with "TypeError: In_table is not valid layer or table". Can I run this tool on this type of data, and if so what could be the problem?
... View more
07-19-2016
10:22 AM
|
0
|
0
|
1398
|
|
POST
|
Yep, trying to run the tool in desktop prior to publishing - not a model just straight from the tool dialog in the toolbox. The layer is in the map and can display. It's coming from my sql connection on the server - it is an enterprise geodatabase I created using the Create Enterprise Database tool in desktop (that in itself was an ordeal). I published it to our arcgis server (remote computer connection) as an editable feature service, and used Add Item in AGOL to get it in the cloud. Is there anything inherently wrong with this workflow? Can this type of data be used as input for the AddGeometryAttributes tool, I guess is my first question. If so then to figure out why the tool won't run, then on to the publishing process, etc. Thanks for all your time with this Derek - cob
... View more
07-19-2016
09:01 AM
|
0
|
1
|
3404
|
|
POST
|
Thanks Derek and other kind posters - using a combination of these suggestions I managed to get the feature service published to the server and hosted in AGOL. And I am now trying to publish a geoprocessing service from desktop using this data. The ultimate goal is to be able to add or update an area (acreage) field in an editable feature service after the user adds or updates the feature geometry. Can you believe something so simple requires such Herculean efforts?!?! The add geometry attributes tool in desktop keeps failing, says in_table is not a valid layer or table. Is it even possible to run this tool on the data from the server (in my sqlexpress gdb)? Or do I need to bring in a local layer and then find that, if it does happen to miraculously publish, it's pointing to a static layer that's been copied to the server, not the editable one (which has happened on previous attempts with hosted feature services). Does anyone know the best way to publish this service to work with an editable feature service on the AG server? I know hosted (AGOL) feature services are out. Thanks again for your help - cob
... View more
07-18-2016
01:41 PM
|
0
|
3
|
3405
|
|
POST
|
Thanks for your response Derek, but that's not helpful to me. I've been through the ESRI documentation a thousand times and the issue (other than it just won't publish with a generic error) is the Analyze window in service editor says the data/folder is not registered and will have to copy, but when I try to register it says it's already registered with the server. So it can't even agree with itself. I even brought the data into the map to publish directly from the sql database which is on the server machine, and it still says not registered/have to copy. But when I try to correct it, it is registered. I've tried this several times over the years and never gotten it to work, although this is the furthest I've gotten in terms of getting the database (supposedly) registered as it's validated in arcgis server manager. The same thing happens when trying to publish a geodata service from the sql sde connection. Rather than giving ESRI links can you tell me exactly what to do to properly 'define' the data stores in arc server? What can I check to verify that it is defined properly? And moreover, is this (registered/copy issue) the root cause of the publishing fail? This is very simple vector data based on a shapefile with 731 polygons in it. Thanks very much, cob
... View more
07-14-2016
09:56 AM
|
0
|
1
|
3404
|
|
POST
|
I am trying to publish a simple feature service to server for the first time - have one registered (managed) geodatabase in sql express 2012 and several registered folders that have been validated in server manager. First issue: copies data to server every attempt even though the data is in one of the validated registered folders on the server computer. Sharing folder in analyze dialog of the service editor does not fix this. Publish copies data to the gdb but will not create service. First error messages said process timeout after an hour or so, failed to create service. Subsequent attempts failed very quickly with error 001369 which I think is because it is trying to overwrite the data it copied to the server the first time? What to do about this? The server log provides no additional information just a general failure message. Any help or insight would be greatly appreciated. Note: the gdb was created in desktop 10.4.1 and the server version is 10.2.2 - could this cause any problems, and if so how to address that without upgrading server? Thanks, cob
... View more
07-12-2016
10:07 AM
|
0
|
14
|
9322
|
|
POST
|
Robert we have a widget that will append a KML file to an existing layer (feature service) but it doesn't work for multi-part features. I think I've identified the pertinent code section that refers to the graphics index [0]. If we could just loop a cursor through the indices that are present I think it would work, but I can't figure out how to do it (not very good with json). Can you help? I can send you the whole widget privately but can't link it here at this time. Thanks! cob
... View more
06-23-2016
11:45 AM
|
0
|
0
|
1288
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 06-15-2017 01:58 PM | |
| 1 | 06-14-2017 01:46 PM | |
| 1 | 04-12-2016 11:26 AM | |
| 1 | 06-14-2018 10:01 AM | |
| 2 | 05-03-2017 11:49 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:25 AM
|