Link to create new documents in Office Online and OneDrive – WOPIFRAME

You can create hyperlinks to the create new document functionality in office online using the following URL structure and template type parameter:



Excel: Same with TemplateType=2

Powerpoint: Same with TemplateType=3

Onenote: Same with TemplateType=4


The folder/url doesnt have to be pointed at the users onedrive. it could be any folder on any site.


Took a while finding this. Leave  a comment if you found this useful!