<?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 Why is the Esri/MetaID element not created when new metadata record created? in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/why-is-the-esri-metaid-element-not-created-when/m-p/300146#M7800</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to track geospatial items (featclasses, geodbs) with a unique ID.&amp;nbsp; The Esri Profile of the Content Standard for Digital GeoSpatial Metadata (2003) describes the "Metadata ID" element that Esri added to the profile for essentially this purpose.&amp;nbsp; This element's value is that of a GUID "&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;that is assigned to the metadata record when it is created&lt;/SPAN&gt;&lt;SPAN&gt;."&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The documentation for the IXMLPropertyset.InitExisting method states it can be used "to add Esri elements MetaID, CreaDate,CreaTime, and syncOnce" to an existing non-esri metadata record (where MetaID is the shortname for the Metadata ID element describe above) and ends with the statement that&amp;nbsp; "&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Anytime ArcGIS creates metadata, automatic or not, these elements will be added&lt;/SPAN&gt;&lt;SPAN&gt;."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem is, I can't seem to find the &amp;lt;Esri&amp;gt;&amp;lt;MetaID&amp;gt; element in an xml metadata record associated with a new dataset. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the metadata editor in ArcCatalog I can click the "Create" button next to the File Identifier field under the Metadata/Details section to generate a GUID to identify a datasets metadata record.&amp;nbsp; But when I examine the datasets metadata xml file the GUID value winds up associated with the &amp;lt;mdFileID&amp;gt; element.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's the final bit of confusion:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I generate a new GUID and assign it to the metadata record for a new gdb featureclass using XMLPropertyset.SetPropertyX()&amp;nbsp; :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- IF assigned to the &amp;lt;mdFileID&amp;gt; element it shows up in the ESRI Data Source Item Description metadata dialog window in ArcMap or ArcCatalog for the new featureclass under the Metadata Details section titled METADATA IDENTIFIER.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- IF assigned to the &amp;lt;Esri&amp;gt;&amp;lt;MetaID&amp;gt; element it shows up in the aforementioned dialog under the ESRI Metadata and Item Properties section as "ESRI-ISO METADATA IDENTIFIER".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Isn't that backwards?&amp;nbsp; I pretty sure mdFileID is an ISO element...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone can explain the logic behind ESRI's handling of &amp;lt;mdFileID&amp;gt; and &amp;lt;Esri/MetaID&amp;gt; I would greatly appreciate it!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 Aug 2011 20:13:52 GMT</pubDate>
    <dc:creator>WilliamKirchhoff</dc:creator>
    <dc:date>2011-08-30T20:13:52Z</dc:date>
    <item>
      <title>Why is the Esri/MetaID element not created when new metadata record created?</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/why-is-the-esri-metaid-element-not-created-when/m-p/300146#M7800</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to track geospatial items (featclasses, geodbs) with a unique ID.&amp;nbsp; The Esri Profile of the Content Standard for Digital GeoSpatial Metadata (2003) describes the "Metadata ID" element that Esri added to the profile for essentially this purpose.&amp;nbsp; This element's value is that of a GUID "&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;that is assigned to the metadata record when it is created&lt;/SPAN&gt;&lt;SPAN&gt;."&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The documentation for the IXMLPropertyset.InitExisting method states it can be used "to add Esri elements MetaID, CreaDate,CreaTime, and syncOnce" to an existing non-esri metadata record (where MetaID is the shortname for the Metadata ID element describe above) and ends with the statement that&amp;nbsp; "&lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;Anytime ArcGIS creates metadata, automatic or not, these elements will be added&lt;/SPAN&gt;&lt;SPAN&gt;."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem is, I can't seem to find the &amp;lt;Esri&amp;gt;&amp;lt;MetaID&amp;gt; element in an xml metadata record associated with a new dataset. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the metadata editor in ArcCatalog I can click the "Create" button next to the File Identifier field under the Metadata/Details section to generate a GUID to identify a datasets metadata record.&amp;nbsp; But when I examine the datasets metadata xml file the GUID value winds up associated with the &amp;lt;mdFileID&amp;gt; element.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's the final bit of confusion:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I generate a new GUID and assign it to the metadata record for a new gdb featureclass using XMLPropertyset.SetPropertyX()&amp;nbsp; :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- IF assigned to the &amp;lt;mdFileID&amp;gt; element it shows up in the ESRI Data Source Item Description metadata dialog window in ArcMap or ArcCatalog for the new featureclass under the Metadata Details section titled METADATA IDENTIFIER.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- IF assigned to the &amp;lt;Esri&amp;gt;&amp;lt;MetaID&amp;gt; element it shows up in the aforementioned dialog under the ESRI Metadata and Item Properties section as "ESRI-ISO METADATA IDENTIFIER".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Isn't that backwards?&amp;nbsp; I pretty sure mdFileID is an ISO element...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If anyone can explain the logic behind ESRI's handling of &amp;lt;mdFileID&amp;gt; and &amp;lt;Esri/MetaID&amp;gt; I would greatly appreciate it!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 20:13:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/why-is-the-esri-metaid-element-not-created-when/m-p/300146#M7800</guid>
      <dc:creator>WilliamKirchhoff</dc:creator>
      <dc:date>2011-08-30T20:13:52Z</dc:date>
    </item>
  </channel>
</rss>

