2017-09-02 55 views
0

我使用這個代碼:字加載項 - 打開文件作爲Office 365的新文檔的在線

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

要在Office 365中打開Word的在線,這是行不通的。我收到此錯誤:

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.

我現在用的是https://appsforoffice.microsoft.com/lib/beta/hosted/office.js 版本。

在Word Online中有沒有關於此可用性的路線圖?

回答

0

此功能是WordApi 1.4規範的一部分,尚未包含在產品中。我沒有可用的ETA。

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.

相關問題