<?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 How to open ArcGIS project file programmatically in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-arcgis-project-file-programmatically/m-p/1251753#M9346</link>
    <description>&lt;P&gt;I have created ArcGIS pro managed configuration project and&amp;nbsp; I want to bypass start page and open&amp;nbsp; predefined .apr file directly when arcpro is called with configuration. Kindly help me for this&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 26 Jan 2023 04:08:30 GMT</pubDate>
    <dc:creator>vibindhas</dc:creator>
    <dc:date>2023-01-26T04:08:30Z</dc:date>
    <item>
      <title>How to open ArcGIS project file programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-arcgis-project-file-programmatically/m-p/1251753#M9346</link>
      <description>&lt;P&gt;I have created ArcGIS pro managed configuration project and&amp;nbsp; I want to bypass start page and open&amp;nbsp; predefined .apr file directly when arcpro is called with configuration. Kindly help me for this&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 04:08:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-arcgis-project-file-programmatically/m-p/1251753#M9346</guid>
      <dc:creator>vibindhas</dc:creator>
      <dc:date>2023-01-26T04:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to open ArcGIS project file programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-arcgis-project-file-programmatically/m-p/1251761#M9347</link>
      <description>&lt;P&gt;just specify the path to the project at the end of the command line (after the /config:xxxxxxx bit). If the path has spaces u will need to use quotes.&lt;/P&gt;&lt;P&gt;refer to&amp;nbsp;&lt;A href="https://github.com/ESRI/arcgis-pro-sdk/wiki/ProGuide-Command-line-switches-for-ArcGISPro.exe" target="_self"&gt;ProGuide Command line switches for ArcGISPro.exe&lt;/A&gt;&amp;nbsp; for all the available command line switches fyi.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 05:45:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-arcgis-project-file-programmatically/m-p/1251761#M9347</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2023-01-26T05:45:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to open ArcGIS project file programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-arcgis-project-file-programmatically/m-p/1252122#M9351</link>
      <description>&lt;P&gt;Or if you want to open a project programmatically you can add the following snippet in the override for OnApplicationReady of your ConfigurationManager class implementation:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;protected override void OnApplicationReady()
{
  try
  {
    var aprxPath = @"c:\...\ProProjectFile.aprx";
    Project.OpenAsync(aprxPath);
  }
  catch (Exception ex)
  {
    MessageBox.Show ($@"Error: ex.Message");
  }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;For the&amp;nbsp;OnShowStartPage override just return null.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Jan 2023 21:46:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-arcgis-project-file-programmatically/m-p/1252122#M9351</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2023-01-26T21:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to open ArcGIS project file programmatically</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-arcgis-project-file-programmatically/m-p/1252238#M9353</link>
      <description>&lt;P&gt;It worked but it shows start page for a second then loads the aprx file&lt;/P&gt;</description>
      <pubDate>Fri, 27 Jan 2023 06:27:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/how-to-open-arcgis-project-file-programmatically/m-p/1252238#M9353</guid>
      <dc:creator>vibindhas</dc:creator>
      <dc:date>2023-01-27T06:27:41Z</dc:date>
    </item>
  </channel>
</rss>

