POST
|
I have a survey uses existing feature service and related tables (with repeats). some of the fields in feature layer and related table have same field name. The Survey Connect will give me a error for this situation. It seems it does not know which field to referring to when I used ${FieldName} in a Calculation. Is there anyway to name and refer a field in a specific feature layer or table, for example: ${tableName::fieldName}. Or do I have to use the unique field name in a survey?! Thanks, Ming
... View more
10-11-2018
07:35 AM
|
0
|
2
|
526
|
POST
|
Good to know! I will publish my feature service and redesign my survey to accommodate this requirement! Thanks a lot for your prompt response! Ming Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
... View more
09-05-2018
11:01 AM
|
0
|
0
|
820
|
POST
|
To collect more information about the assignment, I set up a Survey project and integrated it with Workforce so that some information (GlobalID, ID, Location) can be passed to the form. For the Survey, I use a standing along table in an existing feature service. The feature service has many other tables and feature layers. Only one table is used to store the survey data. In the survey design, I put the url of the service for the "Submission_url" and the name of the table for the ""form_id".. The survey itself works fine. However, when I try to integrate it with Workforce, The fields in the drop down list show the fields of the "first feature layer in the feature service" instead of the the fields in the table used for the survey. Of cause I can publish a feature service with a desired layer on the top and use that feature layer (not the table) for the survey. But, is this a design for some reasons? Or, it could be changed to use the match layer/table for the survey? Or, did I do something wrong? thanks! Ming
... View more
09-05-2018
10:19 AM
|
0
|
5
|
1574
|
BLOG
|
Hi Chris, As indicated in my post above, I had the same problem. It seems that we can use Arcade expression to calculate the Lat/Lon in web map and included it in the url for invoking the survey. However, the mobile Explorer dose not support the Arcade expression at this moment. I have not find another other way to do this! Could ESRI staff tell us is there any other way to achieve this? If not, do you have a time table to make Explorer supporting Arcade expression? thanks, ming
... View more
08-29-2018
07:15 AM
|
1
|
0
|
4450
|
BLOG
|
Hi James, Thanks for the reply and the tip! I have tried it and it worked and Not worked! First, the Arcade function works on web map on a PC. Created the following function: var Longitude, Latitude; var x=Geometry($feature).x; var y=Geometry($feature).y; var sr=Geometry($feature).spatialReference.wkid; if (sr == 102100) { var rMajor = 6378137; var shift = PI * rMajor; Longitude = x / shift * 180.0; Latitude = y / shift * 180.0; Latitude = 180 / PI * (2 * Atan(Exp(Latitude * PI / 180.0)) - PI / 2.0); } return Text(Round(Latitude, 3)) + ", " + Text(Round(Longitude, 3)); It works beautifully in the pop-ups and calculated the url link on PC: However, it seem that the Arcade function did not work on mobile Explorer. Therefore, did center the survey correctly: I check the url link string in Explorer. It likes like this: arcgis-survey123://?itemID=a675a608a0a844ae84bb19fccc5001ed&field:AccNumber=2051651400¢er= Could you please take a look of this and tell me what I have done wrong? Thanks, Ming Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
... View more
08-17-2018
08:15 AM
|
0
|
0
|
4450
|
BLOG
|
Hi Ismael, As you said in the writing, for center the survey to the feature geometry, we need to pass Lat/Lon in url. However, my data is in Web Mercator and "Geometry($feature)" function also returns the coordinates in Web Mercator. Is there another function to reproject it to Lat/Lon? Thanks, Ming
... View more
08-15-2018
07:48 AM
|
0
|
0
|
4450
|
POST
|
James, Yes, she did! Is a beta or Alpha for testing? Thanks, Ming
... View more
08-09-2018
08:55 AM
|
0
|
2
|
396
|
BLOG
|
In Workforce there is "Workers" layer and the "Status" data will change in real-time when a field worker is logged in or off the Workforce mobile app. Is there something similar for other mobile apps. Or it will be even better, can we create a "workers" feature layer and its status field will update in real-time when a user logged in any EASR AGOL mobile app or account? We'd like to use this layer in a web map to see where the users are if they are online. Thanks, Ming
... View more
08-08-2018
09:39 AM
|
0
|
0
|
916
|
POST
|
In Workforce there is "Workers" layer and the "Status" data will change in real-time when a field worker is logged in or off the Workforce mobile app. Is there something similar for other mobile apps. Or it will be even better, can we create a "workers" feature layer and its status field will update in real-time when a user logged in any EASR AGOL mobile app or account? We'd like to use this layer in a web map to see where the users are if they are online. Thanks, Ming
... View more
08-08-2018
09:33 AM
|
0
|
4
|
493
|
BLOG
|
Hi Dan and James, Thanks for reply! I started to write the code and it seem I am on the right track! This is my second Python project and is a good practice for me. Ming
... View more
07-31-2018
12:30 PM
|
0
|
0
|
8518
|
POST
|
Hi John, I found the cause and resolved issue. Here was what was going on: I converted the relationship class from oid-based to gid-based for the ATTACH tables, then, republished the feature service. However, for some reason, the layer # was shifted. The two layers and two tables should be layer 0, 1, 2, and 3 in the feature service, but became 1, 2, ,3 and 4. I believe that survey would start searching for request layer or table from #0 when it was submitted. I guess that might be why the process is stuck there. But I do not know why the # would shift. Anyway, I deleted the old service and created it again. It works now. Thanks a lot! Ming Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
... View more
07-26-2018
06:00 AM
|
1
|
0
|
1564
|
POST
|
Hi John, As you can see on the GeoNet posts, I have resolved the set “supportApplyEditsWithGlobalIds” to true issue. However, I get into a new issue with this survey – the completed survey cannot be send to Feature service. After clicking on the send button, the screen stuck on the “Getting service information” message with, and, regardless if I send survey from hydrant flush or valve exercise, it always stuck on the Getting service information for “Valve_ExerciseRecords table. Can I share my survey and feature service with you m and let you take a look of this issue? Thanks, Ming Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
... View more
07-25-2018
11:03 AM
|
0
|
2
|
1564
|
POST
|
Ha, there is a tool to convert the relationship class from oid to gid Ming
... View more
07-25-2018
06:49 AM
|
0
|
0
|
1564
|
POST
|
Hi John, As I suspected, the attachment table related via OID is cause! Once I change the PK/FK to GlobalID and re-published service with sync enabled, the supportsApplyEditsWithGlobalIds became true! Because this is a legacy database that was developed and accumulated over 10 years, many of the relationshipclass were created using oid for PK/FK. It will be nice to have tool to converte to GlobalID:). Ming
... View more
07-25-2018
06:42 AM
|
0
|
0
|
1564
|
Title | Kudos | Posted |
---|---|---|
4 | 12-14-2021 09:34 AM | |
1 | 12-08-2017 11:39 AM | |
1 | 06-21-2018 10:00 AM | |
1 | 06-26-2019 08:11 AM | |
1 | 06-21-2018 01:53 PM |
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|