2017-09-02 1 views
0

ich diesen Code verwende:Word-Addin - Öffnen einer Datei als neues Dokument in Office 365 Online

Word.run(function (context) { 
    context.application.createDocument().open(); 
    return context.sync(); 
}) 

Wort 365 Online in Office zu öffnen, es funktioniert nicht. Ich erhalte diese Fehlermeldung:

Sorry, this function isn’t available. Perform a run-time check on the Office add-in to find out whether the feature is supported by the host.

ich die https://appsforoffice.microsoft.com/lib/beta/hosted/office.js Version verwenden.

Gibt es eine Straßenkarte für die Verfügbarkeit in Word Online?

Antwort

0

Diese Funktion ist Teil der vorgeschlagenen WordApi 1.4-Spezifikation und noch nicht im Produkt enthalten. Ich habe keine ETA für wann es verfügbar sein könnte.

Vom documentation:

Note: The features listed are still in the design and review phase and are not yet available as part of the product. The final design is subject to change. When the feature is made available, the final specification will be published as part of the master repository.

Verwandte Themen