<?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 Tile Package Properties in Python Questions</title>
    <link>https://community.esri.com/t5/python-questions/tile-package-properties/m-p/701687#M54363</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is the "Access and Use Constraints" property of a Tile Package (.tpk) scriptable with Arcpy? If yes, hint or better please.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the Catalog window right click on a .tpk file. select Properties and the following window is shown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]25369[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jun 2013 15:13:14 GMT</pubDate>
    <dc:creator>MarcSwartz</dc:creator>
    <dc:date>2013-06-19T15:13:14Z</dc:date>
    <item>
      <title>Tile Package Properties</title>
      <link>https://community.esri.com/t5/python-questions/tile-package-properties/m-p/701687#M54363</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Is the "Access and Use Constraints" property of a Tile Package (.tpk) scriptable with Arcpy? If yes, hint or better please.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the Catalog window right click on a .tpk file. select Properties and the following window is shown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[ATTACH=CONFIG]25369[/ATTACH]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 15:13:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/tile-package-properties/m-p/701687#M54363</guid>
      <dc:creator>MarcSwartz</dc:creator>
      <dc:date>2013-06-19T15:13:14Z</dc:date>
    </item>
    <item>
      <title>Re: Tile Package Properties</title>
      <link>https://community.esri.com/t5/python-questions/tile-package-properties/m-p/701688#M54364</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Marc,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't think there's a direct mechanism in ArcPy to edit that attribute, but it isn't too hard to do if you have some intermediate Python chops: the .tpk file is just a plain ZIP archive, and if you decompress the archive, you'll see a file, esriinfo/iteminfo.xml, which contains all of the settings, including that field, under the &amp;lt;licenseinfo&amp;gt; element. You could use the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://docs.python.org/2/library/zipfile.html" rel="nofollow" target="_blank"&gt;zipfile &lt;/A&gt;&lt;SPAN&gt; module in Python to extract the .tpk file, edit the XML file in Python using the included 'xml' module, and then save the full result set back to a new zip file. Not as easy as an additional parameter, but it'd do in a pinch.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Shaun&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 23:05:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/tile-package-properties/m-p/701688#M54364</guid>
      <dc:creator>ShaunWalbridge</dc:creator>
      <dc:date>2013-06-19T23:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Tile Package Properties</title>
      <link>https://community.esri.com/t5/python-questions/tile-package-properties/m-p/701689#M54365</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Shaun,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Thanks for the information.&amp;nbsp; I have verified that I can see all of the items you described.&amp;nbsp; Now for the fun of learning.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Marc&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 10:01:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/python-questions/tile-package-properties/m-p/701689#M54365</guid>
      <dc:creator>MarcSwartz</dc:creator>
      <dc:date>2013-06-20T10:01:26Z</dc:date>
    </item>
  </channel>
</rss>

