Extracting Metadata

The following steps provide an overview of how to extract metadata. These steps assume that an application has previously been opened with one of the OpenApplication methods.

Tip:

For an example that illustrates these steps, see Example for Extracting Metadata.

  To extract metadata:

  1. Set an object reference to the HsvMetadataLoadACV object.

  2. Point to the application from which data is being extracted by calling HsvMetadataLoadACV.SetSession. For SetSession’s argument, pass the HsvSession object reference that was returned by HsxClient.OpenApplication or HsxClientUI.OpenApplication.

  3. Set an object reference to the IHsvLoadExtractOptions interface with the HsvMetadataLoadACV.ExtractOptions property.

  4. Optional. All dimensions are extracted by default. To exclude a dimension from being extracted, set the CurrentValue property of the IHsvLoadExtractOption interface instance for the dimension to FALSE.

  5. Optional. To override the defaults for other extract options, specify the values for these options. The available extract options are listed in Metadata Extract Options.

  6. Extract the metadata by calling HsvMetadataLoadACV.Extract. Extract takes the file names and paths of the metadata extract file and of the log file.