<?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: Map Service with SQL table join not updating in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-service-with-sql-table-join-not-updating/m-p/251722#M6533</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try to set the FeatureLayer DisableClientCaching property to true. That will prevent from using the browser cache when updating the feature layer.&lt;/P&gt;&lt;P&gt;Not sure it's your issue but it's worth the try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Dec 2014 13:47:12 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2014-12-18T13:47:12Z</dc:date>
    <item>
      <title>Map Service with SQL table join not updating</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-service-with-sql-table-join-not-updating/m-p/251721#M6532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a map service in which there is a polyline layer joined to an SQL table.&amp;nbsp; The table is pulled into ArcMap from a database connection.&amp;nbsp; ArcMap sees this table just like any other spatial table and the table join is successful.&amp;nbsp; The map publishes successfully.&amp;nbsp; In my Silverlight app I have defined a unique value renderer that's based on a field in the joined SQL table.&amp;nbsp; The renderer works and, at least at first, my polylines are correctly symbolized in the Silverlight app based upon the field in the joined SQL table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem occurs when I update or insert rows in the joined SQL table.&amp;nbsp; For instance, an update might alter an existing row in the table that should then change the symbology of a polyline.&amp;nbsp; The table update is successful but the polyline doesn't change in the Silverlight app.&amp;nbsp; I checked that the update was reflected in the MXD and it is.&amp;nbsp; So I know the updates and inserts are happening successfully in the SQL table, and I can see the resulting symbology changes in the MXD, but those changes do not carry into the Silverlight app.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried several things, such as refreshing the service from within my Silverlight codebehind.&amp;nbsp; I also tried the Update method on the map service.&amp;nbsp; Neither worked.&amp;nbsp; The only thing that did work was to republish the entire service.&amp;nbsp; After republishing the next time I fired up the Silverlight app all the of the updates and inserts were reflected in the map's symbology.&amp;nbsp; This is obviously not a solution though.&amp;nbsp; I can't have my users waiting for a map service to republished between every single update they make, not that there is even a way to republish on the fly from within a Silverlight app anyway.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a method I can call on the map service in Silverlight that would have the same affect as republishing but not take as long?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 13:37:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-service-with-sql-table-join-not-updating/m-p/251721#M6532</guid>
      <dc:creator>CurtWalker</dc:creator>
      <dc:date>2014-12-18T13:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Map Service with SQL table join not updating</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-service-with-sql-table-join-not-updating/m-p/251722#M6533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can try to set the FeatureLayer DisableClientCaching property to true. That will prevent from using the browser cache when updating the feature layer.&lt;/P&gt;&lt;P&gt;Not sure it's your issue but it's worth the try.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 13:47:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-service-with-sql-table-join-not-updating/m-p/251722#M6533</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2014-12-18T13:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Map Service with SQL table join not updating</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-service-with-sql-table-join-not-updating/m-p/251723#M6534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the suggestion.&amp;nbsp; I applied that setting to my feature layer and it did not solve the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I click the button that fires the function that updates the joined table, it also fires the Update() method on the feature layer in question.&amp;nbsp; I can see that layer flicker in the Silverlight app, so I know it is being updated by the app, but apparently it is not receiving a truly updated version.&amp;nbsp; This makes me think there is some setting in ArcGIS Server itself that I need to change?&amp;nbsp; Or a cache that needs clearing every 1 second perhaps?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 13:54:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-service-with-sql-table-join-not-updating/m-p/251723#M6534</guid>
      <dc:creator>CurtWalker</dc:creator>
      <dc:date>2014-12-18T13:54:06Z</dc:date>
    </item>
    <item>
      <title>Re: Map Service with SQL table join not updating</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-service-with-sql-table-join-not-updating/m-p/251724#M6535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just tried clearing the REST cache manually and it did not fix the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 14:02:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-service-with-sql-table-join-not-updating/m-p/251724#M6535</guid>
      <dc:creator>CurtWalker</dc:creator>
      <dc:date>2014-12-18T14:02:42Z</dc:date>
    </item>
    <item>
      <title>Re: Map Service with SQL table join not updating</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-service-with-sql-table-join-not-updating/m-p/251725#M6536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are having the exact same issue using csv files.&amp;nbsp; The update shows up in the mxd but the only way I can get it to reflect in the webservice (flex in our case) is to totally republish the service and I do not see this as a reasonable work around. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Apr 2015 02:02:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/map-service-with-sql-table-join-not-updating/m-p/251725#M6536</guid>
      <dc:creator>CarolKennedy</dc:creator>
      <dc:date>2015-04-14T02:02:23Z</dc:date>
    </item>
  </channel>
</rss>

