Blog, Development, Howto

How to generate Excel Template from code

2 years ago as a part of Dynamics CRM 2016 release Microsoft introduced “Word/Excel Document Templates”. I saw examples how to generate Word template but have never seen the same example for Excel. Here is what I found after several hours spent with DB of CRM and ILSpy:

Huge limitation of this code – it can’t be ran from Sandboxed plugins/custom workflow activity so if you want to use it from Sandboxed code – you will have to look for a workaround.

Leave a Reply

Your email address will not be published. Required fields are marked *