Office.initialize Events


This html file must call its corresponding javascript file.
This html file must include a reference to Office.js
These functions should use the item.NotificationMessages API to communicate with the user.
These functions should call event.completed
Always include a meta element as a child element of the head element

<meta charset="UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE-Edge">
<link href="../../Content/Office.css" rel="stylesheet"

<script src=""
        type="text/javascript"> </script>

<script src="Home.js"
        type="text/javascript"> </script>
   <div class="padding">
      <button class="ms-Button"


This javascript file must call Office.Initialize.

( function () { 

   Office.initialize = function(reason) {
      $(document).ready(function() {
       // Define your event handlers
   function event_ButtonOnTaskpane(event) {
} ) ();

© 2017 Better Solutions Limited. All Rights Reserved. © 2017 Better Solutions Limited