|
POST
|
Hi Veronica, You can find webmaps in your organisation by changing the search parameters through the search box drop down arrow: I can't think of another way of doing it out of the box without having to redo all your layer configuration.
... View more
01-04-2023
02:37 AM
|
2
|
0
|
1433
|
|
POST
|
Hi, can you explain the workflow you're doing to get to the above screenshot? To have 'result' as part of the layer so it can be exported, I believe it needs to follow a workflow like: Add a new field to the layer schema called 'result' https://doc.arcgis.com/en/arcgis-online/manage-data/add-or-delete-fields.htm#GUID-BE260302-CEA6-4A3A-8933-60911375943A Calculate values for the 'result' field using the same Arcade expression following https://doc.arcgis.com/en/arcgis-online/manage-data/calculate-fields.htm#ESRI_SECTION1_4EC0FE85CA91436294FE513A8A482610 The attributes will now be part of the layer and its schema. Note that this calculation is static and not dynamic like a Pop-up > Attribute Expression (if that's what you've been using)
... View more
01-04-2023
01:18 AM
|
0
|
2
|
4217
|
|
POST
|
Hey, what are you expecting it to return in the field? It's returning [object Object] which is representing the entire feature set, including all features, their geometry and attributes. I don't think this code sample is the most efficient way to do what you want, but I've modified it narrow in on the specifc row ($feature) that's being calculated to generate a string of the attributes of the individual tablefs FeatureID ($feature) based on the matching polyfs HydroID (I've assumed this calculation is based on the tablefs item: var portal = Portal("https://www.arcgis.com/");
var polyfs = FeatureSetByPortalItem(
portal,
"4dbbad3d6f694e0ebc7c3b4132ea34df",
0,
["*"],
false
);
// Create empty feat variable
var feat;
// Populate Feature Array
var tableID = $feature["FeatureID"];
var p = First(Filter(polyfs, "HydroID = "+tableID));
feat = "FeatureID: " + tableID + "," + TextFormatting.NewLine +
"Name: " + p["DPS_Region"] + "," + TextFormatting.NewLine +
"ModelID: " + $feature["ModelID"] + "," + TextFormatting.NewLine +
"AddressCount: " +$feature["AddressCount"] + "," + TextFormatting.NewLine +
"MAX_TSTime: " +$feature["MAX_TSTime"] + ","
// Return feat string
return feat; It'll look like this based on the above formatting:
... View more
01-03-2023
08:26 AM
|
0
|
8
|
4225
|
|
POST
|
I think you're very close! Couple of things to check/try portal is a reserved keyword, change it to another string to remove that as an issue, for example var portalItem = Portal("https://blank.maps.arcgis.com"); Check your URL is in the correct format, the format in the code isn't ri var Dict = {
fields: [{name: 'total', type: 'esriFieldTypeInteger'}, {name: 'layername', type: 'esriFieldTypeString'}],
geometryType: '',
features: [{attributes: {total: totalCount, layername: "bridge"}}],
};
ght but might just have been from you swapping out your specific URL The Dict you're building needs to include layer name element if you want to display the layer name on the chart var Dict = {
fields: [{name: 'total', type: 'esriFieldTypeInteger'}, {name: 'layername', type: 'esriFieldTypeString'}],
geometryType: '',
features: [{attributes: {total: totalCount, layername: "bridge"}}],
};
The Dict your building is based upon 9 layers, but these are all the same layers. Are 'building', 'bridge' etc sub layers in the 51dc078a4b35479fb975114ca4abf546 item or attributes in the 0 sub layer? If it's the latter, you may want to filter so you're getting counts of the individual categories, instead of the layer as a whole, for example var building = Filter(FeatureSetByPortalItem(portal, "51dc078a4b35479fb975114ca4abf546", 0, ["*"], false), "fieldName = 'building'"); The Dict your building is just returning one feature, and one total count, not the individual counts of each layer. Consider adding more features to your Dict var Dict = {
fields: [{name: 'total', type: 'esriFieldTypeInteger'}, {name: 'layername', type: 'esriFieldTypeString'}],
geometryType: '',
features: [{attributes: {total: totalCount, layername: "bridge"}, {total: totalCount, layername: "building"}}],
};
... View more
01-03-2023
06:55 AM
|
1
|
0
|
1054
|
|
POST
|
Hi Oliver, I don't believe this is possible in the webmap itself but it is a configurable option in some of the Instant Apps applications through a 'Navigation boundary' setting: keeps the area in the map in focus by using a navigation boundary or disabling the ability to scroll. https://<yourorganisationname>.maps.arcgis.com/apps/instantgallery/index.html?tab=browseAll You can narrow down the options by searching for 'Navigation boundary': In the app, disable 'Express' mode and the 'Navigation boundary' will be an option through the menu. This is what it looks like in the Basic app:
... View more
01-03-2023
06:23 AM
|
3
|
1
|
3250
|
|
BLOG
|
Excellent! Thanks for sharing your solution for others Carmel
... View more
01-02-2020
01:24 AM
|
1
|
0
|
6155
|
|
BLOG
|
Hi Drew, Thank you for the information, it might be the case that Survey123 works a little different now to 2 years ago! Can you email me your Survey123 spreadsheet and I'll have a look? cconnolly@esriuk.com Carmel
... View more
12-19-2019
01:42 AM
|
0
|
0
|
6155
|
|
BLOG
|
Hi Amos, Are you able to attached your Survey123 spreadsheet so I can understand better what you're trying to do? Carmel
... View more
08-06-2019
06:24 AM
|
0
|
0
|
7796
|
|
BLOG
|
Hi Jorge, Answers in select_multiple questions are returned in a comma separated list like: Red, Green, Other so, an entry in the Relevant column like ${name} = 'Other' is true if only 'Other' is selected. Using the Selected function allows us to overcome this, something like: selected(${name}, 'Other’) or based on the blog above: selected(${SurveyType}, 'Other') This also works for select_one questions if you wanted to have a consistent formula in your form! Carmel
... View more
07-15-2019
08:23 AM
|
2
|
0
|
7796
|
|
POST
|
Hi Brandon, This link: How To: Download attachments from a hosted feature service explains how to download the attachments as a related table in a file geodatabase. Does this help? Carmel
... View more
04-23-2019
02:19 AM
|
1
|
1
|
7750
|
|
POST
|
I see, something seems amiss with this Survey123 layer, it's got limited functionality that I would expect with a layer view or layer created from a csv/shapefile. - the help says the results of your survey can't be exported into KML or XLSX (Excel) formats but other formats are supported: https://doc.arcgis.com/en/survey123/reference/survey123withenterprise.htm#ESRI_SECTION1_F5A1901B74F54A728668DC98AA2FDFCB I recommend getting in touch with your local Support team, doing something like a screenshare might get to the bottom of this! Carmel
... View more
04-18-2019
08:20 AM
|
0
|
0
|
2563
|
|
POST
|
Hi Wendi, Seems to be some differences here. How was this layer created? Through the Survey123 publishing process, saved from a csv added to a webmap or another method? Carmel
... View more
04-18-2019
08:05 AM
|
0
|
2
|
2563
|
|
POST
|
Hi Wendi, Can you navigate to the Item Details page of the hosted feature layer in your portal > Settings > Feature Layer (Hosted) > Is there an Export Data option here? Carmel
... View more
04-18-2019
07:49 AM
|
0
|
4
|
2563
|
|
POST
|
Hi Wendi, What version of ArcGIS Enterprise are you running? Where is the source of the layer in question? Is it a hosted data store layer or coming from an enterprise geodatabase (SQL/Oracle)? Can you perform any analysis on this layer through a webmap? Carmel
... View more
04-18-2019
07:36 AM
|
0
|
6
|
5868
|
|
POST
|
Thanks Johnathon, John Grogan, can you share you're requirements with Johnathon on why having the ability to change the completion message for a survey created in Connect would help you and your organisation? It'd be useful explain a little about your project and the potential size of audience it would be reaching. Carmel
... View more
11-19-2018
01:33 AM
|
0
|
3
|
2228
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 08-24-2023 07:58 AM | |
| 1 | 08-31-2023 12:51 AM | |
| 1 | 08-25-2023 04:17 AM | |
| 1 | 08-29-2023 01:44 AM | |
| 1 | 08-25-2023 04:24 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|