Process Step Editor (DLL)

Description:

This sample demonstrates how to create a custom metadata editor and then substitute your editor for the default editor provided with ArcCatalog. The simple Process Step editor is an example of a metadata editor that records possible data quality process steps in the creation of geospatial data. Process step details are written to the FGDC Data Quality Information metadata section. This sample implements the IMetadataEditor interface and is intended to be used within ArcCatalog.

How to use:
  1. Register the dll on your machine;
  2. Run Categories.exe from %ARCHOME%\bin.
  3. Navigate to the 'Metadata Editors' folder. Select the folder and click Add Object.
  4. Navigate to the compiled QualityEditor.dll and click Open.
  5. The Add Objects dialog box appears listing "QualEditor", which is checked by default. Click OK.
  6. In the Component Categories Manager, you can see that "qualityEditor.QualEditor" has been added to the list of components in the Metadata Editors category. Click OK.
  7. In ArcCatalog, click the Tools menu and click Options. Click the Metadata tab.
  8. Click the Metadata Editor dropdown arrow, click "", then click OK.
  9. Click a shapefile or another data source in the Catalog tree. Click the Metadata tab and then click the Edit Metadata button on the Metadata toolbar. The custom editor appears in place of the Catalog's default metadata editor.

Application:
ArcCatalog

Difficulty: Intermediate


Visual Basic
File Description
simpleDialog.frm Form containing Process Step editor interface.
simpleDialog.frx Binary data file used to store binary information for the form.
globals.bas Module defining the global variables used by the project.
simpleEditor.cls Class file implementing the IMetadataEdit interface.
ProcessStep.dll The compiled project.
ProcessStepEditor.vbp The project file for the Process Step Editor.


Key CoClasses: XmlPropertySet
Key Interfaces: IPropertySet
Key Members: IPropertySet::GetProperty, IPropertySet::SetProperty