metadata_map

Get document metadata from a file.

This function converts all metadata values of any type are converted to UTF-8 strings. It outputs date/time values in UTC in the ISO-8601 date format YYYY-MM-DDThh:mm:ssZ. For example 2016-02-09T16:15:51Z.

DEPRECATED: The Session::metadata_map 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 Input_Type >
std::multimap<std::string, std::string> Session::metadata_map(Input_Type &input)