<?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: Database Views and Metadata in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85483#M4921</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As an aside, Tim requested this on the Ideas page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://ideas.arcgis.com/ideaView?id=087E000000059hjIAA"&gt;http://ideas.arcgis.com/ideaView?id=087E000000059hjIAA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Those of you who need this functionality, please promote his idea.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jan 2014 17:53:45 GMT</pubDate>
    <dc:creator>KimPeter</dc:creator>
    <dc:date>2014-01-27T17:53:45Z</dc:date>
    <item>
      <title>Database Views and Metadata</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85470#M4908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Getting users to create metadata is always hard but they sure complain when it doesn't exist.&amp;nbsp; With SDE views, created using &lt;/SPAN&gt;&lt;SPAN style="font-family:courier new;"&gt;sdetable -o create_view&lt;/SPAN&gt;&lt;SPAN&gt;, metadata could be attached to the views.&amp;nbsp;&amp;nbsp;&amp;nbsp; Now at version 10.1, creating a database view is very easy through ArcCatalog, but you can't attach metadata to the views as far as I can see.&amp;nbsp; How are other sites handling this with users expecting metadata?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are just starting to test ArcSDE 10.1 with SQL 2012.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 19:50:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85470#M4908</guid>
      <dc:creator>RandyKreuziger</dc:creator>
      <dc:date>2013-12-27T19:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views and Metadata</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85471#M4909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can perform a variety of metadata operations on views in 10.1 if you utilize the Metadata GP tools under Conversion Tools.&amp;nbsp; I'm not sure of how you are storing your source metadata, but perhaps something like the Import Metadata tool or the Metadata Importer tool (yes, these are different despite the reversed names) would help you.&amp;nbsp; These are all found in ArcToolbox which can be launched from ArcCatalog or ArcMap.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 20:58:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85471#M4909</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2013-12-27T20:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views and Metadata</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85472#M4910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN style="font-family:arial;"&gt;&lt;SPAN style="font-family:century gothic;"&gt;Crafty,&lt;BR /&gt;&amp;nbsp; I've tried both Metadata Importer and Import Metadata.&amp;nbsp; Each fails with the same message&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #FF0000; font-family: courier new;"&gt;&lt;STRONG&gt;Exception from HRESULT: 0x80042601&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family:century gothic;"&gt;And when I select the "Description" tab in ArcCatalog for the views it doesn't display any of the Edit, Validate, Export, Import buttons.&amp;nbsp; Instead it displays&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family:courier new;"&gt;&lt;STRONG style="color: #FF0000;"&gt;The item's XML contains errors&lt;BR /&gt;&lt;/STRONG&gt;&lt;SPAN style="color:#FF0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;But you're saying views created using the "Create New View" support metadata?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 21:24:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85472#M4910</guid>
      <dc:creator>RandyKreuziger</dc:creator>
      <dc:date>2013-12-27T21:24:20Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views and Metadata</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85473#M4911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you say ArcSDE 10.1, are you saying that you geodatabase is at the 10.1 release or that you are running the ArcSDE 10.1 application service or both?&amp;nbsp; In other words, I just want to verify that your GDB itself has been created at or upgraded to the 10.1 release that matches the desktop client.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In terms of the first error, I've researched the HRESULT code and it does not appear to be documented online from Esri.&amp;nbsp; You may need tech support to help troubleshoot this issue.&amp;nbsp; Have you been able to create, import, and modify metadata for tables and feature classes without issue using the same user account?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In terms of the second error, I've seen this quite a bit in ArcCatalog when selecting the Description tab.&amp;nbsp; I don't know if it's necessarily a symptom of or related to the first error you're seeing, though.&amp;nbsp; I've seen this occur for views (and sometimes for feature classes and tables) if there is no well-formatted XML present for that object class.&amp;nbsp; Once metadata is able to be added, that error disappears usually.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To answer your question, I believe the answer I can give you is 'yes' based solely on my opinion.&amp;nbsp; I was able to import metadata from a table to a view using the Metadata Importer tool without getting the first error.&amp;nbsp; I also can't find any information online that states that views registered with the geodatabase don't support database so I can only assume they do especially since I don't get the error you are seeing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did find some older, Esri-documented rules for metadata for &lt;/SPAN&gt;&lt;STRONG&gt;spatial&lt;/STRONG&gt;&lt;SPAN&gt; views, which are similar to regular views:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(1) The spatial view must contain an Object Id column; (2) The spatial view must be registered with the geodatabase; (3) Metadata can only exist for items registered with the geodatabase; and (4) Only the owner of a spatial view can edit the metadata for that spatial view.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think in your case, I think you probably have 1 - 3 covered already but I am not certain about #4.&amp;nbsp; Does the user account you're using to connect to SQL Server via ArcCatalog and ArcToolbox have admin rights (or assigned db_owner role, for example) on the database?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Dec 2013 21:55:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85473#M4911</guid>
      <dc:creator>WilliamCraft</dc:creator>
      <dc:date>2013-12-27T21:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views and Metadata</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85474#M4912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;ArcGIS metadata is stored in the geodatabase system tables, so you cannot store ArcGIS metadata for objects that are not registered with ArcSDE or the geodatabase.&amp;nbsp; The views created through ArcGIS Desktop are database views and are not registered with ArcSDE or the geodatabase and, therefore, ArcGIS metadata cannot be stored for them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We realize this is a limitation that needs to be addressed before the admin commands are retired.&amp;nbsp; At present, though, the only way to store ArcGIS metadata for a view is to create it with the sdetable command as you described.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 16:47:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85474#M4912</guid>
      <dc:creator>KimPeter</dc:creator>
      <dc:date>2014-01-07T16:47:45Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views and Metadata</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85475#M4913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;ArcGIS metadata is stored in the geodatabase system tables, so you cannot store ArcGIS metadata for objects that are not registered with ArcSDE or the geodatabase.&amp;nbsp; The views created through ArcGIS Desktop are database views and are not registered with ArcSDE or the geodatabase and, therefore, ArcGIS metadata cannot be stored for them.&lt;BR /&gt;&lt;BR /&gt;We realize this is a limitation that needs to be addressed before the admin commands are retired.&amp;nbsp; At present, though, the only way to store ArcGIS metadata for a view is to create it with the sdetable command as you described.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you kpeter for posting that.&amp;nbsp; I got the same news from Aleta at ESRI a week ago but forgot to update this thread.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It was very hard getting users to create metadata but now they expect it which is a good thing.&amp;nbsp; We've got a couple dozen SDE views that could be SQL views when we migrate to ArcSDE 10.1 later this month.&amp;nbsp; But, how are sites handling the metadata for SQL Views and Query Layers?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jan 2014 16:55:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85475#M4913</guid>
      <dc:creator>RandyKreuziger</dc:creator>
      <dc:date>2014-01-07T16:55:34Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views and Metadata</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85476#M4914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Randy,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry for the delay in responding. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Before you upgrade the geodatabase, please export the existing metadata you have on your views to XML files.&amp;nbsp; That way, you won't lose the existing metadata information.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently, metadata for views would be done by maintaining the metadata information in separate, stand-alone XML files.&amp;nbsp; You could also look into metadata options in your database...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is probably not the news you wanted, and I apologize for that.&amp;nbsp; As mentioned, we are looking into ways to handle this in future. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;-Kim&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 22:28:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85476#M4914</guid>
      <dc:creator>KimPeter</dc:creator>
      <dc:date>2014-01-09T22:28:59Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views and Metadata</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85477#M4915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Kimberly,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your posting.&amp;nbsp; I have just raised this issue with Esri Support, since I have a user the same issue as reported by&amp;nbsp; kreuzrsk.&amp;nbsp; The analyst who dealt with the issue did say that it was possible to have access to the metadata for a spatial view, but only after creating the view using the SDE Command tools to:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Creating the view with (sdetable -o create_view), and then&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) registering the view with (sdelayer -o register).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, it seems the above will work only if the spatial type is SDEBINARY, and not if the spatial type is GEOGRAPHY or GEOMETRY.&amp;nbsp; Would you be able to confirm if this is the case?&amp;nbsp; If so, is this Esri would consider as part of whatever solution is implemented to deal with this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 14:27:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85477#M4915</guid>
      <dc:creator>MiguelParedes</dc:creator>
      <dc:date>2014-01-20T14:27:57Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views and Metadata</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85478#M4916</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I started another thread on this, unaware this one existed. The problem exists in 10.2/10.2.1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone tell me if it is not good practice to have metadata on database views and if so please explain why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We reported a bug to ESRI UK and this eventually resulted in an American ESRI support analyst logging a feature enhancement for the error message displayed to be more helpful. This isn't the solution we were looking for. Personally I'd rather the problem was fixed. As it is a feature enhancement it isn't possible to search for those online. However the bug number is: NIM098090&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The support analyst�??s comments were that it does not make much sense to create meta data for a view when one would have the metadata for the original data source.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If that is the case what is the best practice when you need to publish a subset of data, complete with its own metadata and you�??d rather not duplicate your original database tables, to avoid redundancy in your database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We are currently in the process of publishing data until our obligations to do use under the EU INSPIRE Directive. However some of our database tables cover multiple INSPIRE Themes so we need to create views of the data. Clearly the metadata has to reflect what we are publishing, rather than what the original database contains. Besides, if we publish a view, how can we publish the metadata if the view doesn't contain any?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Th other thread can be found at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/101034-Bug-NIM098090-when-creating-spaital-views-in-ArcGIS-10.2-using-ArcCatalog?p=359361&amp;amp;posted=1#post359361"&gt;http://forums.arcgis.com/threads/101034-Bug-NIM098090-when-creating-spaital-views-in-ArcGIS-10.2-using-ArcCatalog?p=359361&amp;amp;posted=1#post359361&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 14:32:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85478#M4916</guid>
      <dc:creator>TimLangner</dc:creator>
      <dc:date>2014-01-20T14:32:18Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views and Metadata</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85479#M4917</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can anyone tell me if it is not good practice to have metadata on database views and if so please explain why?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Tim,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Good you managed to dig up this thread yourself, I just looked over it...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;Of course&lt;/SPAN&gt;&lt;SPAN&gt; it is good practice to add metadata to (subsets of) your data. The things I wrote &lt;/SPAN&gt;&lt;A href="http://forums.arcgis.com/threads/101034-Bug-NIM098090-when-creating-spaital-views-in-ArcGIS-10.2-using-ArcCatalog?p=359369&amp;amp;viewfull=1#post359369"&gt;in the other thread&lt;/A&gt;&lt;SPAN&gt; are merely to explain to you that there is a technical issue here, that is not a bug, but requires a potential enhancement to allow storage of metadata with spatial database views.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The support analyst�??s comments were that it does not make much sense to create meta data for a view when one would have the metadata for the original data source&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't agree, I think you have a legit desire, but that doesn't make it a fault of ESRI or bug in the ArcGIS for Desktop application. It is a matter of choice in where to put development effort in, and if there is a need, than ESRI is likely to full fill it at some point, see Kimberly Peter's remark.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The functionality for creating database views from within ArcGIS for Desktop is relatively new, keep that in mind also. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;If that is the case what is the best practice when you need to publish a subset of data, complete with its own metadata and you�??d rather not duplicate your original database tables, to avoid redundancy in your database.&lt;BR /&gt;&lt;BR /&gt;We are currently in the process of publishing data until our obligations to do use under the EU INSPIRE Directive. However some of our database tables cover multiple INSPIRE Themes so we need to create views of the data. Clearly the metadata has to reflect what we are publishing, rather than what the original database contains. Besides, if we publish a view, how can we publish the metadata if the view doesn't contain any?[/URL]&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know if this is a real solution to your issue, but you might consider setting &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00s50000002z000000"&gt;Definition Queries&lt;/A&gt;&lt;SPAN&gt; on your layers in ArcMap that need to be published, and save them out as stand alone layer files (*.lyr) outside the ArcMap document. You can than use ArcCatalog to create metadata for this specific layer file, which will be stored as a separate XML file next to your layer file in the folder where you stored it. Additionally, you can limit the number of visible fields in the &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Setting_layer_properties/00s500000031000000/"&gt;layer properties&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2014 15:53:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85479#M4917</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2014-01-20T15:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views and Metadata</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85480#M4918</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;SPAN style="font-style:italic;"&gt;Of course&lt;/SPAN&gt; it is good practice to add metadata to (subsets of) your data. The things I wrote &lt;A href="http://forums.arcgis.com/threads/101034-Bug-NIM098090-when-creating-spaital-views-in-ArcGIS-10.2-using-ArcCatalog?p=359369&amp;amp;viewfull=1#post359369"&gt;in the other thread&lt;/A&gt; are merely to explain to you that there is a technical issue here, that is not a bug, but requires a potential enhancement to allow storage of metadata with spatial database views.&lt;BR /&gt;&lt;BR /&gt;I don't agree, I think you have a legit desire, but that doesn't make it a fault of ESRI or bug in the ArcGIS for Desktop application. It is a matter of choice in where to put development effort in, and if there is a need, than ESRI is likely to full fill it at some point, see Kimberly Peter's remark.&lt;BR /&gt;&lt;BR /&gt;The functionality for creating database views from within ArcGIS for Desktop is relatively new, keep that in mind also. &lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I guess the issue we found was that we were trying to achieve something that was possible in the past, via a different way of working. ESRI then decide they were prefer us not to use the existing way of working and stated they were going to remove it. So we switch our way of working and find we can't do what we previously were able to do. We have an ObjectID with our spatial views.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then a support analyst decides the solution is to simply provide a better error message. We need a solution to the problem rather than just a more helpful error message. To their credit, it was actually one of the ESRI UK support analysts who found this thread and forwarded the link onto us.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Tim,I don't know if this is a real solution to your issue, but you might consider setting &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00s50000002z000000"&gt;Definition Queries&lt;/A&gt; on your layers in ArcMap that need to be published, and save them out as stand alone layer files (*.lyr) outside the ArcMap document. You can than use ArcCatalog to create metadata for this specific layer file, which will be stored as a separate XML file next to your layer file in the folder where you stored it. Additionally, you can limit the number of visible fields in the &lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#/Setting_layer_properties/00s500000031000000/"&gt;layer properties&lt;/A&gt;.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That could be really helpful. I wasn't aware metadata could be created for layer files.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 07:45:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85480#M4918</guid>
      <dc:creator>TimLangner</dc:creator>
      <dc:date>2014-01-22T07:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views and Metadata</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85481#M4919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I guess the issue we found was that we were trying to achieve something &lt;STRONG&gt;that was possible in the past, &lt;SPAN style="text-decoration:underline;"&gt;via a different way of working&lt;/SPAN&gt;.&lt;/STRONG&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Very true, and the bold and underlined text is significant in this context.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I guess the issue we found was that we were trying to achieve something that was possible in the past, via a different way of working. &lt;STRONG&gt;ESRI then decide they were prefer us not to use the existing way of working and stated they were going to remove it.&lt;/STRONG&gt; So we switch our way of working and find we can't do what we previously were able to do. We have an ObjectID with our spatial views.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First of: The ArcSDE Command Line tools aren't retired &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;STRONG&gt;yet&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;. You can still use them at 10.2(.1) if you need them, but you are encouraged and adviced to look for other options by ESRI. They will, however, be retired soon, but hopefully, ESRI will come up with a solution for the specific "metadata" issue before they do (as Kimberly hinted on).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anyway, while you may feel ESRI is limiting you, ESRI actually opened up &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;&lt;STRONG&gt;a whole new world to us&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;: being able to easily create both native, and persisted, database views in an RDBMS that aren't entangled with the ArcSDE / Geodatabase repository (of course, if the database view is based on an geodatabase Feature Class, there still is some dependency), and the ability to add layers based on standard SQL via &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/main/10.2/index.html#//00s50000000n000000"&gt;Query Layers&lt;/A&gt;&lt;SPAN&gt;, all straight from the ArcGIS for Desktop user interface.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is a big bonus to the new 10.x versions of ArcGIS. Many people have wanted this functionality for a long time. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This bonus comes at a price though: &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;you are no longer working within the scope of the geodatabase&lt;/SPAN&gt;&lt;SPAN&gt;. This means several limitations, since the RDMBS database is not "geodatabase aware", even if you use layers from a geodatabase as the basis for the database views! This is because you are accessing the database not through ArcObjects classes designed for geodatabase access, which incorporate the intelligence to use the full geodatabase functionality in their code, but through other classes that deal with standard ODBC / database client connections. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The limitations are therefore (not a complete list):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- No awareness of complex datasets or geodatabase features like "Feature Datasets", "Geometric Networks", "Topologies", "Parcel Fabrics" and so on.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- No standard support for metadata on data layers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- No automatic translation of domain "codes" to human readable domain "descriptions"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- No knowledge of feature type (point, line, polygon) until dataset is accessed, because this is not registered in the ArcSDE / Geodatabase Repository, hence dataset must be selected in ArcCatalog before it shows its proper icon.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 10:49:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85481#M4919</guid>
      <dc:creator>MarcoBoeringa</dc:creator>
      <dc:date>2014-01-22T10:49:54Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views and Metadata</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85482#M4920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;&lt;BR /&gt;However, it seems the above will work only if the spatial type is SDEBINARY, and not if the spatial type is GEOGRAPHY or GEOMETRY.&amp;nbsp; Would you be able to confirm if this is the case?&amp;nbsp; If so, is this Esri would consider as part of whatever solution is implemented to deal with this issue?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Miguel,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The steps you describe are not limited to feature classes that use SDEBINARY, and should work with the SQL Server Geometry and Geography types.&amp;nbsp; Did you get an error when you ran them on a Geometry feature class?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2014 16:21:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85482#M4920</guid>
      <dc:creator>KimPeter</dc:creator>
      <dc:date>2014-01-22T16:21:42Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views and Metadata</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85483#M4921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;As an aside, Tim requested this on the Ideas page.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://ideas.arcgis.com/ideaView?id=087E000000059hjIAA"&gt;http://ideas.arcgis.com/ideaView?id=087E000000059hjIAA&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Those of you who need this functionality, please promote his idea.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jan 2014 17:53:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85483#M4921</guid>
      <dc:creator>KimPeter</dc:creator>
      <dc:date>2014-01-27T17:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views and Metadata</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85484#M4922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ESRI is moving away from the SDE command line to create views to the new "Create New View" functionality in ArcGIS Desktop, but don't consider it a bug when the replacement function loses functionality?&amp;nbsp; Not uncommon for ESRI since they did that when going from ArcInfo Workstation to ArcGIS Desktop taking around 10 years to regain automated map production.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Losing the ability to attache metadata to database views is a serious loss.&amp;nbsp; There is no way for the user to know what the base feature is or what definition queries are placed on the data.&amp;nbsp; Layer files are pointers to data (and symbolozation) but once you've added the layer to your MXD metadata in the .lyr.xml file is no longer associated with the MXD entry!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Sep 2014 00:09:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85484#M4922</guid>
      <dc:creator>RandyKreuziger</dc:creator>
      <dc:date>2014-09-03T00:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Database Views and Metadata</title>
      <link>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85485#M4923</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kim, we recently upgraded to 10.2.2 so we're still able to create SDE views.&amp;nbsp; You mentioned two years ago that the problem of metadata for views was something that ESRI planned to address before the admin commands were retired.&amp;nbsp; Has it been addressed at 10.3, or if not, at 10.4?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Dec 2015 16:21:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/database-views-and-metadata/m-p/85485#M4923</guid>
      <dc:creator>RandyKreuziger</dc:creator>
      <dc:date>2015-12-18T16:21:35Z</dc:date>
    </item>
  </channel>
</rss>

