<?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 Changing data in a map service in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/changing-data-in-a-map-service/m-p/73079#M2835</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 would like to have a map service which is based on data that will change periodically. I want the changes to be automatically reflected in the map service. Meaning,&amp;nbsp; when the data in the geodatabse, used in the map document which the service is published from is changed, I see the changes in my web application consuming said service. Am I correct in thinking that every time the underlying data/map doc of the map service changes I will have to republish the service? Is there a better way to do this? I have been doing fairly straight forward map services and using the FlexViewer, so I haven't branched out much. We are using ArcGIS Server 10.2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Mar 2014 22:17:34 GMT</pubDate>
    <dc:creator>LisaArnold</dc:creator>
    <dc:date>2014-03-11T22:17:34Z</dc:date>
    <item>
      <title>Changing data in a map service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/changing-data-in-a-map-service/m-p/73079#M2835</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 would like to have a map service which is based on data that will change periodically. I want the changes to be automatically reflected in the map service. Meaning,&amp;nbsp; when the data in the geodatabse, used in the map document which the service is published from is changed, I see the changes in my web application consuming said service. Am I correct in thinking that every time the underlying data/map doc of the map service changes I will have to republish the service? Is there a better way to do this? I have been doing fairly straight forward map services and using the FlexViewer, so I haven't branched out much. We are using ArcGIS Server 10.2.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 22:17:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/changing-data-in-a-map-service/m-p/73079#M2835</guid>
      <dc:creator>LisaArnold</dc:creator>
      <dc:date>2014-03-11T22:17:34Z</dc:date>
    </item>
    <item>
      <title>Re: Changing data in a map service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/changing-data-in-a-map-service/m-p/73080#M2836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If the types of changes include inserts (new records), updates (changes to exist records), or deletes (remove records) for the geometry or attribution, then you won't have to re-publish your service as long as your service is dynamic (e.g., not cached).&amp;nbsp; The data should be reflected almost immediately when you refresh the map service.&amp;nbsp; If you are changing schema (e.g., add new fields to an exist feature class, delete a field, re-name a feature class, add a new feature class, modify a subtype and domain), then you will need to stop and re-start your service IF the service contains any feature classes or tables affected by the changes I just mentioned.&amp;nbsp; This isn't an exhaustive list of schema changes, but it's a good initial list to make the point.&amp;nbsp; Additionally, if you add layers to your map document or change symbology or alter the label settings, you'll need to restart your service too.&amp;nbsp; So, in summary, the rule of thumb for whether you need to republish a service or not is this: data value changes (add, delete, update) don't typically require a restart (republish), but schema changes or map document changes do require a restart (republish).&amp;nbsp; I hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 23:30:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/changing-data-in-a-map-service/m-p/73080#M2836</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2014-03-11T23:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: Changing data in a map service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/changing-data-in-a-map-service/m-p/73081#M2837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks very much for the response, the summary you provided is great. Just to clarify, are you equating restart and republish? In 10.0 I would have just restarted the service to see the changes, but I thought in 10.1 and up I had to republish, overwriting the existing service, not just restart.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 23:40:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/changing-data-in-a-map-service/m-p/73081#M2837</guid>
      <dc:creator>LisaArnold</dc:creator>
      <dc:date>2014-03-11T23:40:08Z</dc:date>
    </item>
    <item>
      <title>Re: Changing data in a map service</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/changing-data-in-a-map-service/m-p/73082#M2838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Glad I could help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes, in my case I am equating restart with republish.&amp;nbsp; Technically, I suppose there is a difference.&amp;nbsp; In 10.1 and later (or in 10.0 if you're using an MSD), you are correct... you do need to generate a new service definition first and then restart the service accordingly.&amp;nbsp; So yes, this act of recreating the SD and then 'republishing' it is required to pick up the changes.&amp;nbsp; You don't need to delete and re-create the service itself, though.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It would be great if you could mark the correct answer with the green check!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Mar 2014 23:52:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/changing-data-in-a-map-service/m-p/73082#M2838</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2014-03-11T23:52:09Z</dc:date>
    </item>
  </channel>
</rss>

