Im trying to create CRM plugin which will open Word template, fill it with data and download it to the user. This all work fine, except when I need to download document to the user. I know its not possible download it throught HttpResponse, so I dont know how I will tackle this.
Do you have any suggestion??
NOTE: here Dynamic CRM Plugin download Word document is the similar problem, which didnt solve the problem ,just sayed that is not possible throught HttpRequest.Response.
The only means for plugins to "communicate" with users is an Exception (obviously, we don't want that!), my preferred approach in these cases is to create an
annotation
(a Note) attached to the record which triggered the plugin, attaching the file to it.You'd then be able to download the file via JS through OData/FetchXml.