I want to hijack the call to CoreInvoke on Adding a new document for a given SharePoint online document library so I can prompt the user for some metadata and populate the Word document with it automatically.
What's the best way to do this?
The documents library is a custom content type with a template. I have form fields in the MS Word document which should be automatically set to a handful of library columns. This is SharePoint Online.
The best thing is to not try to alter default behavior of SharePoint. It will break the user experience (different functionality on same type of action).