<?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: ArcGIS.Desktop.Core.Geoprocessing in standalone ArcGIS Pro SDK app in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/839928#M3754</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are no plans that I am aware of. &amp;nbsp;Many customers are using CoreHost for data migration and similar applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 21 Aug 2020 19:57:26 GMT</pubDate>
    <dc:creator>RichRuh</dc:creator>
    <dc:date>2020-08-21T19:57:26Z</dc:date>
    <item>
      <title>ArcGIS.Desktop.Core.Geoprocessing in standalone ArcGIS Pro SDK app</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/839924#M3750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So, I am trying to create a standalone app with the Pro SDK to run a geoprocessing tool (Register with Geodatabase).&lt;BR /&gt;First of all, I call &lt;STRONG&gt;ArcGIS.Desktop.Core.Geoprocessing.Geoprocessing.MakeValueArray(object[] args)&lt;/STRONG&gt;&lt;BR /&gt;This call fails with&lt;/P&gt;&lt;P&gt;&lt;EM&gt;"System.NullReferenceException: Object reference not set to an instance of an object".&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've debugged this to the FindModule function in ArcGIS.Desktop.Framework.Contracts.Module and it comes down to the code:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;FrameworkApplication&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;_this &lt;SPAN class="operator token"&gt;==&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
    &lt;SPAN class="keyword token"&gt;return&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;ArcGIS&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Desktop&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Framework&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Contracts&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Module&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;null&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which is always true in my standalone application. I guess that this means that &lt;STRONG&gt;MakeValueArray()&lt;/STRONG&gt; does not work in standalone mode? Or can I create my own FrameworkApplication without starting ArcGIS Pro?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:14:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/839924#M3750</guid>
      <dc:creator>SverkerNorlander</dc:creator>
      <dc:date>2021-12-12T10:14:26Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS.Desktop.Core.Geoprocessing in standalone ArcGIS Pro SDK app</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/839925#M3751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sverker,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CoreHost applications don't have access to any of the ArcGIS.Desktop assemblies. &amp;nbsp;To execute a&amp;nbsp;geoprocessing tool, you have to shell out to an external process and call Python directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 15:20:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/839925#M3751</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2019-02-25T15:20:34Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS.Desktop.Core.Geoprocessing in standalone ArcGIS Pro SDK app</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/839926#M3752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich!&lt;/P&gt;&lt;P&gt;That's what I thought and calling a python process was the solution I was thinking about using.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2019 18:47:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/839926#M3752</guid>
      <dc:creator>SverkerNorlander</dc:creator>
      <dc:date>2019-02-25T18:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS.Desktop.Core.Geoprocessing in standalone ArcGIS Pro SDK app</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/839927#M3753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure what the point is of CoreHost apps if they don't have access to basic functionality like invoking GP tools...is there any plan to extend the API to work with ArcGIS.Desktop assemblies? Also not sure how else to write Unit Tests without this ability...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2020 19:02:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/839927#M3753</guid>
      <dc:creator>philippenn</dc:creator>
      <dc:date>2020-08-21T19:02:40Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS.Desktop.Core.Geoprocessing in standalone ArcGIS Pro SDK app</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/839928#M3754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There are no plans that I am aware of. &amp;nbsp;Many customers are using CoreHost for data migration and similar applications.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;--Rich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2020 19:57:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/839928#M3754</guid>
      <dc:creator>RichRuh</dc:creator>
      <dc:date>2020-08-21T19:57:26Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS.Desktop.Core.Geoprocessing in standalone ArcGIS Pro SDK app</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/1134420#M7624</link>
      <description>&lt;P&gt;I am trying to re-write older ArcObject (ArcGIS 10.8) to reproduce some background processing that updates a feature class by first deleting all the rows and then appending all new data from an interim in memory feature class.&amp;nbsp; I ran into a wall when trying to call the geoprocessing tools DeleteFeatures and Append - well actually it was the Geoprocessing.MakeValueArray()&amp;nbsp;&lt;SPAN&gt;that failed.&amp;nbsp; Reading this, looks like it is not possible.&amp;nbsp; Not a good experience of "Upgrade", loosing functionality.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jan 2022 19:57:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/1134420#M7624</guid>
      <dc:creator>JamieKelly1</dc:creator>
      <dc:date>2022-01-17T19:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS.Desktop.Core.Geoprocessing in standalone ArcGIS Pro SDK app</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/1134556#M7628</link>
      <description>&lt;P&gt;Actually, just found the deleteFeatures method on the table object - That's 1+ for improvement.&amp;nbsp; Maybe there is an Append or Copy features that I haven't found yet in the new API.&amp;nbsp; Sorry for the negative comments before about the new SDK.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jan 2022 14:42:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/1134556#M7628</guid>
      <dc:creator>JamieKelly1</dc:creator>
      <dc:date>2022-01-18T14:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS.Desktop.Core.Geoprocessing in standalone ArcGIS Pro SDK app</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/1245615#M9235</link>
      <description>&lt;P&gt;Is this still the case with ArcGIS Pro 3.0? I have a stand alone vb.net exe that executes geoprocessing models using libraries/assemblies from ArcMap 10.8.1. Windows Task Scheduler wakes it up every hour and it also performs a lot of SQL tasks via native SQL Server client libraries.&amp;nbsp; It also calls a geoprocessing model that geocode addresses and later calls another geoprocessing model that appends those features to a feature class. Since ArcMap will not exist in the future, I'm trying to migrate it to rely on libraries from Pro.&lt;/P&gt;&lt;P&gt;Here's the VB.net / ArcObjects code:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;        Dim parameters As ESRI.ArcGIS.esriSystem.IVariantArray = New ESRI.ArcGIS.esriSystem.VarArray
        Dim GP As esri.ArcGIS.Geoprocessing.IGeoProcessor2 = New esri.arcgis.Geoprocessing.Geoprocessor()
        'Add the BestPath toolbox.
        GP.AddToolbox("C:\path\to\my\toolbox.tbx")
        parameters.Add(sGDBPath &amp;amp; "\databasename.DBO.myfeatureclass")
        'Execute the model tool by name.
        GP.Execute("DeleteCountyStatusPermits", parameters, Nothing)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There's no way to do this on machines that have Pro and not ArcMap? It would be nice to not have to 'wrap' these models in python scripts - that adds too much complexity to maintaining my project.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alex&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2023 15:26:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/arcgis-desktop-core-geoprocessing-in-standalone/m-p/1245615#M9235</guid>
      <dc:creator>AZendel</dc:creator>
      <dc:date>2023-01-05T15:26:14Z</dc:date>
    </item>
  </channel>
</rss>

