<?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: How to change the URL in the GeodatabaseFeatureServiceTable at runtime? in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-change-the-url-in-the/m-p/870184#M3281</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will not be able to simply change the URL of the feature service - you will need to include two GeodatabaseFeatureServiceTable objects in your project - each pointing to a different feature service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the same case for the TiledMapServiceLayer, if you wanted to switch basemaps, you can't just swap out the URL of the basemap service - you will need to include two TiledMapServiceLayer objects in your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not very helpful - but I can confirm that what you are seeing is correct and that switching out the URL will NOT work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Hannah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Oct 2015 05:08:36 GMT</pubDate>
    <dc:creator>HannahFerrier</dc:creator>
    <dc:date>2015-10-13T05:08:36Z</dc:date>
    <item>
      <title>How to change the URL in the GeodatabaseFeatureServiceTable at runtime?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-change-the-url-in-the/m-p/870183#M3280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a &lt;SPAN style="color: #303030;"&gt;GeodatabaseFeatureServiceTable with a Feature Layer for online editing in qml, and I want to change the url of the GeodatabaseFeatureServiceTable at runtime to edit another feature service. But somehow it doesn't work when I change the URL. Could someone help me on this issue?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;For example, I want to change the url in the following code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;&lt;SPAN style="font-style: italic;"&gt;theFeatureServiceTable&lt;/SPAN&gt;.url="http:\\gis......\FeatureServer\0";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;when I use&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log(&lt;SPAN style="font-style: italic;"&gt;theFeatureServiceTable&lt;/SPAN&gt;.url)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; now, the &lt;SPAN style="font-style: italic;"&gt;theFeatureServiceTable&lt;/SPAN&gt;.url value is not changed at all. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;Many thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #303030;"&gt;Wei&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Oct 2015 20:17:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-change-the-url-in-the/m-p/870183#M3280</guid>
      <dc:creator>URSGIS</dc:creator>
      <dc:date>2015-10-09T20:17:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the URL in the GeodatabaseFeatureServiceTable at runtime?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-change-the-url-in-the/m-p/870184#M3281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You will not be able to simply change the URL of the feature service - you will need to include two GeodatabaseFeatureServiceTable objects in your project - each pointing to a different feature service.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the same case for the TiledMapServiceLayer, if you wanted to switch basemaps, you can't just swap out the URL of the basemap service - you will need to include two TiledMapServiceLayer objects in your project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not very helpful - but I can confirm that what you are seeing is correct and that switching out the URL will NOT work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Hannah&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 05:08:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/how-to-change-the-url-in-the/m-p/870184#M3281</guid>
      <dc:creator>HannahFerrier</dc:creator>
      <dc:date>2015-10-13T05:08:36Z</dc:date>
    </item>
  </channel>
</rss>

