-
Notifications
You must be signed in to change notification settings - Fork 116
Closed
Labels
Area: WordIssue related to Word add-insIssue related to Word add-insNeeds: author feedbackWaiting for author (creator) of Issue to provide more infoWaiting for author (creator) of Issue to provide more infoStatus: no recent activityIssue or PR is stale (no recent activity)Issue or PR is stale (no recent activity)Type: doc bugProblem with the documentation (e.g., doc is out of date, unclear, confusing, or broken)Problem with the documentation (e.g., doc is out of date, unclear, confusing, or broken)
Description
Hi,
I am using following code to close document from online Word.
await Word.run(async (context) => {
context.document.close();
});
But document is not getting closed. Also I checked if environment support requirement set. Office.context.requirements.isSetSupported('WordApi', 1.5) , this value is true.
So it should work. Can you please tell me if I am missing anything,
Metadata
Metadata
Assignees
Labels
Area: WordIssue related to Word add-insIssue related to Word add-insNeeds: author feedbackWaiting for author (creator) of Issue to provide more infoWaiting for author (creator) of Issue to provide more infoStatus: no recent activityIssue or PR is stale (no recent activity)Issue or PR is stale (no recent activity)Type: doc bugProblem with the documentation (e.g., doc is out of date, unclear, confusing, or broken)Problem with the documentation (e.g., doc is out of date, unclear, confusing, or broken)