ISO Category Folders Sample

Description:

This is an example of how to organize published metadata documents on an ArcIMS Metadata Service. The example uses the ISO metadata themes or categories to organize metadata into logical hierarchies on a ArcIMS Metadata Service. After creating the folders according to the nineteen ISO themes, the sample reads the ISO themes or keywords from the selected ISO XML element in the metadata, then creates a copy of the metadata document in the appropriate folders.

How to use:
  1. Register this sample's dll by compiling the sample or by using Regsvr32.exe.
  2. Within ArcCatalog toolbar, right click and select Customize option;
  3. Click the Commands tab, and then click Add from file... button;
  4. Navigate to the compiled ISOCategoryFolders.dll and click Open;
  5. At the Added Object window, Click OK;
  6. You can see that two buttons "Create ISO Folders" and "Copy to ISO Folders" have been added to the list of components in the Metadata Samples category;
  7. Highlight "Create ISO Folders", drag/drop it to anywhere in the toolbars;
  8. Highlight "Copy to ISO Folders", drag/drop it to anywhere in the toolbars;
  9. Close the Customize dialogbox;
  10. Within an ArcIMS Metadata Service, browse to a folder in which you want to create the "Documents by ISO Category" folder. Additionally, this folder contains folders for the nineteen ISO Categories;
  11. Click the "Create ISO Folders" button you just added onto ArcCatalog. Wait, the folders are being created on the service;
  12. Using the Contents Tab, select multiple metadata documents to be added into the ISO folders hierarchy;
  13. Click the "Copy to ISO Folders" button
  14. At the "Copy Documents to ..." dialog select the "Documents by ISO Category Folder" you just created
  15. Check the results of the sample

Application:
ArcCatalog

Difficulty: Intermediate


Visual Basic
File Description
CopyToFolders.cls Class file implementing the ICommand interface.
CreateFolders.cls Class file implementing the ICommand interface.
ISOCategories.bas Module implementing the work.
ISOCategoryFolders.vbp The project file for the ISO Category Folders sample
ISOCategoryFolders.dll The compiled project.


Key CoClasses: XmlPropertySet
Key Interfaces: IRemoteMetadata