<?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: Geoprocessing Environment Variables in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geoprocessing-environment-variables/m-p/1130008#M7565</link>
    <description>&lt;P&gt;Sorry, I have not checked existing of parameters.&lt;/P&gt;&lt;P&gt;Have you checked like this:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;                List&amp;lt;KeyValuePair&amp;lt;string, string&amp;gt;&amp;gt; env1 = new List&amp;lt;KeyValuePair&amp;lt;string, string&amp;gt;&amp;gt;();
                env1.Add(new KeyValuePair&amp;lt;string, string&amp;gt;("maintainAttachments", "True"));
                env1.Add(new KeyValuePair&amp;lt;string, string&amp;gt;("preserveGlobalIds", "True"));&lt;/LI-CODE&gt;&lt;P&gt;If you have to set other parameters, you can cast MakeEnvironmentArray result to List and then add additional values.&lt;/P&gt;</description>
    <pubDate>Mon, 03 Jan 2022 08:12:50 GMT</pubDate>
    <dc:creator>GKmieliauskas</dc:creator>
    <dc:date>2022-01-03T08:12:50Z</dc:date>
    <item>
      <title>Geoprocessing Environment Variables</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geoprocessing-environment-variables/m-p/1129623#M7557</link>
      <description>&lt;P&gt;I have gone through the API and samples. But could not find how to set the geoprocessing environment variables Maintain Attachments &amp;amp; Preserve Global IDs using Geoprocessing.MakeEnvironmentArray using ArcGIS Pro SDK. I am calling Append Geoprocessing Tool from ArcGIS Pro SDK.&amp;nbsp;Geoprocessing.MakeEnvironmentArray does not have the KeyValuePair.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Dec 2021 11:12:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geoprocessing-environment-variables/m-p/1129623#M7557</guid>
      <dc:creator>AnupamKumar</dc:creator>
      <dc:date>2021-12-30T11:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing Environment Variables</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geoprocessing-environment-variables/m-p/1129950#M7561</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;You can set them like that:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;var env = Geoprocessing.MakeEnvironmentArray(maintainAttachments: "True", 
preserveGlobalIds: "True");&lt;/LI-CODE&gt;&lt;P&gt;Name for each setting you can find here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/tool-reference/environment-settings/an-overview-of-geoprocessing-environment-settings.htm" target="_self"&gt;https://pro.arcgis.com/en/pro-app/latest/tool-reference/environment-settings/an-overview-of-geoprocessing-environment-settings.htm&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jan 2022 09:23:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geoprocessing-environment-variables/m-p/1129950#M7561</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2022-01-02T09:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing Environment Variables</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geoprocessing-environment-variables/m-p/1129999#M7563</link>
      <description>&lt;P&gt;Geoprocessing.MakeEnvironmentArray does not have KeyValuePair for maintainAttachments &amp;amp; preserveGlobalIds in ArcGIS Pro SDK. Attached is the snap shot for reference. Will these variables would be included in future releases.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 07:09:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geoprocessing-environment-variables/m-p/1129999#M7563</guid>
      <dc:creator>AnupamKumar</dc:creator>
      <dc:date>2022-01-03T07:09:31Z</dc:date>
    </item>
    <item>
      <title>Re: Geoprocessing Environment Variables</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geoprocessing-environment-variables/m-p/1130008#M7565</link>
      <description>&lt;P&gt;Sorry, I have not checked existing of parameters.&lt;/P&gt;&lt;P&gt;Have you checked like this:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;                List&amp;lt;KeyValuePair&amp;lt;string, string&amp;gt;&amp;gt; env1 = new List&amp;lt;KeyValuePair&amp;lt;string, string&amp;gt;&amp;gt;();
                env1.Add(new KeyValuePair&amp;lt;string, string&amp;gt;("maintainAttachments", "True"));
                env1.Add(new KeyValuePair&amp;lt;string, string&amp;gt;("preserveGlobalIds", "True"));&lt;/LI-CODE&gt;&lt;P&gt;If you have to set other parameters, you can cast MakeEnvironmentArray result to List and then add additional values.&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 08:12:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geoprocessing-environment-variables/m-p/1130008#M7565</guid>
      <dc:creator>GKmieliauskas</dc:creator>
      <dc:date>2022-01-03T08:12:50Z</dc:date>
    </item>
  </channel>
</rss>

