|
POST
|
Thanks Xander Bakker See example here: http://arcg.is/1Tzjiq There is one layer with the code in my original post, which does not produce a label. There is a second layer with the code shown below that does produce a label. //Returns Diameter and/or material excluding -999 and Unk values
function GetMainLabel(Dia,Mat) {
return When(Dia !=-999 && Mat != "Unk", Dia + "'' " + Mat, Dia !=-999 && Mat == "Unk", Dia + "''", Dia ==-999 && Mat != "Unk", Mat,"")
}
// Set MinLabel value as the minimum feature length to be labeled:
var MinLabel = 50;
var PipeLen = $feature.SHAPE__Length; //var PipeLen = Length(Geometry($feature), 'feet');
iif (PipeLen >= MinLabel, GetMainLabel ($feature.NominalDiameter,$feature.Material),''); Regarding the length, that's actually commented out and the length is taken from Shape__Length. However, the data was in NJ State Plane when published, and it's my understanding that it stays that way and gets projected on the fly in AGOL. Is this not correct? The spatial reference WKID is 102711 (NJ state plane NAD83)per the json (see screen shot)
... View more
05-22-2019
08:23 AM
|
0
|
2
|
2335
|
|
POST
|
I wrote the label expression below to look at pipe length and cross section shape to determine if and how a label is generated for a pipe. It works fine in ArcGIS Pro, and when I paste the expression into ArcGIS Online the code validates and returns a test string as expected (for both label functions in the expression). However, no labels are displaying on the map. I have a similar (and more simple) function that is working just fine. function ChooseLabelFormat(ML,PL,Sec){
//Calls the label function based on pipe shape
return When(
PL >= ML && Sec == 'Circular', GetMainLabel ($feature.NominalDiameter,$feature.Material),
PL >= ML && Sec != 'Circular', GetMainLabelNC ($feature.Material,$feature.BoxHeight,$feature.BoxWidth),
"")
};
function GetMainLabel(Dia,Mat){
//Returns Diameter and/or material excluding -999 and Unk values
return When(
Dia !=-999 && Mat != "Unk", Dia + "'' " + Mat,
Dia !=-999 && Mat == "Unk", Dia + "''",
Dia ==-999 && Mat != "Unk", Mat,
"")
};
function GetMainLabelNC(Mat,BH,BW){
//Returns HeightxWidth and/or material excluding -999 and Unk values
return When(
BH !=-999 && Mat != "Unk", BH + "'' x " + BW + "'' " + Mat,
BH !=-999 && Mat == "Unk", BH + "'' x " + BW + "'' ",
BH ==-999 && Mat != "Unk", Mat,
"")
};
//Set variables and call function for labeleling
var Section = DomainName($feature, 'CrossSectionShape');
// Set MinLabel value as the minimum feature length to be labeled:
var MinLabel = 50;
var PipeLen = $feature.SHAPE__Length; //var PipeLen = Length(Geometry($feature), 'feet')
return ChooseLabelFormat(MinLabel,PipeLen,Section);
... View more
05-21-2019
04:37 AM
|
0
|
4
|
2702
|
|
POST
|
None of my users can access surveys via the website this morning. There have also been a lot of random time outs and generally poor performance with the website over the last week or 2. Is Esri aware of these issues?
... View more
05-13-2019
05:12 AM
|
0
|
1
|
633
|
|
POST
|
I came across this issue and my resolution was similar, thought I'd share to help anyone else in the future If you published your data with a definition query on it (in my case from a file GDB from ArcGIS Pro 2.2.4), and your edit template for the hosted feature service does not satisfy that definition query, you cannot create new features in that feature service. Updating the template to satisfy the definition query will resolve the issue. This is an odd one, since that definition query no longer has an bearing on the data (you can then go ahead and edit the new feature to fall outside of that definition query). Also, if you've configured a layer on your hosted feature service to enforce an attribute as unique, and your template does not provide a value for that attribute, a new feature cannot be created. Similarly, if you attempt to add a new feature that's duplicating that unique attribute, the feature will fail to create (no warnings provided).
... View more
05-01-2019
05:46 AM
|
0
|
0
|
4111
|
|
POST
|
Thanks for the reply Kylie. Apologies if I came off rude in my post, however there is a bit of frustration on my end when hitting these sort of issues, particularly because I've had a handful of bugs impact my workflows between the latest AGOL and Suvey123 updates. With that said, I do understand how contacting support is integral to the process, but please understand that it is a time consuming effort. A single support request can eat up 3-4 hours of my time (time that's simply not in my project budgets) and they often do not result in a resolution to the problem. Also, as a consultant, I'm always working with client's data so sharing the data for support requests is quite often not possible. In regards to the specific issue I was posting about, I made a domain update to a hosted feature service layer via the item's settings page. Afterward, the layer failed to load. I had Collector open on my iPad when making the update, and (as you stated) re-opening the map didn't help. I can't recall if I shut down Collector anywhere along the way or simply re-loaded the map after each attempted fix (I tried a whole bunch of things), but in the end the layer did show up again after deleting the domain entirely then re-creating it.
... View more
04-18-2019
05:03 PM
|
1
|
0
|
1170
|
|
POST
|
Kylie Donia can we have a full accounting of what can cause this error? I have a layer that was working fine until I added a domain value and updated the edit templates. Now I an seeing this error. These are basic processes that shouldn't be causing an error somewhere else. Esri needs to be more transparent here. I (and I'm sure most others) do not have the time to spend an hour+ on the phone with tech support to ultimately be told to republish the data. The users need to understand what's going on.
... View more
04-17-2019
07:40 AM
|
0
|
2
|
1191
|
|
POST
|
Hi Phil, These are two serious issue that need to be fixed ASAP. Is there any way the timeline can be pushed up? Esri cannot allow this type of bug to linger. This is the most basic type of data validation that literally every single survey relies on. Rob
... View more
04-16-2019
05:42 AM
|
1
|
1
|
3604
|
|
IDEA
|
I have a survey that is fairly complex and is completed throughout the course of the day. Users can submit a survey as partially completed (status is logged with a question) and if that status is changed to "Complete" a host of questions become required based on a function in the "required" column. Can we have the required asterisk appear for these questions by default, but maybe in a different color (orange?)? Right now they only show up when the required expression evaluates to true.
... View more
03-27-2019
01:19 PM
|
1
|
0
|
503
|
|
IDEA
|
It would be useful to preview surveys on different size screens when fine-tuning your layout. Can we have a display showing the current screen size in pixels, the ability to input pixel size, and maybe even pre-sets for different popular devices (iPad xxx gen, samsung tablets, etc.). I'm thinking of the "Device Toolbar" in Chrome DevTools as a good example.
... View more
03-27-2019
12:49 PM
|
1
|
0
|
323
|
|
POST
|
Phil, Thanks for the update. The iPad is definitely capturing jpg images (this is a 5th gen that doesn't support HEIC). I also tested with an Android device and I am seeing the same results. Just to clarify, the rotation issue is only seen in the reports, not when viewing data on https://survey123.arcgis.com I guessed at your email and got it wrong (sorry Pam Wilson) so you did't see the emails I had with James, but he informed me that it's an issue with the report engine reading the exif rotation. If you send me an AGOL user name I can share a test survey with you, feel free to submit some records. James Tedrick you mentioned there was a fix in the works, do you have an estimated timeline on this? Thanks, Rob
... View more
03-27-2019
04:53 AM
|
1
|
2
|
3687
|
|
POST
|
When I was experiencing the issue creating a brand new web map helped to resolve it.
... View more
03-25-2019
02:50 AM
|
0
|
0
|
2945
|
|
POST
|
FYI it's a bug (BUG-000121105). As far as I can tell this was introduced with the 3/19 AGOL update (tech could not confirm, but I didnt have this issue exporting on 3/18). I'm not too pleased with Esri at the moment as this is the 3rd recent issue I'm facing directly related to updates. This is particularly egregious because we (meaning the entire Esri user community) have no other way to back up data from ArcGIS online.
... View more
03-22-2019
07:08 AM
|
0
|
0
|
2933
|
|
POST
|
I get this error when trying to export to a file GDB from the Survey123 site. If I try to export the feature service from ArcGIS online site it generated an empty zip file. I get errors with multiple surveys, tried chrome and edge. Anyone else? James Tedrick is this a new issue after the AGOL update on the 19th? My last successful export was on 3/18
... View more
03-21-2019
11:21 AM
|
0
|
8
|
3102
|
|
POST
|
James, I tested on my live surveys and it's working now. I also have a few users reporting back that it's working for them too. Thanks for keeping us in the loop. Rob
... View more
03-21-2019
08:36 AM
|
0
|
0
|
3415
|
|
POST
|
Thanks for the update. I haven't had the chance to test in beta, but I will try to find some time tomorrow.
... View more
03-20-2019
04:05 PM
|
0
|
5
|
3008
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 2 weeks ago | |
| 3 | 2 weeks ago | |
| 1 | 03-20-2026 04:14 AM | |
| 1 | 07-01-2025 05:11 AM | |
| 1 | 06-13-2022 11:18 AM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|