POST
|
Are there any known issues using a choice list to populate a geopoint question from a select_one_external on Portal? I have 25K addresses to pull in from a choice list. To speed things up, I am trying to use cascading and external selects. The survey works using a choice list in AGOL using select_one/choices, just a bit slow, load time ~8 seconds. Does NOT work in AGOL using select_one_external and external_choices. Using the same XLS Form.... Publishing failed in PORTAL using select_one/choice list and select_one_external/Myexternal_choices. My thinking was that it is stored as a text string in the items.csv file, therefore, causing issues. I have tried changing the bind::type not the bind::esri:fieldType with no success. I get an ErrorCode 500 when trying to publish to PORTAL and publishes fine to AGOL just that the dropdown does not provide any selectable items. Any thoughts as to what may be causing this? From survey type name label appearance choice_filter select_one_external address addresses Select Address from List autocomplete parish=${parish} From external_choices worksheet list_name name label parish address +029.9329_-90.3637 103 1ST ST LULING LA SCP address +029.9328_-90.3636 105 1ST ST LULING LA SCP address +029.9338_-90.3640 105 1ST ST LULING LA SCP address +029.9338_-90.3639 107 1ST ST LULING LA SCP
... View more
05-25-2020
01:39 PM
|
0
|
1
|
526
|
POST
|
Are there any known issues using a choice list to populate a geopoint question from a select_one_external on Portal? It seems to work fine when in the choice list but I have 25K addresses to pull in, was thinking it was stored as a text string in the items.csv file, therefore, causing issues. list_name name label parish address +029.9329_-90.3637 103 1ST ST LULING LA SCP address +029.9328_-90.3636 105 1ST ST LULING LA SCP address +029.9338_-90.3640 105 1ST ST LULING LA SCP address +029.9338_-90.3639 107 1ST ST LULING LA SCP
... View more
05-18-2020
07:27 PM
|
0
|
0
|
3065
|
BLOG
|
I have a similar issue as some above. I am trying to basically duplicate a record. I need to be able to add records to a survey as a new survey to create a history of incidents at a location. Right now, I create a new survey and copy all the data from an existing surveys fields using the GlobalID. I can achieve what I am after if I select an address from my choice list, however, when I don't have an address and use the reverse geocode option, when I go to repeat the same process as above it does not go back to the location I placed the pin at. How do I get the new survey to go to the location where I dropped the pin at in the existing survey? I used pulldata("@geopoint", ${location}, "reversegeocode.address.Match_addr") but it drops a pin at my default location where the map is centered on. Ideas? type name label hint appearance default calculation bind::esri:fieldType bind::esri:fieldLength begin group address_select Select Address select_one address address Select Address from List If not in list select "Other" autocomplete select_one YesNoIndicator AddressInList Address <i>Not</i>Listed? (Y / N) minimal Yes if(selected(${address},'+029.9445_-90.3728'),'No', 'Yes') esriFieldTypeString 50 geopoint location Address Location If no address center map on pin by dragging map hide-input concat(substr(${address}, 0, 9)," ",substr(${address}, -8)) esriFieldTypePointZ end group address_selectend begin group location_select Select Location on Map Above minimal select_one yes_no confirm_reversegeocode Run geocode services minimal No hidden reversegeocode_json_output JSON Results multiline pulldata("@geopoint",${location},"reversegeocode","","featureTypes=" + ${featuretypes}) esriFieldTypeString 4000 select_one featureTypes featuretypes Select output type (Address or Street Intersection) <i>If other than street address</i> minimal PointAddress esriFieldTypeString 50 text addres Enter Address Not in List pulldata("@json",${reversegeocode_json_output},"address.Address") esriFieldTypeString 50 end group locationgroupend end group
... View more
04-27-2020
07:20 PM
|
0
|
0
|
17715
|
BLOG
|
Maybe I am overlooking something but as an administrator, I would like to manage what training employees take since they are consuming credits and taking classes not associated with their job duties. I already created a credit budget but is the Request Permissions form what I would use to manage this?
... View more
04-07-2020
07:05 PM
|
0
|
0
|
8814
|
POST
|
James, I actually did exactly what you did. I got it to work. It was all just a URL issue and a comma, go figure. It works great! Thanks for the response and input. Luis Luis Martinez Geographic Information Systems Office St. Charles Parish 15012 River Road Hahnville, LA 70047 phone 985.331.3003
... View more
03-23-2020
12:02 PM
|
0
|
0
|
1474
|
POST
|
Hi James, its a new server and IT loaded Server 2012 R2, however, I did not check the graphics card. If that can present an issue, that could potentially be the problem, which is no big deal, i just accessed my portal from my desktop and did what I needed to. Thank you, Luis Luis Martinez Geographic Information Systems Office St. Charles Parish 15012 River Road Hahnville, LA 70047 phone 985.331.3003
... View more
03-23-2020
12:01 PM
|
0
|
0
|
1284
|
POST
|
I am having the problem mentioned in the above posts as well. I deleted the files in ..\Applications\ArcGIS\Survey123ConnectforArcGIS\position directory and get a blank box when trying to launch Connect. Using Windows Server 2012R2 and Survey123Connect x64 3.7.62. I also uninstalled, downloaded again and did a fresh install. I cant find anything regarding this issue. Any ideas?
... View more
03-19-2020
10:57 AM
|
0
|
2
|
1284
|
POST
|
Ok...this one seems like a challenge. I am able to do what I want -somewhat - but not really get the results I want. I made a link on my popup box that links to my survey form so it's possible to go back and edit a survey. I created a button in the form that's associated with a Relevant field so that if its a new survey you can enter the info or if its an Update, keeps the previous info and you can update the new fields in a group...basically adding info to fields related to the update button. I created a repeat and that just adds selections to a related table so that will not work. The way it would need to function would be to click the Update Record button and would duplicate all (or some) of the initial survey fields. It wouldn't alter any of the previous surveys and just add/update info regarding the revisit or status. It would serve sort of as a log or a history of surveys. I did this using Calculations and Relevant fields but it's not really what I'm after (See Form Below). The popup would show the latest info on the map related to status (see Figure 1) but that's not as important at this moment and that's not quite possible using this method. The importance would be to add additional info to each survey. The new information would be added to the popup and controlled by configuring the HTML (see Figure 2). As for now, I dont know how many records would be added, but assume several could be added. Any ideas? Figure1. - Existing Popup Figure2. - Desired Outpop # type name label appearance default readonly relevant select_one update_yesno record_update Select Incident Record Type No begin group group1_begin Input Record ${record_update}="No" dateTime RecordedDateTime Time to Recorded horizontal now() select_one tofrom tofrom Origin of Incident likert From end group group1_end end group begin group group2_begin Update Incident Record No ${record_update}="Yes" begin repeat UpdatedDateTime0 Update Time dateTime UpdatedDateTime1 Time Updated now() end repeat begin repeat UpdatedToFrom0 Update Origin select_one tofrom UpdatedToFrom1 Update Origin of Incident likert To end repeat begin repeat UpdatedStatus0 Update Status likert select_one status UpdatedStatus1 Update Incident Status end repeat end group group2_end
... View more
03-15-2020
06:18 PM
|
0
|
4
|
1531
|
POST
|
Dude, I cannot thank you enough. I looked at the quick ref guide and guess with all the text I've been staring at I didn't even see that. It works perfectly! Appreciate the quick response. Also, for the image icon appearing under the text, the field type was set to text, removed it and went away!
... View more
03-11-2020
02:19 PM
|
0
|
0
|
1566
|
POST
|
I am having the same issue as most above...with an additional minor one. I am getting the NaN in my web form calculation when adding to string fields. I am adding values from a selected field and a text field using formula ${eclid2} + "-" + ${eclid}. It works well in app and Connect but in browser I get NaN. Am I missing something? Also, when using the likert appearance, I get a "image" icon below the text. I have seen this before and may be something to do with the xls form, but not sure. Any ideas? select_one ecl incidentnmbr Emergency Classification Level esriFieldTypeString text eclid Emergency Classification ID Enter record number and year (25-20) esriFieldTypeString calculate eclid2 Emergency Classification ID2 if(selected(${incidentnmbr}, ‘UNE’), ’Unusual Event’, if(selected(${incidentnmbr}, ‘ALE’), ’Alert’, if(selected(${incidentnmbr}, ‘SAE’), ’Site Area Emergency’, if(selected(${incidentnmbr}, 'GE’), ’General Emergency’,’Other’)))) esriFieldTypeString calculate eclcal ECL Calculate ${eclid2} + "-" + ${eclid} esriFieldTypeString text eclsubstr Emergency Classification Number ${eclcal} esriFieldTypeString
... View more
03-11-2020
01:09 PM
|
0
|
2
|
1566
|
BLOG
|
A comma and a bad operator, man, I cant thank you enough. I overlooked that 100 times!
... View more
03-03-2020
09:22 AM
|
0
|
0
|
8600
|
BLOG
|
Thanks, I am still getting the same error. I went back and deleted all the fields in the bind columns just in case but there is nothing there and get the error in the image below. type name label hint constraint constraint_message required appearance relevant calculation note logo date d1 Date dateTime IncidentDateTime Time of Incident horizontal dateTime RecordedDateTime Time Incident Recorded yes horizontal select_one status status Incident Status Select Incident Status yes autocomplete time time Time of Record Input calculate shiftcalc Autocalculate Shift horizontal-compact if((${time} >= '8:00AM' and ${time}=<'6:00PM'), 'A', 'B') text shift Shift ${shiftcalc}
... View more
03-03-2020
08:25 AM
|
0
|
0
|
8600
|
BLOG
|
I am trying to auto populate a field based on time, basically if the time is between 8:00AM and 6:00PM return a value of 'A' otherwise give it a value of 'B.' So if you work between certain times youre in Shift A otherwise youre in shift B. in my calculation field i have if((${time} >= '8:00AM' and ${time}=<'6:00PM') 'A', 'B') but keep getting an error. I have looked up and down for what I am doing wrong but cant figure it out. Any suggestions on what I am doing wrong?
... View more
03-02-2020
06:04 PM
|
0
|
0
|
8600
|
POST
|
Thanks Benjamin, I will give that a shot...it makes sense now...I spent two days fumbling with this and didnt even see the graphic as point type....whew. Thanks again. Luis4018
... View more
12-12-2013
01:53 PM
|
0
|
0
|
252
|
POST
|
I am using the sample code from the Display popups programmatically sample. However, i changed my graphics from polygons to points and made changes to the code to reflect that in the map display and in the maps Table of Contents. Everything works well except for the "Zoom To" from selecting a user selected site from the Table of Contents (Not the Button). This is a very first rough draft of the application http://www.scpgis.com/BMAP/Copyofbmap.html. Anyone have any idea what I am doing wrong? I thought it was simple but it got to the point where Im done banging my head over trying to resolve this...thanks in advance for takin a glance. Here is some of the code... </fx:Script> . . protected function queryTask_executeCompleteHandler(event:QueryEvent):void { if (event.featureSet.features) { statesGraphicsLayer.graphicProvider = event.featureSet.features; statesList.dataProvider = new ArrayList(event.featureSet.features); map.extent = GraphicUtil.getGraphicsExtent(event.featureSet.features); } } protected function esriService_faultHandler(event:FaultEvent):void { Alert.show("Error: " + event.fault.faultString, "Error code: " + event.fault.faultCode); } protected function statesList_changeHandler(event:IndexChangeEvent):void { // Get the current graphic from the selectedItem in the List var currentGraphic:Graphic = List(event.currentTarget).selectedItem as Graphic; var mapPoint:MapPoint = currentGraphic.geometry.extent.center; contentNavigator.dataProvider = new ArrayList([ currentGraphic ]); // Put the ContentNavigator in the info window. map.infoWindowContent = contentNavigator; map.zoomTo(currentGraphic.geometry); map.infoWindow.show(mapPoint); } import com.esri.ags.geometry.MapPoint; import com.esri.ags.layers.TiledMapServiceLayer; import mx.events.FlexEvent; private function layerShowHandler(event:FlexEvent):void {var tiledLayer:TiledMapServiceLayer = event.target as TiledMapServiceLayer; map.lods = tiledLayer.tileInfo.lods;} ]]> </fx:Script> <fx:Declarations> <esri:NavigationTool id="navTool" map="{map}"/> <esri:Query id="query" outFields="[Site_Name, Site_Addre,SiteID]" outSpatialReference="{map.spatialReference}" returnGeometry="true" where="1=1"/> <esri:QueryTask id="queryTask" executeComplete="queryTask_executeCompleteHandler(event)" fault="esriService_faultHandler(event)"showBusyCursor="true" url="http://65.82.52.71/webmaps/rest/services/BMAP/MapServer/0"/> </fx:Declarations> Here is where I create the point graphics layer... <esri:GraphicsLayer id="statesGraphicsLayer"> <esri:symbol> <esri:SimpleMarkerSymbol id="defaultsym" color="0xFF0000" size="11" alpha="0.8" style="circle"> <esri:SimpleLineSymbol color="0x000000" width="1" alpha="0.5" style="solid" /> </esri:SimpleMarkerSymbol> </esri:symbol> </esri:GraphicsLayer> Here is where I create the Table of Contents... <s:Group width="200" height="100%"right="0" top="0"> <s:Rect left="0" right="0" top="0" bottom="0" radiusX="5" radiusY="5"> <s:fill> <s:SolidColor color="0xd6d7d6"/> </s:fill> </s:Rect> <s:Rect left="4" right="4" top="4" bottom="4" radiusX="5" radiusY="5"> <s:fill> <s:SolidColor color="0xd6d7d6"/> </s:fill> </s:Rect> <s:VGroup width="100%" height="100%" paddingBottom="5" paddingLeft="5" paddingRight="5" paddingTop="5" verticalAlign="middle"> <s:Label fontSize="12" text="Site Name"/> <!--When we click on the item, which is an API Graphic object fire the change event so we can get the graphic.--> <s:List id="statesList" width="100%" height="90%" change="statesList_changeHandler(event)"> <s:itemRenderer> <fx:Component> <s:ItemRenderer> <s:states> <s:State name="normal"/> <s:State name="hovered"/> <s:State name="selected"/> </s:states> <s:Label height="20" left="5" fontWeight.selected="bold" fontSize="10" text="{data.attributes.Site_Name}" verticalAlign="middle"/> </s:ItemRenderer> </fx:Component> </s:itemRenderer> </s:List> </s:VGroup> </s:Group>
... View more
12-06-2013
09:13 AM
|
0
|
3
|
724
|
Online Status |
Offline
|
Date Last Visited |
04-03-2023
08:35 PM
|