OL Learn

Which variables are available for the Title metadata field in the Output Preset Wizard?

This one is probably very easy for experts to solve.

I need to set the Title of PDF documents dynamically using a datamapper field.
I have added the field to the Job Preset Job, Segment, set and Document levels.

But I get an error when I use the metadata field to set the PDF’s Title metadata field.

I tried metadata at several levels and still got the same error.(so the screenshot may not be accurate as one shows different metadata. It doesn’t work even if the metadata fields match)

I am not sure what I am missing from the below error message? Is there any other way to set the Title dynamically using field from the data file?


LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by ApplicationException: error evaluating expression ‘document.metadata.reqheader’ at line 1, column 3 in pattern ‘${document.metadata.reqheader}.pdf’
ApplicationException: error evaluating expression ‘document.metadata.reqheader’ at line 1, column 3 in pattern ‘${document.metadata.reqheader}.pdf’
(SRV000041)

{“error”:{“status”:500,“message”:“LoggedApplicationException: There was an error running the output creation process caused by There was an error initiating to the output creation process caused by ApplicationException: error evaluating expression ‘document.metadata.reqheader’ at line 1, column 3 in pattern ‘${document.metadata.reqheader}.pdf’\nApplicationException: error evaluating expression ‘document.metadata.reqheader’ at line 1, column 3 in pattern ‘${document.metadata.reqheader}.pdf’\n (SRV000041)”,“parameter”:""}}