Based on the presence of specific custom properties or keywords, we aim to disable Word's default 'Save,' 'Save As,' and 'Share' options to prevent users from saving or sharing the document locally.

Mustafa Kanorwala 0 Reputation points
2025-02-10T09:39:02.47+00:00

Is it technically possible to achieve the following using Office.js in a Word add-in?

We want to add custom properties (such as document IDs and metadata) to Word documents opened via our add-in. Based on the presence of specific custom properties or keywords, we aim to disable Word's default 'Save,' 'Save As,' and 'Share' options to prevent users from saving or sharing the document locally.

Additionally, we would like to implement custom protection mechanisms through our add-in. Could you please confirm whether this functionality can be implemented and suggest best practices or limitations we should be aware of?"

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
1,043 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
4,263 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.