how to set template name Dynamically in excel expomodule

hello experts, i followed Export to Excel | Mendix Documentation to export the data in the excel file in this guide  when you call the MF Export to Excel | Mendix Documentation in which you have to retreive the template by applying Xpath query here i given the static name `MyFirstTemplate`  but if i use another name in template creation on Excel export overview page i have to change this in MF also else it is throwing an error.  how can i make it dynamically so at configuration time on Excel export overview i can give any name of template.  
1 answers

Hi Sanjay,

Dynamic Template name that is not possible.

But you can create one constant and pass the constant value in the template Name.

otherwise, if there is only one export to excel then you can use Retrive First object.