IDEA
|
This would be great for displaying emergency service call data. Our Fire and Rescue department would like to view call data demographic for specific areas within our City. Age and sex are currently being recorded for each call. I would love to have the ability to display the data similar to a population pyramid.
... View more
05-04-2020
07:48 AM
|
0
|
0
|
996
|
POST
|
We are having the same issue. A couple weeks ago we had this happen to us and i tried to implement the solution noted in this ESRI Community post (see "Connecting Integromat to an ArcGIS Enterprise instance). We were just trying to get the connection between our organization AGOL account and integromat. This seemed like a logical solution since we are doing this with our Web App builder for developers instance. However, this weekend the connection in Integromat using this new method failed to login in this morning when our webhook tried to run this morning. Has anyone had any further luck with this issue?
... View more
11-17-2019
10:10 AM
|
0
|
0
|
2330
|
POST
|
Marvin, So what i was experiencing is very odd. Seems to be a little buggy to me. Everything i was doing matched what you were describing except for being able to see the dropdowns in AGOL map viewer. So what i ended up doing was creating a test survey form through the web survey 123. Then I added in a dropdown list question and added some test dropdown values. From there i went into Survey Connect, downloaded and opened the test survey xls, copied that particular row (to be sure I was copying all the setting for a "dropdown" question) then finally paste that into my main survey. From there I just adjusted the list value to the current list I had create for those fields, published, and then i was able to see dropdowns in AGOL map viewer. Once that test was complete I switched the type field to hidden and boom! It works just like you said! Very odd work around for me but it now works. Thanks for your help!
... View more
07-19-2019
12:10 PM
|
0
|
0
|
1177
|
POST
|
Marvin, I have tried this but when I go to publish the form and have updated the fields to "select_one Name_of_list" and view the feature layer in a map viewer on AGOL, the two new fields still dont have the option for drop-downs. I am able to see the drop-downs in the survey but cant seem them in the map viewer when i go to edit on of the points in the feature layer. Not really sure what I am doing wrong. Once i get that to work i will continue to test your theory of switching it back to "hidden". Thanks!
... View more
07-19-2019
11:32 AM
|
0
|
2
|
1177
|
POST
|
I am looking to do something similar. Currently using Survey123 Connect to edit our survey. I have successfully hidden two fields but now I am trying to get a "choices list"/domain for these two new fields. We are looking to have a review process so admins can review and update these hidden fields, then create a filtered view based off certain values in these fields. Is there way to associate a list from the choices spreadsheet with a hidden field?
... View more
07-19-2019
09:03 AM
|
0
|
4
|
1177
|
POST
|
Got it figured out. Please see the below code changes to both the Search Widget.js and the Search config.json. Search Widget.js changes: //Place after var convertedSource around line 376
var convertedSource = {
featureLayer: flayer,
outFields: ["*"],
searchFields: fNames,
autoNavigate: false,
displayField: source.displayField || "",
exactMatch: !!source.exactMatch,
name: jimuUtils.stripHTML(source.name || ""),
placeholder: jimuUtils.stripHTML(source.placeholder || ""),
maxSuggestions: source.maxSuggestions || 6,
maxResults: source.maxResults || 6,
zoomScale: source.zoomScale || 50000,
//infoTemplate: lang.clone(template),
useMapExtent: !!source.searchInCurrentMapExtent,
showInfoWindowOnSelect: showInfoWindowOnSelect,
enableInfoWindow: enableInfoWindow,
_featureLayerId: source.layerId,
_zoomScaleOfConfigSource: source.zoomScale,
_panToScale: source.panToScale,
};
//Insert below lines
if (source.highlightSymbol) {
convertedSource.highlightSymbol = jsonUtils.fromJson(source.highlightSymbol);
this.map.infoWindow.fillSymbol = jsonUtils.fromJson(source.highlightSymbol);
} //Comment out this.searchDijit.clearGraphics() to get symbology to persist
_loadInfoTemplateAndShowPopup: function (layerInfo, selectedFeature, selectEvent) {
if (layerInfo) {
//this.searchDijit.clearGraphics();
var layerObjectInMap = this.map.getLayer(layerInfo.id);
if (layerInfo.isPopupEnabled() && layerObjectInMap) {
this._showPopupByFeatures(layerInfo, [selectedFeature], selectEvent);
} else {
layerInfo.loadInfoTemplate().then(lang.hitch(this, function (infoTemplate) {
//temporary set infoTemplate to selectedFeature.
selectedFeature.setInfoTemplate(lang.clone(infoTemplate));
this._showPopupByFeatures(layerInfo, [selectedFeature], selectEvent);
// clear infoTemplate for selectedFeature;
var handle = aspect.before(this.map, 'onClick', lang.hitch(this, function () {
selectedFeature.setInfoTemplate(null);
handle.remove();
}));
}));
}
}
}, Search config.js additions: // Add at end of config. Need to be sure that showInfoWindowOnSelect is true
"highlightSymbol": {
"color": [
0,
0,
0,
0
],
"outline": {
"color": [
0,
0,
0,
128
],
"width": 3.5,
"type": "esriSLS",
"style": "esriSLSSolid"
},
"type": "esriSFS",
"style": "esriSFSSolid"
}
... View more
10-31-2018
08:32 AM
|
1
|
6
|
1236
|
POST
|
Has anyone made the jump to 2.10 and gotten this functionality to work? I had it working on 2.7 but as I have made the jump to the most recent version i cant seem to recreate it. I can see the changes start to work on initial search but then they disappear and get over taken by the default highlight and popup window. When I disable the highlight in the Widget.js I get the same result. Initial search will show the change briefly but then it will disappear.
... View more
10-30-2018
09:52 AM
|
0
|
7
|
1236
|
POST
|
Matt, We are trying to accomplish the same thing you are. Did you end up finding a way to highlight the selection without displaying the popup? We are able to disable the popup as Robert had shown above but we would still like to have the selection highlighted.
... View more
04-06-2018
05:47 AM
|
1
|
0
|
1869
|
POST
|
I finally found the post and portion of code that will do this. Here is the link for anyone else that is looking to do this as well.
... View more
07-21-2017
08:13 AM
|
0
|
0
|
1725
|
POST
|
Jeff, Did you end up finding how to point the lyr.name portion below to look for a popup instead of the search result? I got it to work based on Robert Scheitlin, GISP modifications to the Print.js but i am now looking to get it to work for a popup. // See if there is a parcel search layer added to the map
var plyr;
array.some(this.map.graphicsLayerIds, lang.hitch(this, function (layerId) {
var lyr = this.map.getLayer(layerId);
if(lyr.name === "Search Results: Account #"){
plyr = lyr;
return true;
... View more
07-19-2017
07:59 AM
|
0
|
1
|
1725
|
POST
|
_getFeatureSet: function(){
var layer = this.currentSearchLayer;
var featureSet = new FeatureSet();
if (layer.name==="Search Results: Parcel"){
layer.fields = ["PIN];
} else if (layer.name==="Address _Query Result") {
layer.fields = ["ADDRESS"];
} So I have tried to make those adjustments in the Widget.js for the eSearch widget. Upon exporting the data as a CSV, it seems to be carrying over the result formatting that is specified in the app configuration. I am a little confused as to how the currentSearchLayer is create and or what exactly that returns. Is there something else i should be specifiying? thanks, Kyle
... View more
06-12-2017
11:41 AM
|
0
|
1
|
1824
|
POST
|
Robert, If i wanted to accomplish the same task in your Enhanced Search widget, how would the layer.name string be formatted? It was easy to figure out how the layer.name was formatted in the Query widget but with your Enhanced Search widget i am having a little bit more difficulty.
... View more
06-12-2017
09:36 AM
|
0
|
3
|
3171
|
POST
|
Robert, It worked perfectly! Now just have to go in and add the fields i would like. Thank you so much for sharing your wealth of knowledge. _getFeatureSet: function() {
var layer = this.currentAttrs.query.resultLayer;
var featureSet = new FeatureSet();
if (layer.name==="Parcel _Query Result"){
layer.fields = ["PIN"];
} else if (layer.name==="Address _Query Result") {
layer.fields = ["ADDRESS"];
}
... View more
06-09-2017
06:35 AM
|
1
|
1
|
3171
|
POST
|
Robert, This sounds like a better way of accomplishing what I would like to do. I have the if else statement created but I am having trouble getting the layerID from the layer variable. Should i create another var that gets the layer info from the query.resultLayer? It is probably really simply what i am tyring to do but i am somewhat new to custom coding. var layer = this.currentAttrs.query.resultLayer;
var featureSet = new FeatureSet();
if (layer.id===5){
layer.fields = ["PIN"];
} else if (layer.id===1) {
layer.fields = ["ADDRESS"];
}
... View more
06-09-2017
05:58 AM
|
0
|
4
|
3171
|
Title | Kudos | Posted |
---|---|---|
1 | 06-09-2017 06:35 AM | |
1 | 10-31-2018 08:32 AM | |
1 | 04-06-2018 05:47 AM |
Online Status |
Offline
|
Date Last Visited |
3 weeks ago
|