<?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 Appending shapefile to SQL Database through Web Application in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/appending-shapefile-to-sql-database-through-web/m-p/298141#M17093</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OUR TASK:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have an (non-GIS) operator, who needs to occasionally upload a shapefile and append it to two databases. This is done through a python script that makes a backup copy of the two databases and appends the new records to the database/s, using arc tools (Spatial Join, Append etc).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The two access issues here are the arc 10.1 licence (currently stored on a server), and database access permissions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OUR ENVIRONMENT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The databases are SQL Server enterprise databases. We are running ArcSDE and ArcGIS Server 10.1. We have a web mapping Client interface that serves published map services. Arc licences are stored on a server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;THE SOLUTION?:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rather than giving them edit access to the server etc, we would like to enable them to run the python script (preferably as a tool within a browser) that uploads, accesses arc tools, and appends to the database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To do this via a web browser would be cleaner for us �?? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i) allowing access to editing the database without giving general login permissions to the server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ii) access to arc license without a local installation on their desktop machine&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We can utilise Python, AGS or ArcObjects, or whatever&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice would be greatly appreciated. Please bear with any ignorance on my part, as I�??m only starting to get my head around this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This thread seems to have some similarities to a recent thread 'Managing Database through web application'.&amp;nbsp; I have made a new thread because it may be quite a different issue, as we already have a python script to do the tasks - the issue is with access to licences and access permissions.&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;Steve Page&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Oct 2013 06:32:04 GMT</pubDate>
    <dc:creator>StephenPage</dc:creator>
    <dc:date>2013-10-01T06:32:04Z</dc:date>
    <item>
      <title>Appending shapefile to SQL Database through Web Application</title>
      <link>https://community.esri.com/t5/data-management-questions/appending-shapefile-to-sql-database-through-web/m-p/298141#M17093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OUR TASK:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;We have an (non-GIS) operator, who needs to occasionally upload a shapefile and append it to two databases. This is done through a python script that makes a backup copy of the two databases and appends the new records to the database/s, using arc tools (Spatial Join, Append etc).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The two access issues here are the arc 10.1 licence (currently stored on a server), and database access permissions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OUR ENVIRONMENT:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The databases are SQL Server enterprise databases. We are running ArcSDE and ArcGIS Server 10.1. We have a web mapping Client interface that serves published map services. Arc licences are stored on a server.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;THE SOLUTION?:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Rather than giving them edit access to the server etc, we would like to enable them to run the python script (preferably as a tool within a browser) that uploads, accesses arc tools, and appends to the database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To do this via a web browser would be cleaner for us �?? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i) allowing access to editing the database without giving general login permissions to the server&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ii) access to arc license without a local installation on their desktop machine&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We can utilise Python, AGS or ArcObjects, or whatever&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice would be greatly appreciated. Please bear with any ignorance on my part, as I�??m only starting to get my head around this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This thread seems to have some similarities to a recent thread 'Managing Database through web application'.&amp;nbsp; I have made a new thread because it may be quite a different issue, as we already have a python script to do the tasks - the issue is with access to licences and access permissions.&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;Steve Page&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 06:32:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/appending-shapefile-to-sql-database-through-web/m-p/298141#M17093</guid>
      <dc:creator>StephenPage</dc:creator>
      <dc:date>2013-10-01T06:32:04Z</dc:date>
    </item>
    <item>
      <title>Re: Appending shapefile to SQL Database through Web Application</title>
      <link>https://community.esri.com/t5/data-management-questions/appending-shapefile-to-sql-database-through-web/m-p/298142#M17094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The edit access has to exist, whether it's protected by a Desktop application or&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a web application, so that part of your argument doesn't make sense.&amp;nbsp; It's&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;certainly easier to make a Desktop application (with a limited-use user's&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;password saved within the project), but a web-based geoprocessing tool&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;is certainly a possibility.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Oct 2013 10:06:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/appending-shapefile-to-sql-database-through-web/m-p/298142#M17094</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2013-10-01T10:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: Appending shapefile to SQL Database through Web Application</title>
      <link>https://community.esri.com/t5/data-management-questions/appending-shapefile-to-sql-database-through-web/m-p/298143#M17095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Vince,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I�??m not sure what you mean about a �??Desktop application�??. Is this an Arc Desktop installation? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(we were hoping to avoid the IT overhead of installing Arc on multiple desktops, where people only need it for a single task taking about 5 minutes.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Where would I find more information about a web-based geoprocessing tool? I�??ve been investigating Feature Services and Geoprocessing Services - eventually we plan to publish Feature Services and allow editing. But at this stage it may be a step further than we require.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At this stage, we don't need to be able to edit features or attributes, or be able to visualise what we are doing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The operator just needs to run a script or tool that:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� Deletes existing files (used in the geoprocessing)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� Creates a backup of the Databases ( 2 off)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� Spatial Join of eg suburbs, etc to the shapefile&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� Calculate Field (recalculate Suburb name field)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� Append the new features to one of the 2 existing databases (based on a SQL WHERE statement)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;�?� Compress the database&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By using a script/tool, the Database Connection (containing the database server login) applies only to that instance of updating the database. Therefore the operator is not given a general Login access to the Database Server. (probably this would be the case no matter how we implemented, as you pointed out)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A copy of Arc Desktop, and the Licence Manager is held on a server. If the user runs the script/tool from their desktop, they would need an arc installation on their PC, to access the Arc Tools. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I�??ve been told that a major feature of ArcGIS Server is that with licences able to be stored on the server, this enables editing to be accessed via a web page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We would like to be able to give access to a web page (or a folder) on the server, from where the operator could run the script/tool, using the Arc Desktop/Tools hosted on the server. Thus, we would avoid:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;i) providing a desktop installation&amp;nbsp; of Arc (requiring more IT support!)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ii) providing a general login access to the server holding the Arc Desktop/Tools. Access would be limited to running that script/tool &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please feel free to point out where my assumptions are incorrect.&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;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Oct 2013 01:46:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/appending-shapefile-to-sql-database-through-web/m-p/298143#M17095</guid>
      <dc:creator>StephenPage</dc:creator>
      <dc:date>2013-10-02T01:46:07Z</dc:date>
    </item>
  </channel>
</rss>

