# [prefix_]getEntryMetadata

Use this function to return field names mapping to values. `DRECONTENT` can be used as the field name when assigning into the document content. The `DREDATE` field and any fields names ending with `_DATE` are converted to a standard date format using the `getDateFormats` function.

Inputs: | xml (XmlDocument), document (Document)
Outputs: | metadata (table:{string->string} or table:{string->list:{string}})
See also: | getDateFormats

## Example

    function myPrefix_getEntryMetadata(xml, document)
       return { FieldName1="FieldValue1", FieldName2={"FieldValue2", "FieldValue3"} }
    end

© Copyright 2019 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm