<?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: Publish layer as feature service on ArcServer using model builder? in ArcGIS Enterprise Questions</title>
    <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-layer-as-feature-service-on-arcserver/m-p/103477#M4012</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You do not have to publish a feature service, unless you require editing.&amp;nbsp; You can publish a map service instead.&amp;nbsp; Is there a need to edit the data in an enterprise geodatabase, or through a web map/app in ArcGIS Online?&amp;nbsp; If you do not need to edit the data in either circumstances, I would recommend simply publishing the XY Event layer as a map service.&amp;nbsp; Then, you will not need to do anything for the service to update.&amp;nbsp; As the SQL table is updated, so with the event layer, as well as the map service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Oct 2016 16:43:06 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2016-10-31T16:43:06Z</dc:date>
    <item>
      <title>Publish layer as feature service on ArcServer using model builder?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-layer-as-feature-service-on-arcserver/m-p/103474#M4009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is it possible to just use Model Builder to publish a feature service to an ArcServer? I have a geodatabase feature class that is linked to an sql table using model builder. This layer will auto update every time &amp;nbsp;the model runs on my machine. However, I want to have the model publish the layer as a feature service on my agency's Arcserver so that it can be added to a web map on ArcGIS Online. That way the web map will update as well. &amp;nbsp;I cannot figure out the best way to do this. Any help would be greatly appreciated. I am using ArcGIS &amp;nbsp;10.4 with a 10.2.2 Server. Also, ArcGIS is not installed on the server, just my computer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 03:37:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-layer-as-feature-service-on-arcserver/m-p/103474#M4009</guid>
      <dc:creator>MichaelTorbett1</dc:creator>
      <dc:date>2016-10-31T03:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Publish layer as feature service on ArcServer using model builder?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-layer-as-feature-service-on-arcserver/m-p/103475#M4010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you explain how the layer is updating?&amp;nbsp; It's possible that you do not have to re-publish the service after the update.&amp;nbsp; For example, if you have the geodatabase and SQL database registered with ArcGIS Server, as the data is updated the new edits will be read without having to re-publish the service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 12:14:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-layer-as-feature-service-on-arcserver/m-p/103475#M4010</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2016-10-31T12:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Publish layer as feature service on ArcServer using model builder?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-layer-as-feature-service-on-arcserver/m-p/103476#M4011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Jake,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;I'm sure there is a better way to do this, but here is the model so far. I am making a database connection to our SQL server&amp;nbsp;and creating an xy event layer, then storing it as a feature class on Arcserver. I'm working right now to register the sql server as well (although it's taking a while). What's the next step to getting this to ArcGIS Online? It needs to be stored as a feature service on the server correct?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/255128_Capture.JPG" style="width: 620px; height: 339px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 15:55:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-layer-as-feature-service-on-arcserver/m-p/103476#M4011</guid>
      <dc:creator>MichaelTorbett1</dc:creator>
      <dc:date>2016-10-31T15:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: Publish layer as feature service on ArcServer using model builder?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-layer-as-feature-service-on-arcserver/m-p/103477#M4012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You do not have to publish a feature service, unless you require editing.&amp;nbsp; You can publish a map service instead.&amp;nbsp; Is there a need to edit the data in an enterprise geodatabase, or through a web map/app in ArcGIS Online?&amp;nbsp; If you do not need to edit the data in either circumstances, I would recommend simply publishing the XY Event layer as a map service.&amp;nbsp; Then, you will not need to do anything for the service to update.&amp;nbsp; As the SQL table is updated, so with the event layer, as well as the map service.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 16:43:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-layer-as-feature-service-on-arcserver/m-p/103477#M4012</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2016-10-31T16:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Publish layer as feature service on ArcServer using model builder?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-layer-as-feature-service-on-arcserver/m-p/103478#M4013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jake,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I didn't realize automating a layer was this easy. I would however like to be able to make edits within ArcGIS Online. Any advice for publishing and automating a feature service?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 18:02:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-layer-as-feature-service-on-arcserver/m-p/103478#M4013</guid>
      <dc:creator>MichaelTorbett1</dc:creator>
      <dc:date>2016-10-31T18:02:11Z</dc:date>
    </item>
    <item>
      <title>Re: Publish layer as feature service on ArcServer using model builder?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-layer-as-feature-service-on-arcserver/m-p/103479#M4014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would recommend doing a manual export of the XY Event layer to your enterprise geodatabase.&amp;nbsp; This will only need to happen once.&amp;nbsp; Then, you can set up a model that performs a &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/truncatetable.htm"&gt;truncate table&lt;/A&gt; and &lt;A href="http://desktop.arcgis.com/en/arcmap/latest/tools/data-management-toolbox/append.htm"&gt;append &lt;/A&gt;from the event layer to the feature class.&amp;nbsp; After the table updates, you can execute the model that will update the enterprise geodatabase feature class.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One thing to note is that the feature class does not have to be registered as versioned in order to do online edits.&amp;nbsp; If you do register the feature class as versioned, you want to make sure that you perform a geodatabase compress frequently as the A &amp;amp; D tables will grow quite large due to the truncate and append operation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 18:22:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-layer-as-feature-service-on-arcserver/m-p/103479#M4014</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2016-10-31T18:22:22Z</dc:date>
    </item>
    <item>
      <title>Re: Publish layer as feature service on ArcServer using model builder?</title>
      <link>https://community.esri.com/t5/arcgis-enterprise-questions/publish-layer-as-feature-service-on-arcserver/m-p/103480#M4015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your help Jake. I apologize for the late response but I've been out due to wildfires the past couple of &amp;nbsp;weeks. The model changes you suggested are working well. Now all I have to do is&amp;nbsp;export it to script and modify the code to work with task scheduler on&amp;nbsp;our GIS Server.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2016 22:12:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-enterprise-questions/publish-layer-as-feature-service-on-arcserver/m-p/103480#M4015</guid>
      <dc:creator>MichaelTorbett1</dc:creator>
      <dc:date>2016-12-05T22:12:23Z</dc:date>
    </item>
  </channel>
</rss>

