<?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 Bug Geometric Network and FeatureService? in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/bug-geometric-network-and-featureservice/m-p/274273#M6433</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For editing non-simple types (for example geometric network) your data needs to be versioned.&amp;nbsp; Is it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.esri.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/Authoring_feature_services/009300000021000000/"&gt;http://help.esri.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/Authoring_feature_services/009300000021000000/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- This page also have some other good information &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Feb 2010 13:54:32 GMT</pubDate>
    <dc:creator>BjornSvensson</dc:creator>
    <dc:date>2010-02-18T13:54:32Z</dc:date>
    <item>
      <title>Bug Geometric Network and FeatureService?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/bug-geometric-network-and-featureservice/m-p/274272#M6432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried to start a service with FeatureService enabled for a map document with layers from Geometric Network and it throws an error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I disable the FeatureService option it starts the service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this a bug or a limitation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks advanced,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;José Sousa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Feb 2010 15:20:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/bug-geometric-network-and-featureservice/m-p/274272#M6432</guid>
      <dc:creator>JoseSousa</dc:creator>
      <dc:date>2010-02-17T15:20:21Z</dc:date>
    </item>
    <item>
      <title>Bug Geometric Network and FeatureService?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/bug-geometric-network-and-featureservice/m-p/274273#M6433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For editing non-simple types (for example geometric network) your data needs to be versioned.&amp;nbsp; Is it?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.esri.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/Authoring_feature_services/009300000021000000/"&gt;http://help.esri.com/en/arcgisserver/10.0/help/arcgis_server_dotnet_help/index.html#/Authoring_feature_services/009300000021000000/&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;- This page also have some other good information &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Feb 2010 13:54:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/bug-geometric-network-and-featureservice/m-p/274273#M6433</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2010-02-18T13:54:32Z</dc:date>
    </item>
    <item>
      <title>Bug Geometric Network and FeatureService?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/bug-geometric-network-and-featureservice/m-p/274274#M6434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Bjorn,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for the document. Indeed Geometric Network is working &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I spent one entire day testing this and everything seems to work just fine except the refresh of the map. I'm using the selection mode in the FeatureLayers and an ArcGISDynamicLayer as a base map mapservice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I select the feature on the map service as resutl I get the feature selected as graphic. When I move the graphic obviously get's updated and there is a call to applyEdits REST method.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;After that the map on screen does not refresh. So I caught the event editsComplete to manually refresh the map. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is this needed? Is this the proper approach? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;José Sousa&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI Portugal&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 17:31:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/bug-geometric-network-and-featureservice/m-p/274274#M6434</guid>
      <dc:creator>JoseSousa</dc:creator>
      <dc:date>2010-02-19T17:31:42Z</dc:date>
    </item>
    <item>
      <title>Bug Geometric Network and FeatureService?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/bug-geometric-network-and-featureservice/m-p/274275#M6435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes, this is the right approach. (Note that technically you only need to refresh when the applyEdits was successful.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you're using the Editor we might make that easier in the future.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 17:44:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/bug-geometric-network-and-featureservice/m-p/274275#M6435</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2010-02-19T17:44:42Z</dc:date>
    </item>
    <item>
      <title>Bug Geometric Network and FeatureService?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/bug-geometric-network-and-featureservice/m-p/274276#M6436</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Bjorn,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot for your guidance. Everything seems to work fine regarding the selection mode of the toolbar. When I select an element and modify it everything goes fine. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But there is allways an error when I select an element of the template picker and create a new element for instance a point. The applyEdits is called and the feature is inserted. I even catch the editsComplete method without errors but after it leaves this method (client side) it throws an exception (please check the error below). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this means anything to you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again for your help,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;José Sousa&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TypeError: Error #1009: Cannot access a property or method of a null object reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags.components::Editor/featureLayer_editsCompleteHandler()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEventFunction()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.core::UIComponent/dispatchEvent()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at &amp;lt;anonymous&amp;gt;()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.rpc::Responder/result()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags.tasks::FeatureServiceTask/handleApplyEdits()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; at Function/&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://adobe.com/AS3/2006/builtin::call" rel="nofollow" target="_blank"&gt;http://adobe.com/AS3/2006/builtin::call&lt;/A&gt;&lt;SPAN&gt;()&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at com.esri.ags.tasks::BaseTask/handleResult()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at &amp;lt;anonymous&amp;gt;()&lt;C&gt;&lt;/C&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.rpc::Responder/result()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; at mx.rpc::AsyncToken/&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.adobe.com/2006/flex/mx/internal::applyResult()&amp;lt;E&amp;gt;" rel="nofollow" target="_blank"&gt;http://www.adobe.com/2006/flex/mx/internal::applyResult()&lt;E&gt;&lt;/E&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; at mx.rpc.events::ResultEvent/&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.adobe.com/2006/flex/mx/internal::callTokenResponders()&amp;lt;E&amp;gt;" rel="nofollow" target="_blank"&gt;http://www.adobe.com/2006/flex/mx/internal::callTokenResponders()&lt;E&gt;&lt;/E&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; at HTTPOperation/&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()&amp;lt;E&amp;gt;" rel="nofollow" target="_blank"&gt;http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()&lt;E&gt;&lt;/E&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt; at mx.rpc::AbstractInvoker/&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://www.adobe.com/2006/flex/mx/internal::resultHandler()&amp;lt;E&amp;gt;" rel="nofollow" target="_blank"&gt;http://www.adobe.com/2006/flex/mx/internal::resultHandler()&lt;E&gt;&lt;/E&gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.rpc::Responder/result()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at mx.rpc::AsyncRequest/acknowledge()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at DirectHTTPMessageResponder/completeHandler()&lt;E&gt;&lt;/E&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEventFunction()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.events::EventDispatcher/dispatchEvent()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; at flash.net::URLLoader/onComplete()&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Feb 2010 00:23:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/bug-geometric-network-and-featureservice/m-p/274276#M6436</guid>
      <dc:creator>JoseSousa</dc:creator>
      <dc:date>2010-02-21T00:23:13Z</dc:date>
    </item>
    <item>
      <title>Bug Geometric Network and FeatureService?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/bug-geometric-network-and-featureservice/m-p/274277#M6437</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmmm.... Is this specific to one layer with Geometric Networks? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or does it happen all layers with Geometric Networks?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Or does it happen to all your Feature Service layers (even those without geometric networks)?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 21 Feb 2010 19:06:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/bug-geometric-network-and-featureservice/m-p/274277#M6437</guid>
      <dc:creator>BjornSvensson</dc:creator>
      <dc:date>2010-02-21T19:06:14Z</dc:date>
    </item>
    <item>
      <title>Bug Geometric Network and FeatureService?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/bug-geometric-network-and-featureservice/m-p/274278#M6438</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Bjorn,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tested only against Geometric Network but I've tested your sample EditorWithToolbar and it seems to edit fine simple features.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've changed my current mode from selection to onDemand and it seems to work even the creation of new features. So I guess this only happens when the selection mode is defined. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not want to use the onDemand mode because after the edits I need to refresh the graphic features that where affected by the movement of one single feature. Since I cannot determine which are I need to refresh the entire FeatureLayer (and others related) which is not very elegant &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For instance, by moving a valve it means that all lines related to this feature must move also (ensured in sde database by Geometric Network). It would be very usefull to have some option of getting all features (graphics) from FeatureLayer that intersects some geometry (graphic) without going from server since the data is already downloaded. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I use a mapservice and a FeatureLayer in selection mode the refresh of the mapservice is much more soft (gaves the impression that only the features related where refresh since its an image).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The most impressive thing about this issue is that it happens client side after the succesfull applyEdits has been done.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope you find the answer for this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've created and published 2 websites for you to check this out. It's more easy this way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1 - Selection Mode: &lt;/SPAN&gt;&lt;A href="http://195.23.241.219:8090/FlexEditor1/editor.html"&gt;http://195.23.241.219:8090/FlexEditor1/editor.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ViewSource: &lt;/SPAN&gt;&lt;A href="http://195.23.241.219:8090/FlexEditor1/srcview/index.html"&gt;http://195.23.241.219:8090/FlexEditor1/srcview/index.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;2 - OnDemandMode: &lt;/SPAN&gt;&lt;A href="http://195.23.241.219:8090/FlexEditor2/editor.html"&gt;http://195.23.241.219:8090/FlexEditor2/editor.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note: I will remove the links after you check this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;José Sousa&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Feb 2010 09:06:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/bug-geometric-network-and-featureservice/m-p/274278#M6438</guid>
      <dc:creator>JoseSousa</dc:creator>
      <dc:date>2010-02-22T09:06:32Z</dc:date>
    </item>
  </channel>
</rss>

