<?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 set the condition? in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-set-the-condition/m-p/1201788#M58491</link>
    <description>&lt;P&gt;hey&lt;BR /&gt;Does anyone have an idea how to set the condition for UpgradeDataset so that when the layer is not editable, it sets so that the layer can edit, but when it is started again, UpgradeDataset no longer starts so that the dialog box with an error no longer pops up.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;if (!Project.Current.IsEditingEnabled)//here I don't know how to set the condition for the second and next subsequent pass in the already edited layer
                {
                    object[] parametrList =
                    {
                        alBodyAnno
                    };
                    await StartATask("management.UpgradeDataset", parametrList);
                }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for tips and advice&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
    <pubDate>Thu, 11 Aug 2022 08:03:56 GMT</pubDate>
    <dc:creator>DavidMrázek</dc:creator>
    <dc:date>2022-08-11T08:03:56Z</dc:date>
    <item>
      <title>How to set the condition?</title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/how-to-set-the-condition/m-p/1201788#M58491</link>
      <description>&lt;P&gt;hey&lt;BR /&gt;Does anyone have an idea how to set the condition for UpgradeDataset so that when the layer is not editable, it sets so that the layer can edit, but when it is started again, UpgradeDataset no longer starts so that the dialog box with an error no longer pops up.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;if (!Project.Current.IsEditingEnabled)//here I don't know how to set the condition for the second and next subsequent pass in the already edited layer
                {
                    object[] parametrList =
                    {
                        alBodyAnno
                    };
                    await StartATask("management.UpgradeDataset", parametrList);
                }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for tips and advice&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 08:03:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/how-to-set-the-condition/m-p/1201788#M58491</guid>
      <dc:creator>DavidMrázek</dc:creator>
      <dc:date>2022-08-11T08:03:56Z</dc:date>
    </item>
  </channel>
</rss>

