Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

179
Vistas
Error opening original Word document from add-in

I am trying to open an existing document (the original file) from within a Word add-in. I do not access to the original file locally, only a url. I have tried:

    var newDoc = context.application.createDocument(base64Image)
    newDoc.open()
    context.sync()

If the base64Image is a .docx file type, it will open a new document as an image (not editable), otherwise I'm getting an error: Uncaught (in promise) RichApi.Error: GeneralException. When I don't pass in an argument into createDocument(), it successfully opens a blank document.

I've placed the base64Image into the current document using insertFileFromBase64 and insertInlinePictureFromBase64, so I know the base64Image file is supported.

Any other ideas how to open an editable document?

about 4 years ago · Santiago Gelvez
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda