|
POST
|
@abureaux I would love to learn otherwise, however, the doc you linked to appears to confirm that one cannot retrieve more than one result in a single call to pulldata("@layer",...): "The getRecord and getRecordAt operations return a JSON feature object containing a single feature and all of its attributes. The getValue and getValueAt operations return a single value..." "The pulldata("@layer") function returns the first record in the query response. Design and test your query to ensure you get the desired results."
... View more
07-14-2025
08:35 AM
|
0
|
2
|
653
|
|
POST
|
@Mario, if you are comfortable authoring in Survey123 Connect and using pulldata() with custom JavaScript functions, then here is a potluck survey example that might be a helpful model on which you can build. When a user is filling out the survey to indicate what type of dish they are bringing to the potluck, it displays a table of the dish types and counts that have already been submitted: Note that Survey123 custom JavaScript functions impose some key constraints on the approach outlined here: the survey cannot be shared publicly, and only members of the survey's owner's organization can submit responses (see Known limitations.) To create your survey in Survey123 Connect, you can put the following in the XLS form's survey tab: The calculation for others_dishes uses pulldata with the custom JavaScript function others_dishes (see below). The function returns a HTML-formatted table with the dish type counts, which is displayed to the user via the dishes note type question. Pair the above with something like the following set of dish type options on the choices tab: And, in the Scripts section of Survey123 Connect, provide the following custom JavaScript function: /*
* JavaScript functions for Survey123
*/
function others_dishes(token) {
let counts = {};
let result = "";
// Set up query parameters.
let f = "f=json";
let where = "where=1=1"; // retrieve all records
let outFields = "outFields=your_dish";
let returnGeometry = "returnGeometry=false";
let query_parameters = [f,where,outFields,returnGeometry].join("&");
if( token ) {
query_parameters = query_parameters + `&token=${token}`;
}
// Query URL for the ArcGIS REST API
// (Obtain the appropriate URL from your feature layer's Item details page.)
// For ArcGIS Online, the URL will be of the form:
// https://<server>/<org_id>/arcgis/services/<service_name>FeatureServer/<layer_id>
let layer_url = "your_feature_layer_url"
let url = `${layer_url}/query?${query_parameters}`;
// Make request to the ArcGIS REST API
let xhr = new XMLHttpRequest();
xhr.open("GET",url,false);
xhr.send();
// Process request result, if status code is 200 or OK.
if( xhr.status === 200) {
// Convert reponse text to a JSON object
let response = JSON.parse(xhr.responseText);
// If response is not an error, proceed.
if( !response.error ) {
if( response ) {
// If successful, response is a Feature Set.
// Retrieve array of dishes (features).
let other_dishes = [];
response.features.forEach(function(feature) {
other_dishes.push(feature.attributes.your_dish);
});
// Calculate count for each type of dish as dictionary.
for( const dish of other_dishes ) {
if( counts[dish] ) {
counts[dish]++;
} else {
counts[dish] = 1;
}
}
}
}
}
// Convert dish count dictionary into an HTML table for display in a note.
if( Object.keys(counts).length === 0 ) {
result = "No other dishes yet...";
} else {
result = '<table>';
result = result + '<tr>';
result = result + '<th style="text-align:left;">Dish</th>';
result = result + '<th style="text-align:right;">Count</th>';
result = result + '</tr>';
Object.entries(counts).forEach(function([key,value]) {
result = result + '<tr>';
result = result + `<td style="text-align:left;">${key}</td>`;
result = result + `<td style="text-align:right;">${value}</td>`;
result = result + '</tr>';
});
result = result + '</table>';
}
return result;
}
... View more
07-13-2025
12:05 PM
|
0
|
1
|
669
|
|
POST
|
@DataOfficer you might want to comment on, or kudo, the ArcGIS Online Idea for Groups Support for "Collaboration of Equals", which requests groups where group members are as equally privileged as the owner of an item. Being able to update views is a great example of use case that would benefit from a group that endowed everyone with the same privileges for items, regardless of ownership.
... View more
06-27-2025
07:37 AM
|
1
|
0
|
691
|
|
IDEA
|
I too would like to see layers and tables combined into a single concept. There are already many places in the interface and documentation where "layers" refers to both layers and/or tables. And, whatever that solution ends up being, having it implemented in a uniform standard way across all Esri products, including Map Viewer and Pro. It feels like the distinction between the layers and tables is perhaps a bit artificial, and is based on a characteristic of the data (i.e., spatial vs. non-spatial) that is less important to surface in an organizational representation than other characteristics of the data. I think it would be more helpful to enable ordering data in a meaningful way, such as organizationally, as in Doug's example of grouping related layers and tables together to help make visual sense of data schema in a single, hierarchical table of contents.
... View more
06-27-2025
06:14 AM
|
0
|
0
|
251
|
|
BLOG
|
Empirically, during our last renewal, we found that users who took their Pro Named User license offline, and remained disconnected from our licensing portal, lost the ability to run Pro when their license expired. These users had to bring their machine online, connect to the licensing portal, it automatically update their Named User licensing at that point, and they could resume working offline. They did not need to check their license back in for the renewal to happen, only connect to the licensing portal, and that automatically renewed it. For offline licenses where the user was still logging into to our licensing portal (as it was their active portal as well), then their licensing was updated automatically at some point. These users did not need to do anything.
... View more
06-26-2025
07:08 AM
|
1
|
0
|
1762
|
|
POST
|
@MichaelVolz see the Filter options along the left-hand side of Content. Under Item type filters you can select "Apps", and underneath it, "StoryMaps". If you are logged in as an administrator, and have selected the My organization view for Content, then you should see a list of all of the ArcGIS StoryMaps in your organization.
... View more
06-17-2025
06:21 AM
|
1
|
0
|
746
|
|
POST
|
As an administrator go to Content, select "My organization" as the scope, and enter the following search term: type:"Web Mapping Application" AND typekeywords:"Story Map" That should return a list of all of the Classic Story Maps in your organization.
... View more
06-16-2025
12:20 PM
|
2
|
2
|
789
|
|
DOC
|
@JakeSkinner in order for "Copy Hosted Services.py" to support copying very large hosted feature layers, I would suggest updating your use of the export method to be asynchronous (i.e., set the wait parameter to False, and monitor the export job's progress with status) Otherwise the script can fail unexpectedly due to a timeout.
... View more
05-28-2025
07:03 AM
|
0
|
0
|
4307
|
|
POST
|
It is possible for an ArcGIS Online feature service or hosted feature layer to become too big to export successfully as a File Geodatabase via synchronous methods, like the Export button on the item's overview page. It would be nice if there was a user-friendly error returned when this was the case, rather than getting no File Geodatabase, or a corrupt one, created after a long wait. One workaround for exporting large hosted feature layers is to use the ArcGIS API for Python, and its export method with the wait parameter set to False. This enables the export to run asynchronously in the background, and avoids potential timeouts interrupting the process. Once the export job completes -- monitor the export job via status -- you will have the File Geodatabase you were expecting.
... View more
05-28-2025
06:56 AM
|
0
|
0
|
664
|
|
POST
|
It is possible for an ArcGIS Online feature service or hosted feature layer to become too big to export successfully as a File Geodatabase via synchronous methods, like the Export button on the item's overview page. It would be nice if there was a user-friendly error returned when this was the case, rather than getting no File Geodatabase, or a corrupt one, created after a long wait. One workaround for exporting large hosted feature layers is to use the ArcGIS API for Python, and its export method with the wait parameter set to False. This enables the export to run asynchronously in the background, and avoids potential timeouts interrupting the process. Once the export job completes -- monitor the export job via status -- you will have the File Geodatabase you were expecting.
... View more
05-28-2025
06:55 AM
|
1
|
1
|
1117
|
|
IDEA
|
See also Permit changing ownership of items shared with Shared Update groups.
... View more
05-19-2025
06:27 AM
|
0
|
0
|
809
|
|
IDEA
|
I would like to be able to enable/disable pop ups for all of the layers in a group at once in Map Viewer. An example use case for this is when we have a group of GPS track point layers as part of map, as well as other data layers. There might be anywhere from a few to dozens of GPS track point layers in a group layer in the map. Typically the GPS track log layers are present on the map to provide visual context, showing previous tracks through the area. In this case, when a user is clicking on the map, pop ups for the track log layers are disabled, so the don't obscure the relevant pop ups from other layers. Sometimes, however, we do want to be able to access the popups for individual track points. For example, when planning a trip to the area, we might want to compare timestamps on points to see how long it took to travel in/out on a one-way portion of the track. It would be helpful in such cases to be able to quickly toggle on the pop ups for the group of GPS layers in the Web Map, explore the GPS track point data, and then toggle off the pop ups for the group again, rather than having to toggle on/off pop ups for individual layers in the group.
... View more
04-29-2025
02:01 PM
|
13
|
0
|
378
|
|
IDEA
|
When designing a survey in Survey123 Connect, it would be helpful to be able to comment out rows in the XLSForm so that they are not processed. Sometimes I want to comment one or more rows because something is wrong in those rows, which is preventing the survey from rendering in Connect. So I want to hide those rows from being processed, so that I can see how everything else in the XLSForm is looking. Another use case is to paste in some rows from another XLSForm that I want to use as models for building new rows in the current XLSForm. I don't want those pasted rows processed, however, I want them there as a reference adjancent to the rows I am working on.
... View more
04-24-2025
11:34 AM
|
7
|
2
|
580
|
|
BLOG
|
If one intends to run this Notebook in ArcGIS Online, then make sure to change the runtime from ArcGIS Notebook Python 3 Standard - 7.0, which is missing some of the required libraries, to ArcGIS Notebook Python 3 Standard - 10.0. (Do not go to 11.0 or above, as the API changes beyond 10.0 are not compatible with this Notebooks' code.)
... View more
04-22-2025
12:43 PM
|
1
|
0
|
2732
|
| Title | Kudos | Posted |
|---|---|---|
| 3 | 7 hours ago | |
| 5 | a week ago | |
| 1 | 10-23-2025 06:38 AM | |
| 2 | 11-03-2025 08:52 AM | |
| 1 | 11-03-2025 08:18 AM |
| Online Status |
Online
|
| Date Last Visited |
4 hours ago
|