<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Edit widget and feature service layer syntax in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/edit-widget-and-feature-service-layer-syntax/m-p/33148#M1742</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Josh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try using&amp;nbsp; "FeatureServer" instead of "MapServer" in your config file.&amp;nbsp; You will also need to check "Feature Access" under Capabilities tab when you publish the service.&amp;nbsp; You should be able to use those layers to edit in your app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Mar 2012 18:27:46 GMT</pubDate>
    <dc:creator>MichaelMiller2</dc:creator>
    <dc:date>2012-03-23T18:27:46Z</dc:date>
    <item>
      <title>Edit widget and feature service layer syntax</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/edit-widget-and-feature-service-layer-syntax/m-p/33144#M1738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am using the Flex Viewer version 2.5 to create an editing application using a feature service. In the past and from what I have seen posted, I used the following syntax in the operational layers tag, with the Address Points layer being the only one in the service (0):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&amp;lt;layer label="Address Points" type="feature" visible="true" alpha="1.0" url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://website/ArcGIS/rest/services/EditingService/FeatureServer/0" rel="nofollow" target="_blank"&gt;http://website/ArcGIS/rest/services/EditingService/FeatureServer/0&lt;/A&gt;&lt;SPAN&gt;"/&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;But when firing up the application, the Edit Widget just says "Select template to create feature", then will change to "No editable layers".&amp;nbsp; The layer is listed in the operational layers TOC and can be turned on and off.&amp;nbsp; Interestingly enough though, if I add "MapServer/" to the URL parameter (url="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://website/ArcGIS/rest/services/EditingService/MapServer/FeatureServer/0" rel="nofollow" target="_blank"&gt;http://website/ArcGIS/rest/services/EditingService/MapServer/FeatureServer/0&lt;/A&gt;&lt;SPAN&gt;"/&amp;gt;), then the edit widget recognizes the feature service &amp;amp; template and editing works fine. Problem is though, using this REST URL syntax gives me another error every time the application initially loads.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The error states the map manager layer failed to load, fault code 400, invalid URL. If you close out the error the application works fine for the rest of session and editing works as expected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyone have any ideas? I appreciate the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Josh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 20:01:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/edit-widget-and-feature-service-layer-syntax/m-p/33144#M1738</guid>
      <dc:creator>JoshuaGumm</dc:creator>
      <dc:date>2012-03-22T20:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Edit widget and feature service layer syntax</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/edit-widget-and-feature-service-layer-syntax/m-p/33145#M1739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Josh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; So in ArcMap when you start editing this particular layer do you actually have a editing template establish for that layer?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 21:33:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/edit-widget-and-feature-service-layer-syntax/m-p/33145#M1739</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-03-22T21:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Edit widget and feature service layer syntax</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/edit-widget-and-feature-service-layer-syntax/m-p/33146#M1740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, when editing in ArcMap there is a template configured for the layer.&amp;nbsp; The template is recognized and works in the Flex Viewer application when I have "/MapServer" in the URL parameter, but then I get the map manager layer failed to load, fault code 400, invalid URL error.&amp;nbsp; You can close the error message and the application works fine, with editing capabilities, etc.&amp;nbsp; All examples I have found don't have the "/MapServer" in the URL, but if I remove it, then it doesn't recognize the template and does not allow editing.&amp;nbsp; It's weird and I'm not quite sure what else to try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I appreciate any insight you can provide.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Josh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 18:18:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/edit-widget-and-feature-service-layer-syntax/m-p/33146#M1740</guid>
      <dc:creator>JoshuaGumm</dc:creator>
      <dc:date>2012-03-23T18:18:54Z</dc:date>
    </item>
    <item>
      <title>Re: Edit widget and feature service layer syntax</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/edit-widget-and-feature-service-layer-syntax/m-p/33147#M1741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Josh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; So are you saying that you tried this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;lt;layer label="Address Points" type="feature" visible="true"&amp;nbsp; alpha="1.0"&amp;nbsp; url="http://website/ArcGIS/rest/services/EditingService/MapServer/0"/&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 18:26:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/edit-widget-and-feature-service-layer-syntax/m-p/33147#M1741</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-03-23T18:26:50Z</dc:date>
    </item>
    <item>
      <title>Re: Edit widget and feature service layer syntax</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/edit-widget-and-feature-service-layer-syntax/m-p/33148#M1742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Josh,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try using&amp;nbsp; "FeatureServer" instead of "MapServer" in your config file.&amp;nbsp; You will also need to check "Feature Access" under Capabilities tab when you publish the service.&amp;nbsp; You should be able to use those layers to edit in your app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Michael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 18:27:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/edit-widget-and-feature-service-layer-syntax/m-p/33148#M1742</guid>
      <dc:creator>MichaelMiller2</dc:creator>
      <dc:date>2012-03-23T18:27:46Z</dc:date>
    </item>
    <item>
      <title>Re: Edit widget and feature service layer syntax</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/edit-widget-and-feature-service-layer-syntax/m-p/33149#M1743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I had not tried it w/o "FeatureServer" and only having "MapServer" in the URL, but it is working now.&amp;nbsp; In the past I had used "FeatureServer" and it had worked fine.&amp;nbsp; Either way, I think I'm good and I really appreciate the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Josh&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 19:13:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/edit-widget-and-feature-service-layer-syntax/m-p/33149#M1743</guid>
      <dc:creator>JoshuaGumm</dc:creator>
      <dc:date>2012-03-23T19:13:58Z</dc:date>
    </item>
    <item>
      <title>Re: Edit widget and feature service layer syntax</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/edit-widget-and-feature-service-layer-syntax/m-p/33150#M1744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Joshua,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Glad you got it working. Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt; as shown below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Mar 2012 19:57:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/edit-widget-and-feature-service-layer-syntax/m-p/33150#M1744</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-03-23T19:57:13Z</dc:date>
    </item>
  </channel>
</rss>

