Use data merge field to export filename
I have created 3 different invitations with a personalized company name on it, coming from excel with data merge. And when I want to export it as .jpg, it is not possible to export : invitationVIP<<company>>.jpg
now I have a list of "numbers" which i have to browse on which company I have to send my vip voucher to, instead of using the explorer search to find the company name that I need.
Conclusion : I need a way to export JPG (and maybe PDF) files using the data merge feature.
If you need all these features you can use Colins script. If you need more features like Excel support for data merge, theres a handy tool for a small price if you're on macOS, its called mydatamerge
Colin Flashman commented
Until the InDesign engineers address this issue, I have a free script that will to this to INDD & PDF, and a paid script that will also export to images such as jpg, png, etc. It can be found at https://colecandoo.com/scripts/