Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

293
Visualizações
Office JS API - Get add-in version at runtime

I'm developing an Excel taskpane using the new javascript api from Microsoft, and I would like to get the "Version" property from the loaded add-in from my script.

I see that the add-in displays its version when clicking on the information button, under "Security Info", but I can't find a way in the api reference to access this information from my javascript.

Does anybody know how and if it's possible to access to the security infos programmatically?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

The version element is located in the manifest file. But OfficeJS doesn't provide any property or method for reading the manifest content. The best what you could do is to define a version variable in the code of your add-in and update it with the manifest file accordingly. Also, if you host a copy of the manifest file on any web server, you could get it like any XML file and then parse it for getting the version info.

Feature requests on Tech Community are considered, when the dev team go through the planning process. Use the github label: “Type: product feature request” at https://aka.ms/M365dev-suggestions .

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda