IDEA
|
The markup layer is a very convenient tool to draw ideas on maps and to keep track of data all in one place. When using one markup layer, there is no problems using the tool as it was designed. The problem comes when a user is switching between multiple markup layers. A user would want to use a different markup layer to keep track of different markups in the same location without them being connected. Once a user is done with one markup layer and wants to use a different markup layer, the map will zoom all the way out, and to get back to where the user was drawing, they would have to zoom back in. This circumstance occurs every time a user would switch between markup layers. It makes more sense to keep the screen where it is when switching between markup layers rather than zooming the screen out when switching between markup layers. I am not sure if this is a bug or is intended by Esri, but it would be a lot more convenient for the screen to stay where it is when switching between markup layers. This happens on the IPad mobile application.
... View more
04-05-2024
07:08 AM
|
1
|
0
|
270
|
POST
|
Hi, I'm not sure if this is the right place to post this question but I'm using the action scripting feature inside the Utility Network Editor (UNE) from ESRI UK (Utility Network Editor - Take Your Utility Network Everywhere | Esri UK). The action scripting in UNE uses Arcade to trigger actions in the app. The syntax provided in the help documentation to "zoom to" a location is this: // Pan to a Location
return {
command: "zoomto",
geometry: Extent({
xmin: 1000,
ymin: 1000,
xmax: 1000,
ymax: 1000,
spatialReference: { wkid: 102100 }
})
}; We are trying to use the code below. This code is trigger after using the Find functionality of the app and selecting one item in the search results. When we validate the code we get this for line 4: Execution Error: Cannot read properties of null (reading 'spatialReference'). It looks like the Extent function is having a problem processing the geometry of the selected feature. When we comment-out line 4 and remove the "zoomto" command, the rest of the code works. The feature is selected, the map pans to the selected feature, the selected feature flashes; but no zoom to. var feature = $action.matchedFeature; // Get the selected feature
var featureGeometry = Geometry(feature); // Get the geometry of the selected feature
var extent = Extent(featureGeometry); // Calculate the extent of the selected feature's geometry
// If the feature geometry is null, return an empty extent
if (IsEmpty(featureGeometry)) {
extent = Extent({xmin: 0, ymin: 0, xmax: 0, ymax: 0, spatialReference: {wkid: 102100}});
}
// Select Features
return [
// Select the search feature
{
command: "select",
method: "new",
layers: [
{
layerid: $action.matchedlayerid,
graphics: [$action.matchedfeature]
}
]
},
// Pan to a Location
{
command: "panto",
geometry: featureGeometry,
flash: true
},
// Zoom to a Location
{
command: "zoomto",
geometry: extent
}
];
... View more
03-26-2024
08:07 AM
|
0
|
0
|
242
|
POST
|
Hi, I tried those but didn't work either. But search on the developer's documentation I found the syntax: Query (Feature Service)—ArcGIS REST APIs | ArcGIS Developers Thanks for your answers.
... View more
01-18-2024
06:13 AM
|
0
|
0
|
364
|
POST
|
Hi YukoYokozawa, Thanks for the reply. That works but what if I need something more specific like the example in the Survey123 documentation ( Prepare to edit existing survey data—ArcGIS Survey123 | Documentation) I tried this syntax and got the 400 error. The second image shows the properties of the dateTime field and the syntax that I used.
... View more
01-17-2024
08:39 AM
|
0
|
2
|
407
|
POST
|
Hi, I'm using Survey123 Connect Version 3.19.104 and the survey is used in the mobile app only. I want to create an Inbox Query expression using a DateTime question. I tried different date-time formats in the SQL expression with no luck and I haven't found any documentation on how to this. I'm getting "Code 400 Cannot perform query. Invalid query parameters." What is the query syntax for this type of questions? Regards.
... View more
01-17-2024
07:39 AM
|
0
|
4
|
455
|
POST
|
Hi James, Thanks for your response. Here you have the full log file of the failed submission attempt. Regards.
... View more
11-15-2023
11:03 AM
|
0
|
0
|
710
|
POST
|
Hi, Error happening on Android and iOS devices. Survey created with Survey123 Connect version 3.18.123. Windows and Android Survey123 Mobile app version 3.18.145. To clarify, when the survey is submitted without using the Draft or Outbox folders NO error is raised. The error is raised when the survey is sent to the Draft or Outbox folders, and then submitting the survey from there. The Android or iOS mobile app does not show an error description, but I turned on the logging feature on the Android app and this is the error that appears at the bottom: After getting this error, I installed the Windows Survey123 Mobile app and tried to replicate the error there, but the survey was sent without a problem from the Draft or Outbox folders. Then I moved the sqlite database from the Android device to the Windows Mobile app and I was able to restore the data and submit the survey from the Outbox folder without getting the error. Finally, I went back to the Android mobile app and deleted the survey raising the error from the Outbox folder. Then I tried to replicate the error with a new survey, but this time there was no error. It seems that the issue disappeared, but I think this type of issues solve themselves. These are the questions that I have: What is the reason for this error that shows intermittently? What could have happened that seemingly solved the issue after copying the sqlite database to the Windows Mobile app and submitting the survey from there? Why the error was raised on Android and iOS, but not in the Windows Mobile app? The Survey123 Troubleshoot documentation (Troubleshoot—ArcGIS Survey123 | Documentation) has this reference to a "400" error code, but if there is a Schema problem with the database, why I can submit the survey when not using the Draft or Outbox folders? I can provide the full log file if needed. Regards.
... View more
11-14-2023
05:34 PM
|
0
|
3
|
851
|
POST
|
Hi, I'm using PRO 3.1.3. If have multiple feature layers on a map and I got a globalid of one feature, but I don't know which class it belongs to, how can I do a universal search to select that feature without knowing the class? Select by Attribute requires the class of the feature as an input. Regards.
... View more
11-06-2023
01:07 PM
|
0
|
2
|
440
|
POST
|
Hi abureaux, This worked perfectly for me. Thank you for the thorough answer, especially the Feature Report warning. Regards.
... View more
10-23-2023
12:24 PM
|
0
|
0
|
682
|
POST
|
Hi, I have a Group that I want to change the color of the fonts. The body::esri:style parameter only allows the background and border colors to be set for a group. I tried to use html (<font color=###> or <div style="color:###">) in the Group label and the questions inside the Group, but that only changes the color of the label but not the options on select multiple questions (see images below). Is there another option?
... View more
10-23-2023
09:52 AM
|
0
|
2
|
758
|
POST
|
Hi, I think that I didn't explain myself well enough. What I'm looking for is a way to prevent or log deletions in the Web Application. I know I can limit what the submitters could do. This is to limit or track deletions by the people in the office using the "Data" tab of the Web application. Image 1 below shows that I can delete one or more records if I'm the owner of the survey or a user type with the rights to edit all records. None of the settings that you indicated prevent this from happening. I want to allow edits but restrict or track deletions. I think that this post is more related to my need: Solved: Hosted Feature Layer Change Log Access - Esri Community It looks like there is not a way to prevent deletions, but only track them. Another problem is how to access the log data, as the post above indicates. Image 1 Regards.
... View more
10-17-2023
03:47 PM
|
0
|
1
|
446
|
POST
|
Hi, It was always in "Only add new records" but when I submit the survey the "Send to Outbox" is still available. Regards.
... View more
10-17-2023
03:21 PM
|
0
|
0
|
380
|
POST
|
It looks like this is what I need. I will try it thanks.
... View more
10-16-2023
11:27 AM
|
1
|
0
|
495
|
Title | Kudos | Posted |
---|---|---|
1 | 04-05-2024 07:08 AM | |
1 | 09-03-2021 06:56 AM | |
1 | 10-16-2023 11:27 AM | |
1 | 10-16-2023 11:11 AM | |
1 | 10-06-2021 05:34 PM |
Online Status |
Offline
|
Date Last Visited |
05-30-2024
04:54 PM
|