File Content Extraction 26.3
Filter SDK C++ Programming Guide

# get_metadata

Get document metadata (including summary information and XMP metadata) from a file, preserving the ability to access it in the original type.

DEPRECATED: The `Session::get_metadata` method is deprecated in KeyView 23.3.0 and later. OpenText recommends that you create a Document object to represent each document and use the `Document::metadata` method instead.

This method is still available for existing implementations, but it might be incompatible with new functionality and might be removed in future.

## Syntax

    template< typename InputType >
    std::multimap< std::string, Metadatum > get_metadata(InputType& input)

Copyright 1997-2026 Open Text
Version 26.3 | Last updated July 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.3

Topic Title: get_metadata