<?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 Retrieval of Project/project template metadata in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieval-of-project-project-template-metadata/m-p/768651#M523</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we create the project template from a project, we need to add tags/description and few metadata.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question is that how we can retrieve these information from ArcGIS pro sdk by using the file path only(e.g. C:\....\template1.aptx).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of my client want to see these before choosing any template to create a project from the predefined template.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2020 05:49:12 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2020-07-02T05:49:12Z</dc:date>
    <item>
      <title>Retrieval of Project/project template metadata</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieval-of-project-project-template-metadata/m-p/768651#M523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When we create the project template from a project, we need to add tags/description and few metadata.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question is that how we can retrieve these information from ArcGIS pro sdk by using the file path only(e.g. C:\....\template1.aptx).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One of my client want to see these before choosing any template to create a project from the predefined template.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2020 05:49:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieval-of-project-project-template-metadata/m-p/768651#M523</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-07-02T05:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieval of Project/project template metadata</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieval-of-project-project-template-metadata/m-p/768652#M524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.esri.com/migrated-users/86730"&gt;Uma Harano&lt;/A&gt;‌ / &lt;A href="https://community.esri.com/migrated-users/10927"&gt;Wolfgang Kaiser&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice on how to get those project template file tag/description with sdk?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2020 02:25:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieval-of-project-project-template-metadata/m-p/768652#M524</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-07-06T02:25:33Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieval of Project/project template metadata</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieval-of-project-project-template-metadata/m-p/768653#M525</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Than,&lt;/P&gt;&lt;P&gt;&amp;nbsp;This is not supported by the API.&amp;nbsp; However, these files are simple .zip files so as a possible solution you could write some code to unzip the file (project or template) and parse the content for your tags.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 06 Jul 2020 15:41:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieval-of-project-project-template-metadata/m-p/768653#M525</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2020-07-06T15:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieval of Project/project template metadata</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieval-of-project-project-template-metadata/m-p/768654#M526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank &lt;A href="https://community.esri.com/migrated-users/10927"&gt;Wolfgang Kaiser&lt;/A&gt;‌ for your advice,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will try and share if I achieved it &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2020 01:12:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieval-of-project-project-template-metadata/m-p/768654#M526</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-07-07T01:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieval of Project/project template metadata</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieval-of-project-project-template-metadata/m-p/768655#M527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Than,&lt;/P&gt;&lt;P&gt;&amp;nbsp;Pro is using the 7 zip library.&amp;nbsp; I attached a sample project to unzip a project file that appears to work for me, it should work for templates too.&amp;nbsp; Since Pro ships with the 7z dll you can set the path for the extractor to the Pro install bin folder (c:\ArcGIS is my install location):&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;// set 7z.dll path:&lt;/SPAN&gt;
SevenZipExtractor&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;SetLibraryPath&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;@"C:\ArcGIS\Bin\7z.dll"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also used the following NuGet:&amp;nbsp;&lt;A class="link-titled" href="https://www.nuget.org/packages/SevenZipSharp.Interop" title="https://www.nuget.org/packages/SevenZipSharp.Interop" rel="nofollow noopener noreferrer" target="_blank"&gt;NuGet Gallery | SevenZipSharp.Interop 19.0.0&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 08:33:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieval-of-project-project-template-metadata/m-p/768655#M527</guid>
      <dc:creator>Wolf</dc:creator>
      <dc:date>2021-12-12T08:33:50Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieval of Project/project template metadata</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieval-of-project-project-template-metadata/m-p/768656#M528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank &lt;A href="https://community.esri.com/migrated-users/10927"&gt;Wolfgang Kaiser&lt;/A&gt;‌ for your sample,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Found similar way in&amp;nbsp;7z.NET nugget as well and manage to extract out only one file, just have tried in normal console app.&lt;/P&gt;&lt;P&gt;Still trying to find a way to extract into memory stream instead of direct file extraction,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next step shall be implementing in the arcgis pro module. &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2020 01:00:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieval-of-project-project-template-metadata/m-p/768656#M528</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-07-08T01:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieval of Project/project template metadata</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieval-of-project-project-template-metadata/m-p/768657#M529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Added the sample code how to extract into memory and loaded into object.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/groups/arcgis-pro-sdk/blog/2020/07/09/reading-aptx-file"&gt;https://community.esri.com/groups/arcgis-pro-sdk/blog/2020/07/09/reading-aptx-file&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jul 2020 08:18:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/retrieval-of-project-project-template-metadata/m-p/768657#M529</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2020-07-09T08:18:13Z</dc:date>
    </item>
  </channel>
</rss>

