get_field_names method

get_field_names()

Returns a collection of mail merge field names available in the document.

def get_field_names(self):
    ...

Remarks

Returns full merge field names including optional prefix. Does not eliminate duplicate field names.

A new string array is created on every call.

Includes “mustache” field names if MailMerge.use_non_merge_fields is True.

See Also