<?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: programmatically update MaxPS in Mosaic Dataset in python in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/programmatically-update-maxps-in-mosaic-dataset-in/m-p/449902#M25734</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Todd,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When using the new da module, you will need to pass an array for the field(s).&amp;nbsp; Try the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;cursor = arcpy.da.UpdateCursor(fullname, ["MaxPS"])
for row in cursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print row[0]

del row, cursor
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 20:04:55 GMT</pubDate>
    <dc:creator>JakeSkinner</dc:creator>
    <dc:date>2021-12-11T20:04:55Z</dc:date>
    <item>
      <title>programmatically update MaxPS in Mosaic Dataset in python</title>
      <link>https://community.esri.com/t5/data-management-questions/programmatically-update-maxps-in-mosaic-dataset-in/m-p/449901#M25733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Does anybody know how to programatically update Mosaic Dataset attributes such as MaxPS using python?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried code such as this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#####################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;cursor = arcpy.da.UpdateCursor(fullname, "MaxPS")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;for row in cursor:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; print row.getValue("MaxPS")&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#####################&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but no luck.&amp;nbsp; It says field does not exist.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 May 2014 12:02:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/programmatically-update-maxps-in-mosaic-dataset-in/m-p/449901#M25733</guid>
      <dc:creator>todddoerr</dc:creator>
      <dc:date>2014-05-08T12:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: programmatically update MaxPS in Mosaic Dataset in python</title>
      <link>https://community.esri.com/t5/data-management-questions/programmatically-update-maxps-in-mosaic-dataset-in/m-p/449902#M25734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Todd,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When using the new da module, you will need to pass an array for the field(s).&amp;nbsp; Try the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;cursor = arcpy.da.UpdateCursor(fullname, ["MaxPS"])
for row in cursor:
&amp;nbsp;&amp;nbsp;&amp;nbsp; print row[0]

del row, cursor
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 20:04:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/programmatically-update-maxps-in-mosaic-dataset-in/m-p/449902#M25734</guid>
      <dc:creator>JakeSkinner</dc:creator>
      <dc:date>2021-12-11T20:04:55Z</dc:date>
    </item>
  </channel>
</rss>

