Giter VIP home page Giter VIP logo

Comments (6)

EUOROSA avatar EUOROSA commented on May 22, 2024

I was using Version 2005 (Build 12827.20210) and it happens to show small. So I downgraded to Version 2004 (Build 12730.20352) and the Taskpane worked, but now all the Ribbon buttons (commands) are always enabled.

image

I tried different versions and always the same results.

Please, could you fix this?

from office-add-in-samples.

jeremy-msft avatar jeremy-msft commented on May 22, 2024

Hi @EUOROSA, thanks for your feedback. It looks like you might be on an older version of Office that doesn't support this sample. Could you please try again using the latest Office Insider build?

from office-add-in-samples.

EUOROSA avatar EUOROSA commented on May 22, 2024

I'm already using Office Insider and updated to June 03, 2020
Version 2006 (Build 13001.20002). The small taskpane in the corner continues.

I'm using the Office.JS: https://appsforoffice.microsoft.com/lib/1/hosted/office.js

from office-add-in-samples.

adim1973 avatar adim1973 commented on May 22, 2024

It works fine for me (normal size taskpane, buttons toggle their state) with Excel 16.0.12827.20200 32 bit. Check the bitness of your Excel , that might me the issue.
I can test tomorrow on an Excel 64 bit, after updating it to 12827 and let you know my results.

from office-add-in-samples.

EUOROSA avatar EUOROSA commented on May 22, 2024

Thanks.
It works fine with Excel version 2005 (Build 12827.20268)(16.0.12827.20200 32 bit) by update normal monthly channel, but it caused a slight bug on the layout page. Note: this version opens with IE11 and debug using C:\WINDOWS\System32\F12\IEChooser.exe.

For Excel version 2005 (Build 12827.20268)(16.0.12827.20200 32 bit) by update Office Insider Current Channel (Preview), It doesn't work, I think because the taskpane page opens with MS Edge.

image
image

I tried with several versions, and it only worked with: version 2005 (Build 12827.20268) by update normal monthly channel

  • Version 2006 (Build 13001.20002)(Office Insider Beta Channel): not work
  • Version 2006 (Build 12930.20014)(Office Insider Beta Channel): not work
  • Version 2006 (Build 12920.20000)(Office Insider Beta Channel): not work
    - version 2005 (Build 12827.20268)(Office Insider Current Channel): not work
  • Version 2005 (Build 12827.20210): not work
  • Version 2004 (Build 12730.20352): not work
  • Version 2004 (Build 12730.20270): not work
  • Version 2004 (Build 12730.20250): not work
  • Version 2003 (Build 12624.20466): not work

======xxxx=====

I was having trouble downloading file (.xml and .zip) using the code below. The Taskpage opens with MS Edge and give me error: Not allowed to load local resource: blob:https://localhost:3000....

function saveAs(blob, filename) {
if (typeof navigator.msSaveOrOpenBlob !== 'undefined') {
navigator.msSaveOrOpenBlob(blob, filename);
} else if (typeof navigator.msSaveBlob !== 'undefined') {
navigator.msSaveBlob(blob, filename);
} else {
var elem = window.document.createElement('a');
elem.href = window.URL.createObjectURL(blob);
elem.download = filename;
//elem.style = 'display:none;opacity:0;color:transparent;';
(document.body || document.documentElement).appendChild(elem);
if (typeof elem.click === 'function') {
elem.click();
} else {
elem.target = '_blank';
elem.dispatchEvent(new MouseEvent('click', {
view: window,
bubbles: true,
cancelable: true
}));
}
URL.revokeObjectURL(elem.href);
}
}

But with the version 2005 (Build 12827.20268) opens with IE11, it solved.

from office-add-in-samples.

EUOROSA avatar EUOROSA commented on May 22, 2024

Hi,
I changed to the Office Insider Current Channel with the new Version 2005 (Build 12827.20320) (June 04, 2020) and It works fine. For the slight bug on the layout page, I fixed it in the index.css.

======xxxx=====

For file downlad (saveAs) will always work due to note 3 below, i.e. it will always open with IE11.

https://docs.microsoft.com/en-us/office/dev/add-ins/concepts/browsers-used-by-office-web-add-ins
image
image

Thanks for your help.

from office-add-in-samples.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.