function XLSExtension(viewer, options) {
  Autodesk.Viewing.Extension.call(this, viewer, options);
}

XLSExtension.prototype = Object.create(Autodesk.Viewing.Extension.prototype);
XLSExtension.prototype.constructor = XLSExtension;


  function statusCallback(completed, message) {
    $.notify(message, { className: "info", position:"bottom right" });
    $('#downloadExcel').prop("disabled", !completed);
  }


XLSExtension.prototype.load = function () {
  var _viewer = this.viewer;


  // get Forge token (use your data:read endpoint here)
  // this sample is using client-side JavaScript only, so no
  // back-end that authenticate with Forge nor files, therefore
  // is using files from another sample. On your implementation,
  // you should replace this with your own Token endpoint
  function getForgeToken(callback) {
    jQuery.ajax({
      url: '/forge/oauth/token',
      success: function (oauth) {
        if (callback)
          callback(oauth.access_token, oauth.expires_in);
      }
    });
  }


  createUI = function () {
    // Button 1
    var button1 = new Autodesk.Viewing.UI.Button('toolbarXLS');
    button1.onClick = function (e) {
        ForgeXLS.downloadXLSX(documentId, fileName + ".xlsx", token, statusCallback, fileType );/*Optional*/
    };
    button1.addClass('toolbarXLSButton');
    button1.setToolTip('Export to .XLSX');
    
    // Button 2
    var button2 = new Autodesk.Viewing.UI.Button('toolbarXLS');
    button1.onClick = function (e) {
       status('just like it');
    };
    button2.addClass('toolbarXLSButton');
    button2.setToolTip(':-)');

    // SubToolbar
    this.subToolbar = new Autodesk.Viewing.UI.ControlGroup('myAppGroup1');
    this.subToolbar.addControl(button1);
    this.subToolbar.addControl(button2);
    

    _viewer.toolbar.addControl(this.subToolbar);
  };

  createUI();

  return true;
};


XLSExtension.prototype.unload = function () {
  alert('XLSExtension is now unloaded!');
  return true;
};

Autodesk.Viewing.theExtensionManager.registerExtension('Autodesk.Sample.XLSExtension', XLSExtension);

@@ -1052,16 +1052,18 @@
 tton 1%0A 
+/*
    var b
@@ -1109,32 +1109,32 @@
 ('toolbarXLS');%0A
-
     button1.onCl
@@ -1264,32 +1264,34 @@
 onal*/%0A    %7D;%0A  
+/*
   button1.addCla
@@ -1356,16 +1356,18 @@
 .XLSX');
+*/
 %0A    %0A  
@@ -1488,22 +1488,21 @@
 %0A       
-status
+alert
 ('just l
@@ -1685,19 +1685,21 @@
 oup1');%0A
-
    
+//
  this.su

Update xlsextension.js