Free Support Forum - aspose.cloud

Set output format executeTemplate

Hi,

Is there any possibility of setting the output format for the executeTemplate (online) api call? By default the api is returning a word document based on the template format. What if we want a PDF as output?

I know the api can also convert the document in a separate call. But as I can read on your pricing page, this will cost 2 credits instead of 1 when directly converting to a different format. Did also saw some older topics about this but not specific for the executeTemplate Online (so without your storage in between).

Thanks.

@sanderApp

Thank you for contacting us.

Unfortunately, at present with Mail Merge APIs you cannot save an output document in any format other than docx and doc. But I have logged the request in our internal tracking software to discuss whether we can give a user an option to save Mail Merge documents in others formats (in a single API call). I will update you here once I have some information to share with you.