Metadata Quick Editor (DLL)


This sample demonstrates how to create a custom metadata editor to edit FGDC format metadata. It can also be extended to edit ISO format metadata. It implements the ICommand interface and is intended to be used within ArcCatalog. After creating a custom editor, you must register it with the ArcCatalog application.

How to use:
  1. Register the dll on your machine;
  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 QuickEditor.dll and click Open;
  5. Click OK;
  6. You can see that Metadata Quick Editor has been added to the list of components in the My Custom Controls category;
  7. Highlight Metadata Quick Editor, drag/drop it to anywhere in the toolbars;
  8. Close the Customize dialogbox;
  9. In ArcCatalog, select the objects you want to edit;
  10. Click the button you just added onto ArcCatalog;
  11. Edit properties and click Apply button within each tab;
  12. Click Validate to see the results.


Difficulty: Intermediate

Visual Basic
File Description
ButtonImage.BMP Bitmap used as icon.
cmdIcon.cls Class file implementing the ICommand interface.
frmDisplay.frm Form displaying validating results.
frmEditor.frm Form doing editing work.
frmIcon.frm Form containing your editor's icon.
gFun.bas Module implementing editing work.
gVar.bass Module defining the global variables used by the project.
QuickEditor.dll The compiled project.
QuickEditor.vbp The project file for the sample editor.

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