You need to add ofn parameter in the button code to generate the documents with a custom name. Here is the syntax,
&ofn={!Opportunity.Name}
&ofn={!Account.Name}
&ofn=Test Account file.
You can add any field or string to generate the document.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article