Solved! Go to Solution.
<layer label="SAR Grid" type="dynamic" visible="false" url="http://a0-em-agx.ds.army.mil/ArcGIS/rest/services/Aviation_30min_SAR_Grid/MapServer"> <sublayer id="0" popupconfig="popups/PopUp_Aviation_30min_SAR_Grid.xml"/> </layer> <layer label="SAR Grid Edits" type="feature" visible="false" alpha="0.5" popupconfig="popups/PopUp_Aviation_30min_SAR_Grid.xml" url="http://a0-em-agx.ds.army.mil/ArcGIS/rest/services/Aviation_30min_SAR_Grid/FeatureServer/0"/>
<?xml version="1.0" ?> <!-- If compiling this widget, make sure to add -keep-all-type-selectors=true to your compiler arguments in the FB project properties. --> <configuration label="Edit (example)"> <createoptions> <polygondrawtools>polygon,freehandpolygon,extent,autocomplete</polygondrawtools> <polylinedrawtools>polyline,freehandpolyline,line</polylinedrawtools> </createoptions> <addfeatures>false</addfeatures> <deletefeatures>false</deletefeatures> <toolbarvisible>false</toolbarvisible> <toolbarcutvisible>false</toolbarcutvisible> <toolbarmergevisible>false</toolbarmergevisible> <toolbarreshapevisible>false</toolbarreshapevisible> <updategeometry>false</updategeometry> <updateattributes>true</updateattributes> <excludelayer>HSIP Chemicals</excludelayer> <editablelayers> <editablelayer> <layername>SAR Grid Edits</layername> <fieldnames>NAME,SAR_Status,AVN_SAR_ID</fieldnames> <fieldlabels>Name,SAR_Status,AVN_SAR_ID</fieldlabels> <hiddenfields>LAT,LON</hiddenfields> </editablelayer> </editablelayers> </configuration>
<?xml version="1.0" ?> <!-- If compiling this widget, make sure to add -keep-all-type-selectors=true to your compiler arguments in the FB project properties. --> <configuration label="Edit (example)"> <createoptions> <polygondrawtools>polygon,freehandpolygon,extent,autocomplete</polygondrawtools> <polylinedrawtools>polyline,freehandpolyline,line</polylinedrawtools> </createoptions> <addfeatures>false</addfeatures> <deletefeatures>false</deletefeatures> <toolbarvisible>true</toolbarvisible> <toolbarcutvisible>false</toolbarcutvisible> <toolbarmergevisible>false</toolbarmergevisible> <toolbarreshapevisible>false</toolbarreshapevisible> <updategeometry>false</updategeometry> <updateattributes>true</updateattributes> <layersettings> <layer name="SAR Grid Edits"> <!-- feature layer --> <fields> <field name="NAME" alias="NAME"/> <field name="SAR_Status" alias="SAR_Status"/> <field name="AVN_SAR_ID" alias="AVN_SAR_ID"/> </fields> <showobjectid>false</showobjectid> <showglobalid>false</showglobalid> <singletomultilinethreshold>60</singletomultilinethreshold> <formfieldsorder>fields</formfieldsorder> </layer> </layersettings> <excludelayer>HSIP Emergency Services Locations</excludelayer> </configuration>
It has to be something basic they changed in 10.2/3.6
Also I have not found anything in the documentation covering it, but it appears you can edit without using featureserver layers now? Why even have the featureserver layers then?
...it checks if the operational layer(s) contain dynamic map services. If there are dynamic services, and there are no other matching editable feature layers associated with that service (such as in a feature service), the Edit widget will add those matching feature layers in the widget.
<?xml version="1.0" ?> <!-- If compiling this widget, make sure to add -keep-all-type-selectors=true to your compiler arguments in the FB project properties. --> <configuration label="Edit (example)"> <createoptions> <polygondrawtools>polygon,freehandpolygon,extent,autocomplete</polygondrawtools> <polylinedrawtools>polyline,freehandpolyline,line</polylinedrawtools> </createoptions> <addfeatures>false</addfeatures> <deletefeatures>false</deletefeatures> <toolbarvisible>true</toolbarvisible> <toolbarcutvisible>false</toolbarcutvisible> <toolbarmergevisible>false</toolbarmergevisible> <toolbarreshapevisible>false</toolbarreshapevisible> <updategeometry>false</updategeometry> <updateattributes>true</updateattributes> <layersettings> <layer name="POD Edits"> <!-- mapserver layer --> <sublayer id="0" iseditable="true"> <fields> <field name="POD_Status" alias="POD_Status"/> <field name="POD_ID" alias="POD_ID"/> <field name="POD_Name" alias="POD_Name"/> <field name="Parish" alias="Parish"/> <field name="Address" alias="Address"/> <field name="City" alias="City"/> <field name="Type" alias="Type"/> <field name="Zip" alias="Zip"/> <field name="Link" alias="Link"/> <field name="Manager" alias="Manager"/> <field name="Phone" alias="Phone"/> <field name="Priority" alias="Priority"/> <field name="Meals_on_H" alias="Meals_on_H"/> <field name="Water_on_H" alias="Water_on_H"/> <field name="Tarps_on_H" alias="Tarps_on_H"/> </fields> <showobjectid>false</showobjectid> <showglobalid>false</showglobalid> <singletomultilinethreshold>60</singletomultilinethreshold> <formfieldsorder>fields</formfieldsorder> </sublayer> </layer> <layer name="SAR Grid Edits"> <!-- feature layer --> <sublayer id="0" iseditable="true"> <fields> <field name="NAME" alias="NAME"/> <field name="SAR_Status" alias="SAR_Status"/> <field name="AVN_SAR_ID" alias="AVN_SAR_ID"/> </fields> <showobjectid>false</showobjectid> <showglobalid>false</showglobalid> <singletomultilinethreshold>60</singletomultilinethreshold> <formfieldsorder>fields</formfieldsorder> </sublayer> </layer> </layersettings> <excludelayer>HSIP Emergency Services Locations</excludelayer> </configuration>
The layers I have in the editwidget.xml are indeed listed in the editwidget.xml when the widget starts, but they are not visible. While you can turn on the mapserver layer version of it from the layerlist (outside the edit widget), you cannot select anything to edit it. I am starting to wonder if the 3.6 version is just plain broken and the functionality was stripped out to add in the ability to use templates.